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

index ee47033b751a5443dbf3c17a0d433b1e87caeb09..a8d0752d3355977eedeb7a5bae2e792771a6076a 100644 (file)
@@ -72,12 +72,12 @@ appdirs to moduł pomagający wybrać właściwy katalog dla:
 
 %build
 %if %{with python2}
-%{__python} setup.py build \
+%py_build \
        --build-base build-2 %{?with_tests:test}
 %endif
 
 %if %{with python3}
-%{__python3} setup.py build \
+%py3_build \
        --build-base build-3 %{?with_tests:test}
 %endif
 
@@ -85,7 +85,7 @@ appdirs to moduł pomagający wybrać właściwy katalog dla:
 rm -rf $RPM_BUILD_ROOT
 
 %if %{with python2}
-%{__python} setup.py build \
+%py_build \
                --build-base build-2 \
        install \
                --skip-build \
@@ -96,7 +96,7 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with python3}
-%{__python3} setup.py build \
+%py3_build \
                --build-base build-3 \
        install \
                --skip-build \
This page took 0.082181 seconds and 4 git commands to generate.