[packages/python-shiny] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:43:45 CET 2015
commit 6c7577f0c7904e203fafb69b1af5b8db00c1954d
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:43 2015 +0100
automatic change: use py_build/py_install macros
python-shiny.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-shiny.spec b/python-shiny.spec
index 71dbe7a..45cee5f 100644
--- a/python-shiny.spec
+++ b/python-shiny.spec
@@ -29,13 +29,11 @@ This module really is very shiny.
%setup -q -n %{module}
%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
rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/shiny/test.py*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-shiny.git/commitdiff/6c7577f0c7904e203fafb69b1af5b8db00c1954d
More information about the pld-cvs-commit
mailing list