The noarch clause for the -doc sub-package now also works for EPEL.
This commit is contained in:
parent
ae3e4eebf2
commit
62ef3a1d80
@ -44,7 +44,9 @@ programs using %{name}, you will need to install %{name}-devel.
|
|||||||
%package doc
|
%package doc
|
||||||
Summary: HTML documentation for the %{name} library
|
Summary: HTML documentation for the %{name} library
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
%{?fedora:BuildArch: noarch}
|
%if 0%{?fedora} || 0%{?rhel} > 5
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
BuildRequires: tex(latex)
|
BuildRequires: tex(latex)
|
||||||
BuildRequires: doxygen, ghostscript
|
BuildRequires: doxygen, ghostscript
|
||||||
|
|
||||||
@ -73,7 +75,7 @@ rm -f %{mydocs}/html/installdox
|
|||||||
|
|
||||||
# Remove additional documentation files (those files are already available
|
# Remove additional documentation files (those files are already available
|
||||||
# in the project top directory)
|
# 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
|
%check
|
||||||
ctest
|
ctest
|
||||||
|
Loading…
Reference in New Issue
Block a user