packages: postgresql/postgresql.spec - builds; see TODO

arekm arekm at pld-linux.org
Mon Sep 20 16:58:23 CEST 2010


Author: arekm                        Date: Mon Sep 20 14:58:23 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- builds; see TODO

---- Files affected:
packages/postgresql:
   postgresql.spec (1.449 -> 1.450) 

---- Diffs:

================================================================
Index: packages/postgresql/postgresql.spec
diff -u packages/postgresql/postgresql.spec:1.449 packages/postgresql/postgresql.spec:1.450
--- packages/postgresql/postgresql.spec:1.449	Mon Sep 20 16:11:35 2010
+++ packages/postgresql/postgresql.spec	Mon Sep 20 16:58:17 2010
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+# TODO:
+# - package rest of files
+# - test init script (db initialization)
+# - test generally
 #
 # Conditional build:
 %bcond_without	tests			# disable testing
@@ -861,6 +865,8 @@
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
+%{__make} -C doc/src/sgml install-man \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %if %{with perl}
 %{__make} install -C src/pl/plperl \
@@ -927,7 +933,7 @@
 foundold=0
 for pgdir in $PG_DB_CLUSTERS; do
 	if [ -f $pgdir/PG_VERSION ]; then
-		if [ $(cat $pgdir/PG_VERSION) != '8.4' ]; then
+		if [ $(cat $pgdir/PG_VERSION) != '9.0' ]; then
 			echo "Found database(s) in older, incompatible format in cluster $pgdir."
 			foundold=1
 		fi
@@ -984,7 +990,7 @@
 
 %files -f main-%{mver}.lang
 %defattr(644,root,root,755)
-%doc COPYRIGHT README HISTORY doc/{README*,bug.template}
+%doc COPYRIGHT README HISTORY doc/{README*,bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
 %attr(754,root,root) /etc/rc.d/init.d/postgresql
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
 
@@ -1034,7 +1040,7 @@
 
 %files doc
 %defattr(644,root,root,755)
-%doc doc/unpacked/* howto
+%doc doc/src/sgml/html howto
 %{_examplesdir}/%{name}-%{version}
 
 %files libs -f libpq5-%{mver}.lang
@@ -1129,24 +1135,24 @@
 %{_mandir}/man1/vacuumdb.1*
 %{_mandir}/man7/*.7*
 
-%files module-plpgsql -f plpgsql-8.4.lang
+%files module-plpgsql -f plpgsql-%{mver}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
 
 %if %{with perl}
-%files module-plperl -f plperl-8.4.lang
+%files module-plperl -f plperl-%{mver}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_pgmoduledir}/plperl.so
 %endif
 
 %if %{with python}
-%files module-plpython -f plpython-8.4.lang
+%files module-plpython -f plpython-%{mver}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_pgmoduledir}/plpython.so
 %endif
 
 %if %{with tcl}
-%files module-pltcl -f pltcl-8.4.lang
+%files module-pltcl -f pltcl-%{mver}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/pltcl_*
 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
@@ -1272,6 +1278,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.450  2010/09/20 14:58:17  arekm
+- builds; see TODO
+
 Revision 1.449  2010/09/20 14:11:35  arekm
 - fetch source; update some patches
 
================================================================

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



More information about the pld-cvs-commit mailing list