[packages/python-esky] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:22:41 CET 2015
commit d2acaf0b404e99f451076041c9677f19d804dad8
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-esky.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-esky.spec b/python-esky.spec
index 10600e2..f025ce0 100644
--- a/python-esky.spec
+++ b/python-esky.spec
@@ -30,15 +30,12 @@ cxfreeze and bbfreeze.
%setup -q -n esky-%{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_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-esky.git/commitdiff/d2acaf0b404e99f451076041c9677f19d804dad8
More information about the pld-cvs-commit
mailing list