SPECS: postgis.spec - install *sql in contrib dir

radek radek at pld-linux.org
Thu May 15 17:06:03 CEST 2008


Author: radek                        Date: Thu May 15 15:06:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- install *sql in contrib dir

---- Files affected:
SPECS:
   postgis.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: SPECS/postgis.spec
diff -u SPECS/postgis.spec:1.39 SPECS/postgis.spec:1.40
--- SPECS/postgis.spec:1.39	Thu May 15 16:50:45 2008
+++ SPECS/postgis.spec	Thu May 15 17:05:58 2008
@@ -50,22 +50,24 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_libdir}/postgresql,%{_bindir}}
+install -d $RPM_BUILD_ROOT{%{_libdir}/postgresql,%{_bindir},%{_datadir}/postgresql/contrib}
 
 %{__make} -C loader install \
 	bindir="$RPM_BUILD_ROOT%{_bindir}" \
 	INSTALL_PROGRAM=install
 
 install lwgeom/%{name}.so $RPM_BUILD_ROOT%{_libdir}/postgresql
+install *.sql $RPM_BUILD_ROOT%{_datadir}/postgresql/contrib
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CREDITS NEWS README.postgis TODO doc/html *.sql
+%doc CREDITS NEWS README.postgis TODO doc/html
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/postgresql/%{name}.so
+%{_datadir}/postgresql/contrib/*.sql
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -73,6 +75,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2008-05-15 15:05:58  radek
+- install *sql in contrib dir
+
 Revision 1.39  2008-05-15 14:50:45  radek
 - version 1.3.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/postgis.spec?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list