From: Adam Dickmeiss Date: Wed, 27 Mar 2013 12:38:55 +0000 (+0100) Subject: RPM: simplify make install rule X-Git-Tag: v2.0.55~13 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=580b7b0e56728601b262ac80c5673618c5b0cc22;p=idzebra-moved-to-github.git RPM: simplify make install rule --- diff --git a/idzebra.spec b/idzebra.spec index e99268e..72258bd 100644 --- a/idzebra.spec +++ b/idzebra.spec @@ -63,8 +63,7 @@ make CFLAGS="$RPM_OPT_FLAGS" %install rm -fr ${RPM_BUILD_ROOT} -make prefix=${RPM_BUILD_ROOT}/usr mandir=${RPM_BUILD_ROOT}/%{_mandir} \ - libdir=${RPM_BUILD_ROOT}/%{_libdir} install +make install DESTDIR=${RPM_BUILD_ROOT} rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la rm ${RPM_BUILD_ROOT}/%{_bindir}/zebraidx rm ${RPM_BUILD_ROOT}/%{_mandir}/man1/zebraidx.*