Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
741df0971d
commit
66b41c854a
16
unbound.spec
16
unbound.spec
@ -36,7 +36,7 @@
|
|||||||
Summary: Validating, recursive, and caching DNS(SEC) resolver
|
Summary: Validating, recursive, and caching DNS(SEC) resolver
|
||||||
Name: unbound
|
Name: unbound
|
||||||
Version: 1.10.1
|
Version: 1.10.1
|
||||||
Release: 2%{?extra_version:.%{extra_version}}%{?dist}
|
Release: 3%{?extra_version:.%{extra_version}}%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://nlnetlabs.nl/projects/unbound/
|
Url: https://nlnetlabs.nl/projects/unbound/
|
||||||
Source: https://nlnetlabs.nl/downloads/%{name}/%{name}-%{version}%{?extra_version}.tar.gz
|
Source: https://nlnetlabs.nl/downloads/%{name}/%{name}-%{version}%{?extra_version}.tar.gz
|
||||||
@ -217,8 +217,8 @@ pushd %{dir_primary}
|
|||||||
%endif
|
%endif
|
||||||
%{configure_args}
|
%{configure_args}
|
||||||
|
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
%{__make} %{?_smp_mflags} streamtcp
|
%make_build streamtcp
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@ -234,7 +234,7 @@ pushd %{dir_secondary}
|
|||||||
%endif
|
%endif
|
||||||
%{configure_args}
|
%{configure_args}
|
||||||
|
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -245,12 +245,12 @@ install -p -m 0644 %{SOURCE16} .
|
|||||||
%if 0%{?python_secondary:1}
|
%if 0%{?python_secondary:1}
|
||||||
# install first secondary build. It will be overwritten by primary
|
# install first secondary build. It will be overwritten by primary
|
||||||
pushd %{dir_secondary}
|
pushd %{dir_secondary}
|
||||||
%{__make} DESTDIR=%{buildroot} unbound-event-install install
|
%make_install unbound-event-install
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
pushd %{dir_primary}
|
pushd %{dir_primary}
|
||||||
%{__make} DESTDIR=%{buildroot} unbound-event-install install
|
%make_install unbound-event-install
|
||||||
install -m 0755 streamtcp %{buildroot}%{_sbindir}/unbound-streamtcp
|
install -m 0755 streamtcp %{buildroot}%{_sbindir}/unbound-streamtcp
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@ -448,6 +448,10 @@ popd
|
|||||||
%attr(0644,root,root) %config %{_sysconfdir}/%{name}/root.key
|
%attr(0644,root,root) %config %{_sysconfdir}/%{name}/root.key
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 1.10.1-3
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1.10.1-2
|
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1.10.1-2
|
||||||
- Rebuilt for Python 3.9
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user