[cairomm/f16] Have the -doc subpackage depend on the base package
Kalev Lember
kalev at fedoraproject.org
Sat Jul 30 01:21:49 UTC 2011
commit 3f115e9a942afad6027a468e1c923e649edc5f57
Author: Kalev Lember <kalevlember at gmail.com>
Date: Fri Jul 29 04:48:38 2011 +0300
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.
cairomm.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
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 <kalevlember at gmail.com> - 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 <hguemar at fedoraproject.org> - 1.9.8-2
- fix documentation location
More information about the scm-commits
mailing list