From 3f115e9a942afad6027a468e1c923e649edc5f57 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Jul 30 2011 01:20:09 +0000 Subject: Have the -doc subpackage depend on the base package Similar to what we are doing in the rest of the mm packages: Avoids having to install the COPYING file in the -doc subpackage and ensures -doc is removed when uninstalling the base cairo package. --- diff --git a/cairomm.spec b/cairomm.spec index 246a3d5..21f7ec2 100644 --- a/cairomm.spec +++ b/cairomm.spec @@ -42,6 +42,7 @@ Group: Documentation BuildArch: noarch %endif BuildRequires: doxygen graphviz +Requires: %{name} = %{version}-%{release} Requires: libsigc++20-doc %description doc @@ -89,13 +90,13 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %files doc %defattr(-,root,root,-) -%doc COPYING %doc %{_datadir}/doc/%{name}-%{apiver}/ %doc %{_datadir}/devhelp/books/%{name}-%{apiver}/ %changelog * Fri Jul 29 2011 Kalev Lember - 1.10.0-1 - Update to 1.10.0 +- Have the -doc subpackage depend on the base package * Mon Feb 21 2011 Haïkel Guémar - 1.9.8-2 - fix documentation location