- Call make unbound-event-install to install unbound-event.h

This commit is contained in:
Paul Wouters 2017-03-21 22:19:44 -04:00
parent 2e01d6cda8
commit 3e1303eda9

View File

@ -21,7 +21,7 @@
Summary: Validating, recursive, and caching DNS(SEC) resolver Summary: Validating, recursive, and caching DNS(SEC) resolver
Name: unbound Name: unbound
Version: 1.6.0 Version: 1.6.0
Release: 5%{?extra_version:.%{extra_version}}%{?dist} Release: 6%{?extra_version:.%{extra_version}}%{?dist}
License: BSD License: BSD
Url: http://www.nlnetlabs.nl/unbound/ Url: http://www.nlnetlabs.nl/unbound/
Source: http://www.unbound.net/downloads/%{name}-%{version}%{?extra_version}.tar.gz Source: http://www.unbound.net/downloads/%{name}-%{version}%{?extra_version}.tar.gz
@ -209,6 +209,7 @@ pushd %{pkgname}_python2
pushd %{pkgname} pushd %{pkgname}
%endif # with_python %endif # with_python
%{__make} DESTDIR=%{buildroot} install %{__make} DESTDIR=%{buildroot} install
%{__make} DESTDIR=%{buildroot} unbound-event-install
install -m 0755 streamtcp %{buildroot}%{_sbindir}/unbound-streamtcp install -m 0755 streamtcp %{buildroot}%{_sbindir}/unbound-streamtcp
%if 0%{with_python} %if 0%{with_python}
popd popd
@ -217,6 +218,7 @@ popd
%if 0%{with_python3} %if 0%{with_python3}
pushd %{pkgname}_python3 pushd %{pkgname}_python3
%{__make} DESTDIR=%{buildroot} install %{__make} DESTDIR=%{buildroot} install
%{__make} DESTDIR=%{buildroot} unbound-event-install
install -m 0755 streamtcp %{buildroot}%{_sbindir}/unbound-streamtcp install -m 0755 streamtcp %{buildroot}%{_sbindir}/unbound-streamtcp
popd popd
%endif # with_python3 %endif # with_python3
@ -418,6 +420,7 @@ popd
%files devel %files devel
%{_libdir}/libunbound.so %{_libdir}/libunbound.so
%{_includedir}/unbound.h %{_includedir}/unbound.h
%{_includedir}/unbound-event.h
%{_mandir}/man3/* %{_mandir}/man3/*
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
@ -438,6 +441,9 @@ popd
%changelog %changelog
* Wed Mar 22 2017 Paul Wouters <pwouters@redhat.com> - 1.6.0-6
- Call make unbound-event-install to install unbound-event.h
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-5 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild