Trying to build an rpm package, I receive an error:
. Error: [Errno 2] No such file or directory: ‘xt_ndpi-kmod-2.8.1-1.16.g9370ad4.ns7.src.rpm\r’
Pay attention to the trailing “\r”. I think that the problem appeared after I upgraded to Fedora 31.
I have:
mock-1.4.21-1.fc31.noarch
nethserver-mock-1.6.0-1.ns7.noarch
To workaround the problem @giacomo suggested this change:
I did not fin a new rpms for nethserver-mock, the last one was created in september, obviously the bug is not patched. you have to install the version from nethserver-testing
I found when I tried to install the update of nethserver-makrpms a file conflict
Erreur : Transaction test error:
le fichier /usr/bin/issue-refs de l'installation de nethserver-makerpms-1.1.0-1.ns7.noarch entre en conflit avec le fichier du paquet nethserver-mock-1.6.0-1.ns7.noarch
same with the rpm nethserver-mock from testing
Erreur : Transaction test error:
le fichier /usr/bin/issue-refs de l'installation de nethserver-makerpms-1.1.0-1.ns7.noarch entre en conflit avec le fichier du paquet nethserver-mock-1.6.0-1.4.gd532ee6.ns7.noarch
The mock based one is still the best if you install on NethServer 7 itself. As you’re installing on Fedora 31 give a try to nethserver-makerpms from the testing repo: it already fixes some python3 compatibility issues
I need both installed, when I upload rpms to my repo I want to change the dist to ns7.sdl, furthermore I have time to time a bug with makerpms when I use it for development, after some builds it doesn’t fetch the last commit to build the rpm…and I break my head on the keyboard why it doesn’t work
I saw that also release-tag of nethserver-mock fails due to issue-refs in fedora31 (missing python3 shebang probably), I needed to take the version of nethserver-makerpms to release nethserver-sogo