See https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_do_not_conditionalize_sources
Specific reason:
centpkg sources/rhpkg sources does not set the %rhel macro
when parsing the spec to determine what sources it wants to skip.
Hence would always skip downloading the rhel-8-conditionalized source
unless it runs on a RHEL 8 system. See:
[python3.11-pip (c8s)]$ centpkg sources
Not downloading unused pip-22.3.1-man.tar.gz
Downloading pip-22.3.1.tar.gz
######################################################################## 100.0%
This has been reported to centpkg in https://git.centos.org/centos/centpkg/issue/71
but it might not be trivial to fix, because rpkg does not currently need to have
a valid branch/--release to download sources at all.
Considering this is forbidden in the Fedora guidelines and problematic on the Zuul CI
https://issues.redhat.com/browse/CS-1501
we better remove the conditional. It has no value in a RHEL-8 specific spec file anyway.
---
This fix is not specifically related to the issue mentioned bellow,
but it was added when working on it
and the check-gitbz pipeline requires this note:
Related: RHEL-231