Hello community,

here is the log from the commit of package apache2-mod_security2 for 
openSUSE:Factory checked in at 2017-03-31 15:08:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache2-mod_security2 (Old)
 and      /work/SRC/openSUSE:Factory/.apache2-mod_security2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache2-mod_security2"

Fri Mar 31 15:08:39 2017 rev:23 rq:482450 version:2.9.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/apache2-mod_security2/apache2-mod_security2.changes  
    2015-08-05 06:50:59.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.apache2-mod_security2.new/apache2-mod_security2.changes
 2017-03-31 15:08:40.423287574 +0200
@@ -1,0 +2,5 @@
+Thu Mar 23 15:14:11 UTC 2017 - [email protected]
+
+- cleanup with spec-cleaner
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ apache2-mod_security2.spec ++++++
--- /var/tmp/diff_new_pack.vkAteb/_old  2017-03-31 15:08:41.275167136 +0200
+++ /var/tmp/diff_new_pack.vkAteb/_new  2017-03-31 15:08:41.279166571 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package apache2-mod_security2
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -117,6 +117,16 @@
 mv %{buildroot}/%{usrsharedir}/rules/modsecurity_crs_10_setup.conf.example \
   %{buildroot}/%{usrsharedir}/rules/modsecurity_crs_10_setup.conf
 
+%check
+set +x
+mkdir -p %{apache_test_module_dir}
+cp %{SOURCE2} %{apache_test_module_dir}/%{modname}-test.conf
+sed -i 's:%{_localstatedir}/log/apache2:/tmp:' 
%{apache_test_module_dir}/%{modname}-test.conf
+sed -i 's:%{_prefix}/share:%{buildroot}%{_prefix}/share:' 
%{apache_test_module_dir}/%{modname}-test.conf
+sed -i 's:%{_sysconfdir}/apache2:%{buildroot}%{_sysconfdir}/apache2:' 
%{apache_test_module_dir}/%{modname}-test.conf
+%apache_test_module_load -m security2 -i %{modname}-test.conf
+set -x
+
 %files
 %defattr(-, root, root, 0755)
 %{apache_libexecdir}/%{modname}.so





Reply via email to