[packages/python-iso8601] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:26:58 CET 2015
commit 80ae9675346faf9c167c651779ab2d7dfed815b1
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-iso8601.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-iso8601.spec b/python-iso8601.spec
index e0469e6..13604d1 100644
--- a/python-iso8601.spec
+++ b/python-iso8601.spec
@@ -26,14 +26,11 @@ This module parses the most common forms of ISO 8601 date strings
%setup -qn %{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-iso8601.git/commitdiff/80ae9675346faf9c167c651779ab2d7dfed815b1
More information about the pld-cvs-commit
mailing list