From ef0e783cb1193669ff9f4aae1c6ab1d03605f97b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Oct 26 2017 10:04:01 +0000 Subject: packaging: use %py2_build/%py2_install macro Signed-off-by: Igor Gnatenko --- diff --git a/files/pagure.spec b/files/pagure.spec index 8edbf22..37f4c07 100644 --- a/files/pagure.spec +++ b/files/pagure.spec @@ -188,11 +188,11 @@ in the future pull-requests) git repo. %build -%{__python2} setup.py build +%py2_build %install -%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +%py2_install # Install apache configuration file mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d/