Thu Jun 2 07:37:38 PDT 2005
- Previous message: [Slony1-commit] By cbbrowne: Add link to RHAT bugzilla concerning NAMELEN problem.
- Next message: [Slony1-commit] By devrim: Apply a new %docs macro and disable building of docs by
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Apply a new %docs macro and disable building of docs by default.
Modified Files:
--------------
slony1-engine:
postgresql-slony1-engine.spec.in (r1.11 -> r1.12)
-------------- 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.11
retrieving revision 1.12
diff -Lpostgresql-slony1-engine.spec.in -Lpostgresql-slony1-engine.spec.in -u -w -r1.11 -r1.12
--- postgresql-slony1-engine.spec.in
+++ postgresql-slony1-engine.spec.in
@@ -1,4 +1,5 @@
%{!?perltools:%define perltools 1}
+%{!?docs:%define docs 0}
Summary: A "master to multiple slaves" replication system with cascading and failover.
Name: @PACKAGE_NAME@
@@ -46,7 +47,10 @@
%if %perltools
--with-perltools=%{_bindir} \
%endif
- --datadir %{_datadir}/pgsql --sysconfdir=/etc --with-pglibdir=%{_libdir}/pgsql --with-docdir=/usr/share/doc
+%if %docs
+ --with-docs --with-docdir=/usr/share/doc \
+%endif
+ --datadir %{_datadir}/pgsql --sysconfdir=/etc --with-pglibdir=%{_libdir}/pgsql
make
%if %perltools
cd tools
@@ -83,7 +87,9 @@
%files
%defattr(-,root,root,-)
+%if %docs
%doc COPYRIGHT doc/adminguide doc/concept doc/howto doc/implementation doc/support
+%endif
%{_bindir}/*
%{_libdir}/pgsql/slony1_funcs.so
%{_libdir}/pgsql/xxid.so
@@ -95,6 +101,9 @@
%endif
%changelog
+* Thu Jun 02 2005 Devrim Gunduz <devrim at PostgreSQL.org> postgresql-slony1-engine
+- Apply a new %docs macro and disable building of docs by default.
+
* Mon Apr 10 2005 Devrim Gunduz <devrim at PostgreSQL.org> postgresql-slony1-engine
- More fixes on RPM builds
- Previous message: [Slony1-commit] By cbbrowne: Add link to RHAT bugzilla concerning NAMELEN problem.
- Next message: [Slony1-commit] By devrim: Apply a new %docs macro and disable building of docs by
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list