packages: db4.7/db4.7.spec - sanitize docs, move -devel docs dir there; fix...

glen glen at pld-linux.org
Sat Jul 25 10:45:32 CEST 2009


Author: glen                         Date: Sat Jul 25 08:45:32 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- sanitize docs, move -devel docs dir there; fixes poldek dirdeps problems on upgrades; rel 5

---- Files affected:
packages/db4.7:
   db4.7.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: packages/db4.7/db4.7.spec
diff -u packages/db4.7/db4.7.spec:1.21 packages/db4.7/db4.7.spec:1.22
--- packages/db4.7/db4.7.spec:1.21	Wed Jul 22 20:33:27 2009
+++ packages/db4.7/db4.7.spec	Sat Jul 25 10:45:26 2009
@@ -20,7 +20,7 @@
 Summary(pl.UTF-8):	Biblioteka C do obsługi baz Berkeley DB
 Name:		db4.7
 Version:	%{ver}.%{patchlevel}
-Release:	4
+Release:	5
 Epoch:		0
 License:	GPL-like (see LICENSE)
 Group:		Libraries
@@ -375,6 +375,9 @@
 cp -rf examples_java/* $RPM_BUILD_ROOT%{_examplesdir}/db-java-%{version}
 %endif
 
+# in %doc
+rm -f $RPM_BUILD_ROOT%{_docdir}/db-%{version}-docs/{index.html,license/license_db.html}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -389,11 +392,8 @@
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE README
+%doc LICENSE README docs/index.html docs/license
 %attr(755,root,root) /%{_lib}/libdb-%{libver}.so
-%dir %{_docdir}/db-%{version}-docs
-%{_docdir}/db-%{version}-docs/index.html
-%{_docdir}/db-%{version}-docs/license
 
 %files devel
 %defattr(644,root,root,755)
@@ -407,6 +407,7 @@
 %{_libdir}/libndbm.la
 %{_includedir}/db.h
 %{_includedir}/db_185.h
+%dir %{_docdir}/db-%{version}-docs
 %{_docdir}/db-%{version}-docs/api_c
 %{_docdir}/db-%{version}-docs/articles
 %dir %{_docdir}/db-%{version}-docs/gsg
@@ -416,6 +417,7 @@
 %dir %{_docdir}/db-%{version}-docs/gsg_db_rep
 %{_docdir}/db-%{version}-docs/gsg_db_rep/C
 %{_docdir}/db-%{version}-docs/images
+%{_docdir}/db-%{version}-docs/porting
 %{_docdir}/db-%{version}-docs/ref
 %{_examplesdir}/db-%{version}
 
@@ -507,6 +509,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2009/07/25 08:45:26  glen
+- sanitize docs, move -devel docs dir there; fixes poldek dirdeps problems on upgrades; rel 5
+
 Revision 1.21  2009/07/22 18:33:27  glen
 - rel 4 not patchlevel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/db4.7/db4.7.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list