commit a3f4add06a9e43145b0eb712b26618ebd7c82f25
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-TinyUrl.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-TinyUrl.spec b/python-TinyUrl.spec
index b5ee125..0f2c099 100644
--- a/python-TinyUrl.spec
+++ b/python-TinyUrl.spec
@@ -23,14 +23,11 @@ Super tiny library and command-line interface to 
tinyurl.com.
 %setup -q -n %{module}-%{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_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-TinyUrl.git/commitdiff/a3f4add06a9e43145b0eb712b26618ebd7c82f25

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to