[packages/python-MyghtyUtils] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:09:56 CET 2015
commit 376514068d8c95d6968ff73a41f4cce7dff95dd5
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-MyghtyUtils.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-MyghtyUtils.git/commitdiff/376514068d8c95d6968ff73a41f4cce7dff95dd5
More information about the pld-cvs-commit
mailing list