Bug 1216669 - [SELinux] Fix deprecated %patchN syntax in our packages
Summary: [SELinux] Fix deprecated %patchN syntax in our packages
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Security (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Cathy Hu
QA Contact: Security Team bot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-27 16:32 UTC by Filippo Bonazzi
Modified: 2023-11-27 14:11 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
List of impacted packages in Factory (23.37 KB, text/plain)
2023-10-27 16:32 UTC, Filippo Bonazzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filippo Bonazzi 2023-10-27 16:32:42 UTC
Created attachment 870493 [details]
List of impacted packages in Factory

The deprecated RPM %patchN syntax is expected to turn into a hard error sometime next year in RPM 4.20. We should fix our packaging before then.

See https://github.com/rpm-software-management/rpm/issues/2209

From a cursory search in security:SELinux I found the following packages to be impacted:
- mcstrans
- policycoreutils
- restorecond

Attached what I think is the full list of impacted packages in Factory.
Comment 1 Cathy Hu 2023-11-27 10:40:21 UTC
I submitted, please have a look to make sure i did not misunderstood, then i will accept the requests:

mcstrans: https://build.opensuse.org/request/show/1129098
policycoreutils: https://build.opensuse.org/request/show/1129099
restorecond: https://build.opensuse.org/request/show/1129100
Comment 2 Filippo Bonazzi 2023-11-27 10:53:28 UTC
Looks good to me, I agree using -P<N> is probably the best option. Thanks for picking this up
Comment 3 Cathy Hu 2023-11-27 14:11:36 UTC
thanks, closing done