only call install once doing both actions
This commit is contained in:
parent
3e1303eda9
commit
1d0203d0e6
@ -208,8 +208,7 @@ pushd %{pkgname}_python2
|
|||||||
%else
|
%else
|
||||||
pushd %{pkgname}
|
pushd %{pkgname}
|
||||||
%endif # with_python
|
%endif # with_python
|
||||||
%{__make} DESTDIR=%{buildroot} install
|
%{__make} DESTDIR=%{buildroot} unbound-event-install 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,8 +216,7 @@ popd
|
|||||||
|
|
||||||
%if 0%{with_python3}
|
%if 0%{with_python3}
|
||||||
pushd %{pkgname}_python3
|
pushd %{pkgname}_python3
|
||||||
%{__make} DESTDIR=%{buildroot} install
|
%{__make} DESTDIR=%{buildroot} unbound-event-install 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
|
||||||
|
Loading…
Reference in New Issue
Block a user