Hello community,

here is the log from the commit of package apache2-mod_wsgi for 
openSUSE:Factory checked in at 2014-11-12 00:22:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache2-mod_wsgi (Old)
 and      /work/SRC/openSUSE:Factory/.apache2-mod_wsgi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache2-mod_wsgi"

Changes:
--------
--- /work/SRC/openSUSE:Factory/apache2-mod_wsgi/apache2-mod_wsgi.changes        
2014-07-12 17:14:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.apache2-mod_wsgi.new/apache2-mod_wsgi.changes   
2014-11-12 00:22:26.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Nov  3 09:53:08 UTC 2014 - pgaj...@suse.com
+
+- call spec-cleaner
+- use apache rpm macros 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ apache2-mod_wsgi.spec ++++++
--- /var/tmp/diff_new_pack.bDjfhw/_old  2014-11-12 00:22:27.000000000 +0100
+++ /var/tmp/diff_new_pack.bDjfhw/_new  2014-11-12 00:22:27.000000000 +0100
@@ -17,55 +17,27 @@
 
 
 %define modname        mod_wsgi
-%define apache_branch  %(rpm -q --qf %%{version} apache2 | grep -E -o 
"2\\.[0-9]+")
-
-%if "%{apache_branch}" == "2.4"
-  %define bindir %{_bindir}
-%else
-  %define bindir %{_sbindir}
-%endif
-
-%if 0%{?suse_version}
-%define apxs %{bindir}/apxs2
-%else
-%define apxs %{bindir}/apxs
-%endif
-
-%define apache apache2
-%define apache_serverroot %(%{apxs} -q PREFIX)
-%define apache_includedir %(%{apxs} -q INCLUDEDIR)
-%define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
-
-%if 0%{?suse_version}
-%define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
-%else
-%define apache_sysconfdir %(%{apxs} -q PREFIX)
-%endif
-
-%define apache_localstatedir %(%{apxs} -q LOCALSTATEDIR)
-%define apache_mmn        %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && 
$MMN)
-
 Name:           apache2-mod_wsgi
+Version:        4.2.5
+Release:        0
 Summary:        Python WSGI adapter module for Apache
 License:        Apache-2.0
 Group:          Productivity/Networking/Web/Servers
-Version:        4.2.5
-Release:        0
 Url:            https://github.com/GrahamDumpleton/mod_wsgi
-#Source:        
https://github.com/GrahamDumpleton/mod_wsgi/archive/%{version}.tar.gz
+#Source:        
https://github.com/GrahamDumpleton/mod_wsgi/archive/%%{version}.tar.gz
 Source:         %{modname}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
+BuildRequires:  python-devel
 Provides:       %{modname} = %{version}-%{release}
-
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
+BuildRequires:  apache-rpm-macros
 BuildRequires:  apache2-devel
 %else
+%define apache_apxs %{bindir}/apxs
+%define apache_sysconfdir %(%{apache_apxs} -q PREFIX)
 BuildRequires:  httpd
 BuildRequires:  httpd-devel
 %endif
-BuildRequires:  python-devel
-
 %if 0%{?suse_version}
 Requires:       apache2
 %else
@@ -77,15 +49,15 @@
 host any Python application which supports the Python WSGI interface.
 
 %prep
-%setup -n %{modname}-%{version}
+%setup -q -n %{modname}-%{version}
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 %configure \
 %if 0%{?suse_version}
-    --with-apxs="%{apxs}-prefork" \
+    --with-apxs="%{apache_apxs}-prefork" \
 %else
-    --with-apxs="%{apxs}" \
+    --with-apxs="%{apache_apxs}" \
 %endif
     --with-python="python"
 make %{?_smp_mflags}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to