don't build doxygen documentation during modular build
This commit is contained in:
parent
44dc6d181e
commit
65677b2dae
@ -6,7 +6,7 @@
|
||||
|
||||
Name: libevent
|
||||
Version: 2.0.22
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Abstract asynchronous event notification library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -14,7 +14,10 @@ License: BSD
|
||||
URL: http://libevent.org/
|
||||
Source0: https://github.com/libevent/libevent/releases/download/release-%{version}-stable/libevent-%{version}-stable.tar.gz
|
||||
|
||||
BuildRequires: doxygen openssl-devel
|
||||
%if ! 0%{?_module_build}
|
||||
BuildRequires: doxygen
|
||||
%endif
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
# Disable network tests
|
||||
Patch01: libevent-nonettests.patch
|
||||
@ -56,8 +59,10 @@ This package contains the development documentation for %{name}.
|
||||
--disable-dependency-tracking --disable-static
|
||||
make %{?_smp_mflags} all
|
||||
|
||||
%if ! 0%{?_module_build}
|
||||
# Create the docs
|
||||
make doxygen
|
||||
%endif
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
@ -78,9 +83,11 @@ cat > $RPM_BUILD_ROOT%{_includedir}/event2/event-config.h << EOF
|
||||
#endif
|
||||
EOF
|
||||
|
||||
%if ! 0%{?_module_build}
|
||||
mkdir -p $RPM_BUILD_ROOT/%{develdocdir}/html
|
||||
(cd doxygen/html; \
|
||||
install -p -m 644 *.* $RPM_BUILD_ROOT/%{develdocdir}/html)
|
||||
%endif
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/%{develdocdir}/sample
|
||||
(cd sample; \
|
||||
@ -124,6 +131,9 @@ make check
|
||||
%{develdocdir}/
|
||||
|
||||
%changelog
|
||||
* Wed Apr 12 2017 Nils Philippsen <nils@redhat.com> - 2.0.22-4
|
||||
- don't build doxygen documentation during modular build
|
||||
|
||||
* Mon Mar 27 2017 Tomáš Mráz <tmraz@redhat.com> - 2.0.22-3
|
||||
- Make it build with OpenSSL-1.1.0, cherry-picked from upstream git
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user