SPECS: postgresql.spec - fixed python and tcl bconds

gotar gotar at pld-linux.org
Sun May 4 19:03:10 CEST 2008


Author: gotar                        Date: Sun May  4 17:03:10 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed python and tcl bconds

---- Files affected:
SPECS:
   postgresql.spec (1.405 -> 1.406) 

---- Diffs:

================================================================
Index: SPECS/postgresql.spec
diff -u SPECS/postgresql.spec:1.405 SPECS/postgresql.spec:1.406
--- SPECS/postgresql.spec:1.405	Fri Mar 21 16:51:28 2008
+++ SPECS/postgresql.spec	Sun May  4 19:03:05 2008
@@ -834,8 +834,10 @@
 install -d howto
 tar zxf %{SOURCE2} -C howto
 
+%if %{with python}
 %py_comp $RPM_BUILD_ROOT%{py_libdir}
 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
+%endif
 
 # find locales
 for f in libpq pg_controldata pg_dump pg_resetxlog pgscripts postgres psql initdb pg_ctl pg_config; do
@@ -848,7 +850,7 @@
 # Remove Contrib documentation. We use macro %doc
 rm -rf $RPM_BUILD_ROOT/contrib
 
-mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl
+%{?with_tcl:mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl}
 
 install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
 
@@ -1163,6 +1165,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.406  2008-05-04 17:03:05  gotar
+- fixed python and tcl bconds
+
 Revision 1.405  2008-03-21 15:51:28  qboosh
 - updated pg_ctl-fix patch
 - release 1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/postgresql.spec?r1=1.405&r2=1.406&f=u



More information about the pld-cvs-commit mailing list