I know we should not use anymore make-rpms
(from nethserver-mock), but sometimes I am not quite confident with makerpms
, or I need to use make-rpms
to build SOGo
on fedora31 when I use make-rpms *.spec
, I ended with an error
Unable to detect release version (use '--releasever' to specify release version)
No matches found for the following disable plugin patterns: local, spacewalk
No match for argument: dnf
No match for argument: dnf-plugins-core
Error: Unable to find a match: dnf dnf-plugins-core
we can find some bug issues
https://bugzilla.redhat.com/show_bug.cgi?id=1802930
and a PR of remi
in short the fix is to say to mock, use YUM
drop this in /etc/mock/nethserver-7-x86_64.cfg
config_opts['package_manager'] = 'dnf'