SPECS: nss_pgsql.spec - add rootconfig patch

aredridel aredridel at pld-linux.org
Sat Jul 16 02:07:18 CEST 2005


Author: aredridel                    Date: Sat Jul 16 00:07:18 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add rootconfig patch

---- Files affected:
SPECS:
   nss_pgsql.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/nss_pgsql.spec
diff -u SPECS/nss_pgsql.spec:1.14 SPECS/nss_pgsql.spec:1.15
--- SPECS/nss_pgsql.spec:1.14	Wed Jul 13 19:18:00 2005
+++ SPECS/nss_pgsql.spec	Sat Jul 16 02:07:13 2005
@@ -9,6 +9,7 @@
 Group:		Base
 Source0:	http://dl.sourceforge.net/sysauth-pgsql/libnss-pgsql_%{version}.orig.tar.gz
 # Source0-md5:	8a026a909165a6c30781819af95282ad
+Patch0:	%{name}-rootconfig.patch
 URL:		http://sysauth-pgsql.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -29,6 +30,7 @@
 
 %prep
 %setup -q -n libnss-pgsql-%{version}
+%patch0 -p1
 
 sed -e 's@#include <postgresql/libpq-fe.h>@#include <libpq-fe.h>@' \
 	src/backend.c > backend.c.tmp
@@ -51,6 +53,7 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 install conf/nss-pgsql.conf $RPM_BUILD_ROOT%{_sysconfdir}
+install conf/nss-pgsql-root.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
 # useless for module
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,so}
@@ -65,7 +68,8 @@
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS conf/dbschema.sql doc/*.html doc/*.png
 %attr(755,root,root) %{_libdir}/*.so.*.*
-%attr(600,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nss-pgsql.conf
+%attr(644,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nss-pgsql.conf
+%attr(600,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/nss-pgsql-root.conf
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -73,6 +77,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2005/07/16 00:07:13  aredridel
+- add rootconfig patch
+
 Revision 1.14  2005/07/13 17:18:00  qboosh
 - unc.dl is not browsable
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nss_pgsql.spec?r1=1.14&r2=1.15&f=u




More information about the pld-cvs-commit mailing list