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

index 957498c38e309901d56ce6d98a10deb071966608..7dde99a8088454fcb12027a3c801a7ba4718b3cf 100644 (file)
@@ -22,14 +22,11 @@ Command line client for asciinema.org service.
 %{__rm} -r %{name}.egg-info
 
 %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.14102 seconds and 4 git commands to generate.