diff options
author | Michal Minar <miminar@redhat.com> | 2013-10-15 13:54:24 +0200 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2013-10-15 15:31:26 +0200 |
commit | e6a098f3a6f6666a534139e9686dd082094d664a (patch) | |
tree | 11ece9bbab6bdd3afade096a60221bc69c8cb482 /openlmi-providers.spec | |
parent | a17da2550fe786708656a2aa9fd172f84ff6d06d (diff) | |
download | openlmi-providers-e6a098f3a6f6666a534139e9686dd082094d664a.tar.gz openlmi-providers-e6a098f3a6f6666a534139e9686dd082094d664a.tar.xz openlmi-providers-e6a098f3a6f6666a534139e9686dd082094d664a.zip |
spec: removed duplicit documentation from subpackages
%doc macro with just file names listed in the main packages causes whole
doc directory to be included. That caused the presence of
OpenLMI Account documentation both in openlmi-providers and
openlmi-account-doc packages.
Diffstat (limited to 'openlmi-providers.spec')
-rw-r--r-- | openlmi-providers.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openlmi-providers.spec b/openlmi-providers.spec index 8b45b91..2d58acd 100644 --- a/openlmi-providers.spec +++ b/openlmi-providers.spec @@ -329,6 +329,7 @@ touch $RPM_BUILD_ROOT/%{_localstatedir}/lib/%{name}/stamp # documentation install -m 755 -d $RPM_BUILD_ROOT/%{_docdir}/%{name}/account/admin_guide +cp README COPYING $RPM_BUILD_ROOT/%{_docdir}/%{name} cp -pr src/account/doc/build/html/* $RPM_BUILD_ROOT/%{_docdir}/%{name}/account/admin_guide install -m 755 -d $RPM_BUILD_ROOT/%{_docdir}/%{name}/software/admin_guide cp -pr src/software/doc/admin/_build/html/* $RPM_BUILD_ROOT/%{_docdir}/%{name}/software/admin_guide @@ -339,7 +340,8 @@ cp -pr tools/openlmitheme/* $RPM_BUILD_ROOT/%{python_sitelib}/sphinx/themes/open %files -%doc README COPYING +%doc %{_docdir}/%{name}/README +%doc %{_docdir}/%{name}/COPYING %dir %{_datadir}/%{name} %config(noreplace) %{_sysconfdir}/openlmi/openlmi.conf %{_datadir}/%{name}/05_LMI_Qualifiers.mof |