]> git.pld-linux.org Git - packages/almir.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)
almir.spec

index aea72413bd02ef7e2390e997c364f2ce78bb4a93..1cf015be05b8a5685d015cf5bfaabd179aa3428b 100644 (file)
@@ -38,14 +38,11 @@ never simple.
 %setup -q
 
 %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
 
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/almir/tests
 
This page took 0.088253 seconds and 4 git commands to generate.