Hello community,

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

Package is "apache2-mod_fcgid"

Changes:
--------
--- /work/SRC/openSUSE:Factory/apache2-mod_fcgid/apache2-mod_fcgid.changes      
2013-11-07 08:33:57.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.apache2-mod_fcgid.new/apache2-mod_fcgid.changes 
2014-11-12 00:22:38.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Oct 31 09:32:42 UTC 2014 - pgaj...@suse.com
+
+- call spec-cleaner
+- use apache rpm macros
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ apache2-mod_fcgid.spec ++++++
--- /var/tmp/diff_new_pack.4tGonh/_old  2014-11-12 00:22:39.000000000 +0100
+++ /var/tmp/diff_new_pack.4tGonh/_new  2014-11-12 00:22:39.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package apache2-mod_fcgid
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,33 +17,25 @@
 
 
 Name:           apache2-mod_fcgid
-%define apache_branch     %(rpm -q --qf %%{version} apache2 | grep -E -o 
"2\\.[0-9]+")
-%if "%{apache_branch}" == "2.4"
-  %define apxs %{_bindir}/apxs2
-%else
-  %define apxs %{_sbindir}/apxs2
-%endif
-%define        apache_libexecdir       %(%{apxs} -q LIBEXECDIR)
-%define        apache_sysconfdir       %(%{apxs} -q SYSCONFDIR)
-%define apache_mmn        %(MMN=$(%{apxs} -q LIBEXECDIR)_MMN; test -x $MMN && 
$MMN)
 #
 Version:        2.3.9
 Release:        0
 #
+Summary:        Alternative FastCGI module for Apache2
+License:        GPL-2.0+
+Group:          Productivity/Networking/Web/Servers
 #
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Url:            http://httpd.apache.org/mod_fcgid/
+Source:         
http://mirror.synyx.de/apache/httpd/mod_fcgid/mod_fcgid-%{version}.tar.bz2
+Source1:        apache2-mod_fcgid.conf
+Patch0:         mod_fcgid-2.3.5_suse_paths.patch
+BuildRequires:  apache-rpm-macros
 BuildRequires:  apache2-devel
 Requires:       %{apache_mmn}
 Requires:       apache2
 #
-Url:            http://httpd.apache.org/mod_fcgid/
-Source:         
http://mirror.synyx.de/apache/httpd/mod_fcgid/mod_fcgid-%{version}.tar.bz2
-Source1:        apache2-mod_fcgid.conf
-Patch:          mod_fcgid-2.3.5_suse_paths.patch
 #
-Summary:        Alternative FastCGI module for Apache2
-License:        GPL-2.0+
-Group:          Productivity/Networking/Web/Servers
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 A binary compatibile alternative to the Apache
@@ -57,21 +49,21 @@
 To load the module into Apache, run the command "a2enmod fcgid" as
 root.
 
-See /etc/apache2/conf.d/mod_fcgid.conf and
-/usr/share/doc/packages/apache2-mod_fcgid for configuration.
+See %{_sysconfdir}/apache2/conf.d/mod_fcgid.conf and
+%{_docdir}/apache2-mod_fcgid for configuration.
 
 %prep
-%setup -n mod_fcgid-%{version}
-%patch
+%setup -q -n mod_fcgid-%{version}
+%patch0
 
 %build
-APXS="%{apxs}-prefork" ./configure.apxs
+APXS="%{apache_apxs}-prefork" ./configure.apxs
 make %{?_smp_mflags}
 
 %install
-%makeinstall
-%{__install} -D -m 0644 %{S:1}              
%{buildroot}%{apache_sysconfdir}/conf.d/mod_fcgid.conf
-%{__install} -d -m 0755 %{buildroot}/var/lib/apache2/fcgid/
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+install -D -m 0644 %{SOURCE1}              
%{buildroot}%{apache_sysconfdir}/conf.d/mod_fcgid.conf
+install -d -m 0755 %{buildroot}%{_localstatedir}/lib/apache2/fcgid/
 
 %files
 %defattr(-,root,root)
@@ -81,6 +73,6 @@
 %dir %{_datadir}/apache2/manual/
 %dir %{_datadir}/apache2/manual/mod/
 %{_datadir}/apache2/manual/mod/mod_fcgid*
-%attr(750,wwwrun,www) /var/lib/apache2/fcgid/
+%attr(750,wwwrun,www) %{_localstatedir}/lib/apache2/fcgid/
 
 %changelog

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

Reply via email to