From: Jacek Konieczny Date: Sat, 28 Nov 2015 17:06:42 +0000 (+0100) Subject: automatic change: use py_build/py_install macros X-Git-Tag: auto/th/python-MyghtyUtils-0.52-3~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=376514068d8c95d6968ff73a41f4cce7dff95dd5;p=packages%2Fpython-MyghtyUtils.git automatic change: use py_build/py_install macros --- diff --git a/python-MyghtyUtils.spec b/python-MyghtyUtils.spec index 3e08674..95fc622 100644 --- a/python-MyghtyUtils.spec +++ b/python-MyghtyUtils.spec @@ -60,14 +60,12 @@ mod_pythona, powinno się to zmienić na coś bardziej ogólnego. %setup -qn %{fname}-%{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