-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spec-cleaner puts %patch0 instead of %patch -P 0 => breaks with RPM 4.20 #319
Comments
this should suffice. Unfortunately I don't understand a single word of the "contribution guidelines" in the Readme, so I don't dare creating a proper pullrequest. |
danigm
added a commit
to danigm/spec-cleaner
that referenced
this issue
Feb 27, 2024
The usage of %patchN is not supported by RPM >= 4.20. The preferred way to apply patches are, in order: * %autosetup -p1 * %autosetup -N / %autopatch -p1 * %setup / %patch -P <N> -p 1 This patch changes the usage of "%patchN" with the new format "%patch -P N" Thanks to Stefan Seyfried (@seife) for the initial patch. Fix rpm-software-management#319
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
spec-cleaner/spec_cleaner/rpmprep.py
Line 72 in 2ff2cb6
That code is the wrong way around: %patch0 will fail to build with RPM 4.20; this needs to be %patch -P 0
The text was updated successfully, but these errors were encountered: