From 5065b9cd1aec17b0540c8295fdec60f17bdd0330 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 8 Nov 2017 10:07:07 +0100 Subject: [PATCH] use %make_build/%make_install Signed-off-by: Igor Gnatenko --- dbus-python.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dbus-python.spec b/dbus-python.spec index cc23b87..54fa790 100644 --- a/dbus-python.spec +++ b/dbus-python.spec @@ -66,18 +66,18 @@ autoreconf -vif mkdir python2-build; pushd python2-build %configure PYTHON=python -make %{?_smp_mflags} +%make_build popd mkdir python3-build; pushd python3-build %configure PYTHON=python3 -make %{?_smp_mflags} +%make_build popd %install -make install DESTDIR=$RPM_BUILD_ROOT -C python3-build -make install DESTDIR=$RPM_BUILD_ROOT -C python2-build +%make_install -C python2-build +%make_install -C python3-build # unpackaged files rm -fv $RPM_BUILD_ROOT%{python2_sitearch}/*.la