]> git.pld-linux.org Git - packages/PySolFC.git/commitdiff
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)
PySolFC.spec

index 64705986fd666b41696a0fa98bbd5d3dde8fad37..d7a9048a3e2a2bb00d2705d235aea6409cfc82d9 100644 (file)
@@ -36,14 +36,12 @@ plug-ins, an integrated HTML help browser, and lots of documentation.
 %patch0 -p0
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_desktopdir}
-%{__python} setup.py install \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
This page took 0.134794 seconds and 4 git commands to generate.