A tool for installing and managing Python packages
Go to file
Miro Hrončok 0fbc3afe86 Do not conditionalize Sources
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
2023-03-27 16:29:20 +02:00
.fmf Sync content with rhel-8.8.0 dist git branch 2023-03-27 16:28:54 +02:00
.gitignore Sync content with rhel-8.8.0 dist git branch 2023-03-27 16:28:54 +02:00
dummy-certifi.patch Auto sync2gitlab import of python3.11-pip-22.3.1-2.el8.src.rpm 2023-02-01 08:11:36 +00:00
gating.yaml Bring gating.yaml over from Brew dist-git 2023-03-10 11:16:39 -08:00
no-version-warning.patch Auto sync2gitlab import of python3.11-pip-22.3.1-2.el8.src.rpm 2023-02-01 08:11:36 +00:00
nowarn-pip._internal.main.patch Auto sync2gitlab import of python3.11-pip-22.3.1-2.el8.src.rpm 2023-02-01 08:11:36 +00:00
pip-allow-different-versions.patch Auto sync2gitlab import of python3.11-pip-22.3.1-2.el8.src.rpm 2023-02-01 08:11:36 +00:00
plan.fmf Sync content with rhel-8.8.0 dist git branch 2023-03-27 16:28:54 +02:00
python3.11-pip.spec Do not conditionalize Sources 2023-03-27 16:29:20 +02:00
remove-existing-dist-only-if-path-conflicts.patch Auto sync2gitlab import of python3.11-pip-22.3.1-2.el8.src.rpm 2023-02-01 08:11:36 +00:00
sources Sync content with rhel-8.8.0 dist git branch 2023-03-27 16:28:54 +02:00