packages: postgresql/postgresql.spec - fixed lang files generation

baggins baggins at pld-linux.org
Thu Jul 2 17:32:40 CEST 2009


Author: baggins                      Date: Thu Jul  2 15:32:40 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed lang files generation

---- Files affected:
packages/postgresql:
   postgresql.spec (1.426 -> 1.427) 

---- Diffs:

================================================================
Index: packages/postgresql/postgresql.spec
diff -u packages/postgresql/postgresql.spec:1.426 packages/postgresql/postgresql.spec:1.427
--- packages/postgresql/postgresql.spec:1.426	Thu Jul  2 17:29:11 2009
+++ packages/postgresql/postgresql.spec	Thu Jul  2 17:32:35 2009
@@ -865,7 +865,10 @@
 # Remove Contrib documentation. We use macro %doc
 rm -rf $RPM_BUILD_ROOT/contrib
 
-%{?with_tcl:mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl}
+%if %{with tcl}
+%find_lang pltcl-%{mver}
+mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl
+%endif
 
 install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
 
@@ -985,7 +988,7 @@
 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
 %dir %{_pgmoduledir}
 
-%files ecpg -f ecpg.lang
+%files ecpg -f ecpg-%{mver}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/ecpg
 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
@@ -1182,6 +1185,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.427  2009/07/02 15:32:35  baggins
+- fixed lang files generation
+
 Revision 1.426  2009/07/02 15:29:11  baggins
 - fixed beta stuff removal
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/postgresql/postgresql.spec?r1=1.426&r2=1.427&f=u



More information about the pld-cvs-commit mailing list