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

index af39789742902877b685272d169fec80bf7ebfe8..13504d7eae472129cf27faf8fc6c5562f249dd73 100644 (file)
@@ -30,15 +30,13 @@ http://www.jwz.org/doc/threading.html .
 %setup -q -n %{module}-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
 
-python setup.py install \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" -exec rm {} \;
 
This page took 0.072461 seconds and 4 git commands to generate.