From: Adam Dickmeiss Date: Tue, 19 Mar 2013 11:21:04 +0000 (+0100) Subject: RPM: simplify make install rule X-Git-Tag: v1.6.28~6 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=7b78fcfb4315797f042cf7210709d86c2b257843;p=pazpar2-moved-to-github.git RPM: simplify make install rule --- diff --git a/pazpar2.spec b/pazpar2.spec index e1c9d12..5f5fbd5 100644 --- a/pazpar2.spec +++ b/pazpar2.spec @@ -71,8 +71,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} mkdir -p ${RPM_BUILD_ROOT}/etc/pazpar2 mkdir -p ${RPM_BUILD_ROOT}/etc/pazpar2/settings mkdir -p ${RPM_BUILD_ROOT}/etc/pazpar2/services-enabled