automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
ftpcube.spec

index b947ebc..455e581 100644 (file)
@@ -48,13 +48,12 @@ FTP napisanego w Pythonie. Tak więc, voila FtpCube.
 %build
 # Extracting program icon from .py
 %{__python} -c "import libftpcube.icons.ftpcube as icon; print icon.getData()" > %{name}.png
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
-%{__python} setup.py install \
-       --optimize=2 \
+%py_install \
        --prefix=%{_prefix} \
        --install-scripts=%{_bindir} \
        --root=$RPM_BUILD_ROOT
This page took 0.057655 seconds and 4 git commands to generate.