[packages/empy] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:26:28 CET 2015
commit 66d5cd8a9ab93d56b331c863bf65fb089834eab7
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
empy.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/empy.spec b/empy.spec
index 6da65d8..6183c39 100644
--- a/empy.spec
+++ b/empy.spec
@@ -26,15 +26,13 @@ System wbudowywania wyrażeń języka Python w pliki tekstowe.
%setup -q
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}}
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
cat > $RPM_BUILD_ROOT%{_bindir}/em.py <<"EOF"
#!/usr/bin/python
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/empy.git/commitdiff/66d5cd8a9ab93d56b331c863bf65fb089834eab7
More information about the pld-cvs-commit
mailing list