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

index 64b6cdd5c37be70a343ed502997e334f8a3e0530..bdf7925846a4ee5f9e387710fa0e920654a41b68 100644 (file)
@@ -39,20 +39,19 @@ been executed but was not.
 %setup -q -n %{module}-%{version}
 
 %build
-export CFLAGS="%{rpmcflags}"
-%{__python} setup.py build --build-base py2
-%{__python3} setup.py build --build-base py3
+%py_build --build-base py2
+%py3_build --build-base py3
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py build \
+%py_build \
     --build-base py2 \
     install \
     --root=$RPM_BUILD_ROOT \
     --optimize=2
 
-%{__python3} setup.py build \
+%py3_build \
     --build-base py3 \
     install \
     --root=$RPM_BUILD_ROOT \
This page took 0.029049 seconds and 4 git commands to generate.