[packages/python-cheetah] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:17:56 CET 2015
commit 1edc345f6b69c52fb1636d9f1ecb8415d918824f
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-cheetah.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-cheetah.spec b/python-cheetah.spec
index 6f0cc70..dae53c4 100644
--- a/python-cheetah.spec
+++ b/python-cheetah.spec
@@ -26,14 +26,12 @@ System szablonów dla języka Python.
%setup -q -n Cheetah-%{version}
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-cheetah.git/commitdiff/1edc345f6b69c52fb1636d9f1ecb8415d918824f
More information about the pld-cvs-commit
mailing list