From 1d0203d0e6a0d181a8b27ade625d0ef3fc275b80 Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Wed, 22 Mar 2017 12:39:38 -0400 Subject: [PATCH] only call install once doing both actions --- unbound.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/unbound.spec b/unbound.spec index 956147e..c76da4d 100644 --- a/unbound.spec +++ b/unbound.spec @@ -208,8 +208,7 @@ pushd %{pkgname}_python2 %else pushd %{pkgname} %endif # with_python -%{__make} DESTDIR=%{buildroot} install -%{__make} DESTDIR=%{buildroot} unbound-event-install +%{__make} DESTDIR=%{buildroot} unbound-event-install install install -m 0755 streamtcp %{buildroot}%{_sbindir}/unbound-streamtcp %if 0%{with_python} popd @@ -217,8 +216,7 @@ popd %if 0%{with_python3} pushd %{pkgname}_python3 -%{__make} DESTDIR=%{buildroot} install -%{__make} DESTDIR=%{buildroot} unbound-event-install +%{__make} DESTDIR=%{buildroot} unbound-event-install install install -m 0755 streamtcp %{buildroot}%{_sbindir}/unbound-streamtcp popd %endif # with_python3