rpms/mod_auth_pgsql/devel mod_auth_pgsql.spec,1.33,1.34

paragn paragn at fedoraproject.org
Fri Aug 7 09:01:46 UTC 2009


Author: paragn

Update of /cvs/pkgs/rpms/mod_auth_pgsql/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21746

Modified Files:
	mod_auth_pgsql.spec 
Log Message:
* Fri Aug 07 2009 Parag <paragn at fedoraproject.org> 2.0.3-10
- Spec cleanup as suggested in review bug #226153




Index: mod_auth_pgsql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mod_auth_pgsql/devel/mod_auth_pgsql.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -p -r1.33 -r1.34
--- mod_auth_pgsql.spec	25 Jul 2009 14:43:13 -0000	1.33
+++ mod_auth_pgsql.spec	7 Aug 2009 09:01:46 -0000	1.34
@@ -3,7 +3,7 @@
 Summary: Basic authentication for the Apache HTTP Server using a PostgreSQL database
 Name: mod_auth_pgsql
 Version: 2.0.3
-Release: 9
+Release: 10%{?dist}
 Group: System Environment/Daemons
 URL: http://www.giuseppetanzilli.it/mod_auth_pgsql2/
 Source: http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/mod_auth_pgsql-%{version}.tar.gz
@@ -27,13 +27,13 @@ database.
 %{_sbindir}/apxs -Wc,-Wformat-security -c %{name}.c -lpq
 
 %install
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{_libdir}/httpd/modules
 install -m755 .libs/%{name}.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules
 
 # Install the config file
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
-install -m 644 $RPM_SOURCE_DIR/auth_pgsql.conf \
+install -p -m 644 %{SOURCE1} \
    $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/
 
 # Extract the licensing conditions
@@ -44,16 +44,19 @@ mkdir -p $RPM_BUILD_ROOT%{contentdir}/ma
 cp *.html $RPM_BUILD_ROOT%{contentdir}/manual/mod
 
 %clean
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc README INSTALL LICENSE
 %{contentdir}/manual/mod/*.html
 %{_libdir}/httpd/modules/*.so
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/*.conf
 
 %changelog
+* Fri Aug 07 2009 Parag <paragn at fedoraproject.org> 2.0.3-10
+- Spec cleanup as suggested in review bug #226153
+
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.3-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list