Hello,

can you tell me how to build the RPM for python2-rhnpush for the server or any 
other system that has Python 2 and Python 3 installed (Fedora and RHEL7+)? As 
far as I understand from the source, it is actually not possible to build the 
package on Fedora/later RHEL versions (Python 2 is always built, Python 3 is 
always built on Fedora/latest RHEL).

Python 2 requires "python2-rhn-client-tools" and Python 3 requires 
"python3-rhn-client-tools". Both packages require their own version of mutually 
exclusive "python?-dmidecode" versions. So an "dnf install" for these packages 
will fail with the message:

"file /usr/share/python-dmidecode/pymap.xml from install of 
python3-dmidecode-3.12.2-15.el8.x86_64 conflicts with file from package 
python2-dmidecode-3.12.2-11.el8.x86_64"

How did you manage to build python2-rhnpush on the latest Fedora? On my branch, 
I now added a "--with server" option to only build Python2 for that.

Best wishes,

Stefan


_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to