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

index b06554498cfabe500e6ba729bdc267f89b03938e..c6074a96f42ea00981c65614ae1321506c531e60 100644 (file)
@@ -68,15 +68,11 @@ Ten pakiet zawiera wiązania Pythona 3.x do biblioteki libvirt.
 %setup -q -n %{origname}-%{version}
 
 %build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build \
+%py_build \
        --build-base build-2
 
 %if %{with python3}
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python3} setup.py build \
+%py3_build \
        --build-base build-3
 %endif
 
This page took 0.072901 seconds and 4 git commands to generate.