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

index 1816d6e781b492f60e5528066ad791b0e348c350..9b426db052397006d66400882191a13db91e2628 100644 (file)
@@ -37,13 +37,13 @@ narzÄ™dzi pythonowych do WWW.
 %setup -q -n %{module}-%{snap}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_bindir}}
 
-python ./setup.py install \
+%py_install \
        --single-version-externally-managed \
        --optimize 2 \
        --root=$RPM_BUILD_ROOT
This page took 0.08507 seconds and 4 git commands to generate.