The noarch clause for the -doc sub-package now also works for EPEL.

This commit is contained in:
Denis Arnaud 2015-06-14 15:00:54 +02:00
parent ae3e4eebf2
commit 62ef3a1d80
1 changed files with 4 additions and 2 deletions

View File

@ -44,7 +44,9 @@ programs using %{name}, you will need to install %{name}-devel.
%package doc
Summary: HTML documentation for the %{name} library
Group: Documentation
%{?fedora:BuildArch: noarch}
%if 0%{?fedora} || 0%{?rhel} > 5
BuildArch: noarch
%endif
BuildRequires: tex(latex)
BuildRequires: doxygen, ghostscript
@ -73,7 +75,7 @@ rm -f %{mydocs}/html/installdox
# Remove additional documentation files (those files are already available
# in the project top directory)
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{NEWS,README,AUTHORS}
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README,AUTHORS}
%check
ctest