Bug 1954999
| Summary: | RPM 4.17 regression: Convenient public macro %apply_patch removed without warning | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 35 | CC: | igor.raits, mjw, mkolman, packaging-team-maint, pmatilai, pmoravco, python-maint, vmukhame, vondruch |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-06-22 11:44:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Miro Hrončok
2021-04-29 08:56:28 UTC
Ah, you actually mentioned it here, sorry :) As a compromise, I think %autosetup could define %apply_patch. That way, one can only use it with an appropriate setting. This is my proposal how to solve this: https://github.com/rpm-software-management/rpm/pull/1668 Temporary workaround in Python spec file: https://src.fedoraproject.org/rpms/python3.9/pull-request/60 This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle. Changing version to 35. There are no plans to revert %apply_patch removal. It's been already worked around in packages and alternative, supported ways added upstream. All Fedora versions have RPM 4.17+ now. So %autopatch witch positional arguments can now be used everywhere on Fedora. |