1
0

Accepting request 1178493 from Apache:Modules

- %autopatch instead of %patchN
- modified patches
  % apache2-mod_security2-no_rpath.diff (refreshed)

- Fix patch application syntax: Use %patch -P N instead of
  deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1178493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_security2?expand=0&rev=31
This commit is contained in:
Ana Guerrero 2024-06-05 15:39:46 +00:00 committed by Git OBS Bridge
commit f10c880c82
3 changed files with 20 additions and 11 deletions

View File

@ -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.

View File

@ -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 <dimstar@opensuse.org>
- Fix patch application syntax: Use %patch -P N instead of
deprecated %patchN.
-------------------------------------------------------------------
Tue May 7 13:16:44 UTC 2024 - pgajdos@suse.com

View File

@ -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