summaryrefslogtreecommitdiff
path: root/Narval.spec
diff options
context:
space:
mode:
authorJacek Konieczny2015-11-28 18:20:07 (GMT)
committerJacek Konieczny2015-11-28 18:20:07 (GMT)
commit08e45dc4a71511f92a835527e3be1175af8f790a (patch)
tree30a267a3fbb377a97e2d19c0280f4d05378f2947 /Narval.spec
parent2322c431ae7706c5ef28edbe74cdedac38f4b909 (diff)
downloadNarval-08e45dc4a71511f92a835527e3be1175af8f790a.zip
Narval-08e45dc4a71511f92a835527e3be1175af8f790a.tar.gz
automatic change: use py_build/py_install macros
Diffstat (limited to 'Narval.spec')
-rw-r--r--Narval.spec5
1 files changed, 2 insertions, 3 deletions
diff --git a/Narval.spec b/Narval.spec
index 5ed006a..59bb3f0 100644
--- a/Narval.spec
+++ b/Narval.spec
@@ -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