Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Michal Ambroz
716b50f9de do not build html doc for epel6 2019-10-12 16:42:36 +02:00
Michal Ambroz
a982446e66 do not build html docs for el6 because of sphinx failing 2019-10-12 16:40:47 +02:00

View file

@ -81,12 +81,14 @@ binary patterns. Each description, a.k.a rule, consists of a set of strings
and a Boolean expression which determine its logic.
%if ! ( 0%{?rhel} && 0%{?rhel} <= 6 )
%package doc
Summary: Documentation for %{name}
BuildArch: noarch
%description doc
This package contains documentation for %{name}.
%endif
%package devel
@ -132,10 +134,12 @@ autoreconf --force --install
--htmldir=%{_datadir}/doc/%{name}/html
make %{?_smp_mflags}
%if ! ( 0%{?rhel} && 0%{?rhel} <= 6 )
# build the HTML documentation
pushd docs
make html
popd
%endif
%install
@ -168,10 +172,11 @@ rm -f %{buildroot}%{_datadir}/doc/%{name}/html/.buildinfo
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%if ! ( 0%{?rhel} && 0%{?rhel} <= 6 )
%files doc
%license COPYING
%doc docs/_build/html
%endif
%changelog