Bug 1411732 - python3: conditional include of rewheel patch
python3: conditional include of rewheel patch
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: python3 (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Charalampos Stratakis
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-10 06:58 EST by Felix Schwarz
Modified: 2017-01-10 16:56 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-01-10 16:18:58 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Felix Schwarz 2017-01-10 06:58:13 EST
python3.spec contains:
...
%if 0%{with_rewheel}
Patch189: 00189-add-rewheel-module.patch
%endif
...

The packaging guideline says:
"Packages MUST NOT have SourceN: or PatchN: tags which are conditionalized on architecture."
(https://fedoraproject.org/wiki/Packaging:Guidelines#Conditionalizing_Builds_for_Architecture)

Technically the current spec might not violate the guidelines (the guideline only refers to architecture-specific conditionals) but it seems wrong to me to exclude patches from the SRPM. Also it was pretty annoying for me when I rebuilt Python3 locally.

Please always include the patch file (it won't be used if "with_rewheel" is 0 but at least one could use the same RPM to rebuild). If it helps I can provide a patch (though I guess you don't need help for such a trivial change).
Comment 1 Charalampos Stratakis 2017-01-10 16:18:58 EST
I pushed a commit to address that for python and python3 on all branches.
Comment 2 Felix Schwarz 2017-01-10 16:56:05 EST
Great - thank you :-)

Note You need to log in before you can comment on or make changes to this bug.