[libxml++] Require base package from -doc subpackage

Kalev Lember kalev at fedoraproject.org
Wed Jun 15 14:18:48 UTC 2011


commit e5395182f0d8aca9eb43b52e97b13f05d0518465
Author: Kalev Lember <kalev at smartlink.ee>
Date:   Tue Jun 14 19:41:52 2011 +0300

    Require base package from -doc subpackage
    
    ... similar to other mm packages, so that we don't need to have a
    duplicate COPYING file in the -doc subpackage and can instead rely on
    the base package's COPYING file.

 libxml++.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libxml++.spec b/libxml++.spec
index 0a599c5..b93d476 100644
--- a/libxml++.spec
+++ b/libxml++.spec
@@ -36,6 +36,7 @@ Summary:        Documentation for %{name}, includes full API docs
 Group:          Documentation
 BuildArch:      noarch
 BuildRequires:  doxygen, graphviz
+Requires:       %{name} = %{version}-%{release}
 Requires:       glibmm24-doc
 
 %description    doc
@@ -87,7 +88,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files doc
 %defattr(-, root, root, -)
-%doc COPYING
 %doc %{_datadir}/devhelp/books/%{name}-%{api_ver}
 %doc %{_docdir}/%{name}-%{api_ver}
 
@@ -96,6 +96,7 @@ rm -rf $RPM_BUILD_ROOT
 * Tue Jun 14 2011 Kalev Lember <kalev at smartlink.ee> - 2.34.1-1
 - Update to 2.34.1
 - Dropped upstreamed patches
+- Require base package from -doc subpackage
 
 * Fri Jun 10 2011 Karsten Hopp <karsten at redhat.com> 2.33.2-2
 - buildrequire mm-common for doc-install.pl


More information about the scm-commits mailing list