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

index 693d971fdf02a5b70fcec108a3e23ff3ad5926a1..5d072659755667552a254623126d5355a1a8efe5 100644 (file)
@@ -59,16 +59,12 @@ Ten pakiet zawiera moduĊ‚ Pythona 3.
 
 %build
 %if %{with python2}
 
 %build
 %if %{with python2}
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build \
+%py_build \
        --build-base build-2
 %endif
 
 %if %{with python3}
        --build-base build-2
 %endif
 
 %if %{with python3}
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python3} setup.py build \
+%py3_build \
        --build-base build-3
 %endif
 
        --build-base build-3
 %endif
 
@@ -76,7 +72,7 @@ CFLAGS="%{rpmcflags}" \
 rm -rf $RPM_BUILD_ROOT
 
 %if %{with python2}
 rm -rf $RPM_BUILD_ROOT
 
 %if %{with python2}
-%{__python} setup.py build \
+%py_build \
                --build-base build-2 \
        install \
                --skip-build \
                --build-base build-2 \
        install \
                --skip-build \
@@ -87,7 +83,7 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with python3}
 %endif
 
 %if %{with python3}
-%{__python3} setup.py build \
+%py3_build \
                --build-base build-3 \
        install \
                --skip-build \
                --build-base build-3 \
        install \
                --skip-build \
This page took 0.088122 seconds and 4 git commands to generate.