Hi guys.
I'm trying to rpm rebuild Python with python3.9.spec from
default repos.
I've done only a few re/builds in my time and this is new to
me - I've sroogled but have failed to get better grip of
what's (not)happing here.
...
2 re-run tests:
test_mmap test_os
Total duration: 3 min 40 sec
Tests result: FAILURE then FAILURE
error: Bad exit status from /var/tmp/rpm-tmp.QX5emT (%check)
RPM build errors:
line 495: It's not recommended to have unversioned
Obsoletes: Obsoletes: python3.9
Bad exit status from /var/tmp/rpm-tmp.QX5emT (%check)
Finish: rpmbuild python3.9-3.9.23-2.el9.src.rpm
Finish: build phase for python3.9-3.9.23-2.el9.src.rpm
ERROR:
Exception(/00-REPOs/dnf.repo/repo/el9/x86_64/packages/python3.9-3.9.23-2.el9.src.rpm)
Config(centos-stream+epel-9-x86_64) 12 minutes 9 seconds
INFO: Results and/or logs in:
/00-REPOs/dnf.repo/repo/el9/x86_64/packages
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot
Finish: clean chroot
ERROR: Command failed:
Would this be .spec file or something not good with build evn?
btw. Is there a doc perhaps, explaining "Obsoletes" with
regards to rpm build?
many thanks, L.