I have recently tried to use the scriplet specified in this page of docs and came across issue which I feel could be documented.
I have tried to work on change in nodejs which would turn node_modules from a symlink to directory, but copying the scriplet from the documentation I still encountered conflicts upon attempting dnf upgrade.
Eventually I came across some python packages that have previously used this scriplet that also added the -n option to the scriplet header, to specify the package name and with this added to my change, the upgrade was successful.
It seems without it, the scriplet was never invoked by dnf upgrade. Based on my testing I believe that this is because nodejs specfile produces multiple rpms, that need to be installed simultaneously, in which case rpm doesn't know for which package should the scriplet be invoked.
Recent email exchange on fedora-devel (Strange rpm conflicts) - leads me to believe I am not the only one who dealt with this issue, as attempted usage of the scriplet (https://bugzilla.redhat.com/show_bug.cgi?id=2384303) had the same shortcoming as my first attempts and adding the -n option fixed it.
If there is anything about the way I wrote the note/or my placement of it, you don't like, please tell me and I will adjust it.
Hi,
I have recently tried to use the scriplet specified in this page of docs and came across issue which I feel could be documented.
I have tried to work on change in nodejs which would turn
node_modulesfrom a symlink to directory, but copying the scriplet from the documentation I still encountered conflicts upon attemptingdnf upgrade.Eventually I came across some python packages that have previously used this scriplet that also added the
-noption to the scriplet header, to specify the package name and with this added to my change, the upgrade was successful.It seems without it, the scriplet was never invoked by
dnf upgrade. Based on my testing I believe that this is because nodejs specfile produces multiple rpms, that need to be installed simultaneously, in which case rpm doesn't know for which package should the scriplet be invoked.Recent email exchange on fedora-devel (Strange rpm conflicts) - leads me to believe I am not the only one who dealt with this issue, as attempted usage of the scriplet (https://bugzilla.redhat.com/show_bug.cgi?id=2384303) had the same shortcoming as my first attempts and adding the
-noption fixed it.If there is anything about the way I wrote the note/or my placement of it, you don't like, please tell me and I will adjust it.