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.
This commit is contained in:
parent
3ab7f887f3
commit
3f115e9a94
@ -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@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@fedoraproject.org> - 1.9.8-2
|
||||
- fix documentation location
|
||||
|
Loading…
Reference in New Issue
Block a user