From 5e7e61948e723e5ed2251d67eb0b9579220192d4 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 19 Mar 2013 12:19:48 +0100 Subject: [PATCH] RPM: simplify make install rule --- yazpp.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yazpp.spec b/yazpp.spec index d78b489..cd813fc 100644 --- a/yazpp.spec +++ b/yazpp.spec @@ -45,8 +45,7 @@ make CFLAGS="$RPM_OPT_FLAGS" %install rm -fr ${RPM_BUILD_ROOT} -make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \ - libdir=${RPM_BUILD_ROOT}/%{_libdir} install +make install DESTDIR=${RPM_BUILD_ROOT} rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la %clean -- 1.7.10.4