projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6902366
)
RPM: simplify make install rule
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 19 Mar 2013 11:21:04 +0000
(12:21 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 19 Mar 2013 11:21:04 +0000
(12:21 +0100)
pazpar2.spec
patch
|
blob
|
history
diff --git
a/pazpar2.spec
b/pazpar2.spec
index
e1c9d12
..
5f5fbd5
100644
(file)
--- 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