From efdeee5d66c4e7c962bc8601deda5ff364fe3de1 Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sat, 28 Nov 2015 18:06:43 +0100 Subject: [PATCH] automatic change: use py_build/py_install macros --- python-medusa.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/python-medusa.spec b/python-medusa.spec index e36b1c1..49b2e2f 100644 --- a/python-medusa.spec +++ b/python-medusa.spec @@ -34,14 +34,11 @@ jednego procesu/wątku. %setup -q -n %{module}-%{version} %build -%{__python} setup.py build +%py_build %install rm -rf $RPM_BUILD_ROOT -%{__python} setup.py install \ - --skip-build \ - --optimize=2 \ - --root=$RPM_BUILD_ROOT +%py_install %py_postclean -- 2.44.0