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