CVS User Account cvsuser
Tue Oct 18 16:05:23 PDT 2005
Log Message:
-----------

Created a new package : -docs and moved all the docs there.

Modified Files:
--------------
    slony1-engine:
        postgresql-slony1-engine.spec.in (r1.23 -> r1.24)

-------------- next part --------------
Index: postgresql-slony1-engine.spec.in
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/postgresql-slony1-engine.spec.in,v
retrieving revision 1.23
retrieving revision 1.24
diff -Lpostgresql-slony1-engine.spec.in -Lpostgresql-slony1-engine.spec.in -u -w -r1.23 -r1.24
--- postgresql-slony1-engine.spec.in
+++ postgresql-slony1-engine.spec.in
@@ -1,5 +1,5 @@
 %{!?perltools:%define perltools 1}
-%{!?docs:%define docs 0}
+%{!?docs:%define docs 1}
 %define pg_version   %(rpm -q --queryformat '%{VERSION}' postgresql-devel)
 
 Summary:	A "master to multiple slaves" replication system with cascading and failover.
@@ -34,6 +34,16 @@
 sites, where the normal mode of operation is that all nodes 
 are available
 
+%if %docs
+%package docs
+Summary: Documentation for Slony-I
+Group: Applications/Databases
+Prereq: @PACKAGE_NAME at -@PACKAGE_VERSION@
+
+%description docs
+The @PACKAGE_NAME at -docs package includes some documentation for Slony-I.
+%endif
+
 %prep
 %setup -q -n @PACKAGE_NAME at -%{version}
 
@@ -94,9 +104,6 @@
 
 %files
 %defattr(-,root,root,-)
-%if %docs
-%doc COPYRIGHT UPGRADING HISTORY-1.1 INSTALL SAMPLE doc/adminguide  doc/concept  doc/howto  doc/implementation  doc/support
-%endif
 %{_bindir}/*
 %{_libdir}/pgsql/slony1_funcs.so
 %{_libdir}/pgsql/xxid.so
@@ -107,8 +114,17 @@
 %{_sysconfdir}/slon_tools.conf
 %endif
 
+%if %docs
+%files docs
+%defattr(-,root,root)
+%doc COPYRIGHT UPGRADING HISTORY-1.1 INSTALL SAMPLE doc/adminguide  doc/concept  doc/howto  doc/implementation  doc/support
+%endif
+
 %changelog
 * Tue Oct 18 2005 Devrim Gunduz <devrim at PostgreSQL.org> postgresql-slony1-engine
+- Created a new package : -docs and moved all the docs there.
+
+* Tue Oct 18 2005 Devrim Gunduz <devrim at PostgreSQL.org> postgresql-slony1-engine
 - Fixed the problem in http://gborg.postgresql.org/pipermail/slony1-general/2005-October/003105.html
 
 * Sat Oct 01 2005 Devrim Gunduz <devrim at PostgreSQL.org> postgresql-slony1-engine


More information about the Slony1-commit mailing list