From 15f88a7269c07eb59527ef44f7fe818ba5af741c Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sat, 28 Nov 2015 18:06:42 +0100 Subject: [PATCH] automatic change: use py_build/py_install macros --- python-PyKCS11.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/python-PyKCS11.spec b/python-PyKCS11.spec index ec47100..506c9c6 100644 --- a/python-PyKCS11.spec +++ b/python-PyKCS11.spec @@ -23,14 +23,12 @@ compile. %setup -qn %{rname}-%{version} %build -python setup.py build +%py_build %install rm -rf $RPM_BUILD_ROOT -python setup.py install \ - --root=$RPM_BUILD_ROOT \ - --optimize=2 +%py_install %py_postclean -- 2.44.0