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

index f93a93a395b4c3ec8fc92e419a29edfa6fe88b66..50db0c6daf1846b818bfabc831fcd9a195e0f4db 100644 (file)
@@ -32,13 +32,11 @@ Python standard library):
 %{__sed} -i -e 's/^use_setuptools()/#use_setuptools()/' setup.py
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-       --optimize=2 \
-       --skip-build \
+%py_install \
        --root $RPM_BUILD_ROOT
 
 %py_postclean
This page took 0.128779 seconds and 4 git commands to generate.