From 6a1e51ab0313c7008e257e6c3644146d60f571ec Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 12 Mar 2013 13:37:13 +0000 Subject: [PATCH] Simplify make install --- yaz.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yaz.spec b/yaz.spec index c8ff1c8..8939cf4 100644 --- a/yaz.spec +++ b/yaz.spec @@ -102,8 +102,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