]> git.pld-linux.org Git - packages/Narval.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)
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.055928 seconds and 4 git commands to generate.