From 7b78fcfb4315797f042cf7210709d86c2b257843 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 19 Mar 2013 12:21:04 +0100 Subject: [PATCH] RPM: simplify make install rule --- pazpar2.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 1.7.10.4