Hello!
Need some help/assistance on RPM-package building for CentOS 8/Stream.
Currently I have RPM of python-pcapy-ng module, built via OBS service: https://build.opensuse.org/package/show ... n-pcapy-ng
Deal is that CentOS 7 is OK to build for, instead of Centos 8/Stream. Diagnosis: unresolvable: nothing provides python.
As far as I remember python means python 2, but there's no python in spec file, python3 only: https://build.opensuse.org/package/view ... py-ng.spec
Would be pretty thankful, if someone can give a hint what is wrong and how to workaround this problem.
Thanks!
RPM building for CentOS 8 and Stream
RPM building for CentOS 8 and Stream
- Attachments
-
- centos8.png (32.84 KiB) Viewed 520 times
Re: RPM building for CentOS 8 and Stream
I can't tell you how to fix this but I suspect I know what the problem is. RHEL 8 has several copies of python available and the one that used to be the 'system' python no longer exists. I would find a similar package that comes from say EPEL and look at how their spec file does this for clues.
You should probably also look at moving away from building for CentOS 8 entirely as it no longer exists - it went EOL nearly 6 months ago at the end of 2021 and, for CentOS 8, there is only Stream now. If you want to build for a clone of RHEL 8 then you should probably build for either Rocky or Alma Linux, both of which are clones of RHEL 8 in the same way that CentOS 8 once was.
You should probably also look at moving away from building for CentOS 8 entirely as it no longer exists - it went EOL nearly 6 months ago at the end of 2021 and, for CentOS 8, there is only Stream now. If you want to build for a clone of RHEL 8 then you should probably build for either Rocky or Alma Linux, both of which are clones of RHEL 8 in the same way that CentOS 8 once was.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: RPM building for CentOS 8 and Stream
Hello!
Unfortunately, OBS has CentOS 7/8/Stream only for packaging. So, having deal with what is on.
"I would find a similar package that comes from say EPEL and look at how their spec file does this for clues." <-- thanks!
Unfortunately, OBS has CentOS 7/8/Stream only for packaging. So, having deal with what is on.
"I would find a similar package that comes from say EPEL and look at how their spec file does this for clues." <-- thanks!