diff --git a/apache2-mod_security2-no_rpath.diff b/apache2-mod_security2-no_rpath.diff index 4ed88ff..513366d 100644 --- a/apache2-mod_security2-no_rpath.diff +++ b/apache2-mod_security2-no_rpath.diff @@ -1,7 +1,7 @@ Index: apache2/Makefile.am =================================================================== ---- apache2/Makefile.am.orig -+++ apache2/Makefile.am +--- a/apache2/Makefile.am.orig ++++ b/apache2/Makefile.am @@ -118,7 +118,7 @@ mod_security2_la_LDFLAGS = -module -avoi endif @@ -13,8 +13,8 @@ Index: apache2/Makefile.am @APXS_LDFLAGS@ \ Index: apache2/Makefile.in =================================================================== ---- apache2/Makefile.in.orig -+++ apache2/Makefile.in +--- a/apache2/Makefile.in.orig ++++ b/apache2/Makefile.in @@ -691,7 +691,7 @@ libinjection/mod_security2_la-libinjecti libinjection/$(DEPDIR)/$(am__dirstamp) @@ -26,8 +26,8 @@ Index: apache2/Makefile.in -rm -f *.$(OBJEXT) Index: build/libtool.m4 =================================================================== ---- build/libtool.m4.orig -+++ build/libtool.m4 +--- a/build/libtool.m4.orig ++++ b/build/libtool.m4 @@ -5053,7 +5053,7 @@ dnl Note also adjust exclude_expsyms for # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. diff --git a/apache2-mod_security2.changes b/apache2-mod_security2.changes index 92bb3cf..84a127a 100644 --- a/apache2-mod_security2.changes +++ b/apache2-mod_security2.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Jun 4 12:14:51 UTC 2024 - pgajdos@suse.com + +- %autopatch instead of %patchN +- modified patches + % apache2-mod_security2-no_rpath.diff (refreshed) + +------------------------------------------------------------------- +Tue Jun 4 11:03:29 UTC 2024 - Dominique Leuenberger + +- Fix patch application syntax: Use %patch -P N instead of + deprecated %patchN. + ------------------------------------------------------------------- Tue May 7 13:16:44 UTC 2024 - pgajdos@suse.com diff --git a/apache2-mod_security2.spec b/apache2-mod_security2.spec index e81f78a..aabd703 100644 --- a/apache2-mod_security2.spec +++ b/apache2-mod_security2.spec @@ -66,11 +66,7 @@ applications from known and unknown attacks. %setup -q -n %{tarballname} %setup -q -D -T -a 1 -n %{tarballname} mv -v SpiderLabs* rules -%patch -P 0 -%patch -P 1 -p1 -%patch -P 2 -p1 -%patch -P 3 -p1 -%patch4 -p1 +%autopatch -p1 %build aclocal