From 08e45dc4a71511f92a835527e3be1175af8f790a Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sat, 28 Nov 2015 19:20:07 +0100 Subject: [PATCH 1/1] automatic change: use py_build/py_install macros --- Narval.spec | 5 ++--- 1 file 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 -- 2.44.0