[packages/python-TinyUrl] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:12:54 CET 2015
commit a3f4add06a9e43145b0eb712b26618ebd7c82f25
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-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
More information about the pld-cvs-commit
mailing list