From 14bb5365cb71177d0f089be7531810e32a1ac193 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 25 Jul 2009 08:45:26 +0000 Subject: [PATCH] - sanitize docs, move -devel docs dir there; fixes poldek dirdeps problems on upgrades; rel 5 Changed files: db4.7.spec -> 1.22 --- db4.7.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/db4.7.spec b/db4.7.spec index 87dfb92..afb286c 100644 --- a/db4.7.spec +++ b/db4.7.spec @@ -19,7 +19,7 @@ Summary: Berkeley DB database library for C 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 @@ -374,6 +374,9 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/db-java-%{version} 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 @@ -388,11 +391,8 @@ rm -rf $RPM_BUILD_ROOT %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) @@ -406,6 +406,7 @@ rm -rf $RPM_BUILD_ROOT %{_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 @@ -415,6 +416,7 @@ rm -rf $RPM_BUILD_ROOT %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} -- 2.43.0