]> git.pld-linux.org Git - packages/Narval.git/blobdiff - Narval.spec
automatic change: use py_build/py_install macros
[packages/Narval.git] / Narval.spec
index 5ed006a5b8cac86b0b0893642aa4c8168a7cd629..59bb3f09fca1396f0d417c3f1204139bafb16e96 100644 (file)
@@ -48,14 +48,13 @@ informacji.
 #/%patch -p1
 
 %build
-CFLAGS="%{rpmcflags}" python setup.py build
+CFLAGS="%{rpmcflags}" %py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_datadir}/narval/apps,%{_desktopdir},%{py_sitedir}/narval/}
 
-python setup.py install \
-       --root=$RPM_BUILD_ROOT \
+%py_install \
        --record=INSTALLED_FILES
 
 # these files seem missing after installation, so install them here
This page took 0.028481 seconds and 4 git commands to generate.