From c97d3a264565ea5d5aec1ffd58ea8510b9e45df6ccb8e51e9d193875919917bc Mon Sep 17 00:00:00 2001 From: Hu Date: Mon, 27 Nov 2023 12:07:14 +0000 Subject: [PATCH] Accepting request 1129100 from home:cahu:branches:security:SELinux - Change deprecated `%patch1 -p1` syntax to supported `%patch -P1 -p1` (bsc#1216669) OBS-URL: https://build.opensuse.org/request/show/1129100 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/restorecond?expand=0&rev=29 --- restorecond.changes | 6 ++++++ restorecond.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/restorecond.changes b/restorecond.changes index 4abab34..74006a2 100644 --- a/restorecond.changes +++ b/restorecond.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 27 10:34:58 UTC 2023 - Hu + +- Change deprecated `%patch1 -p1` syntax to supported `%patch -P1 -p1` + (bsc#1216669) + ------------------------------------------------------------------- Fri Feb 24 07:56:23 UTC 2023 - Johannes Segitz diff --git a/restorecond.spec b/restorecond.spec index dd794ec..fba379e 100644 --- a/restorecond.spec +++ b/restorecond.spec @@ -38,7 +38,7 @@ Daemon that watches for file creation and then sets the default SELinux file con %prep %setup -q -%patch0 -p1 +%patch -P0 -p1 %build export CFLAGS="%optflags"