]> git.pld-linux.org Git - packages/python-iso8601.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:42 +0000 (18:06 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:42 +0000 (18:06 +0100)
python-iso8601.spec

index e0469e6c4417db40b277dccc8cd23138b66b75bc..13604d1e9a84427ed3d5c81561342d5d6b220dac 100644 (file)
@@ -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
 
This page took 0.061919 seconds and 4 git commands to generate.