[packages/domoticz] - correct install
arekm
arekm at pld-linux.org
Sun Jan 21 19:48:04 CET 2018
commit 00bce45c5d8043e5f17ff4935b80f36ea8c0b2eb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Jan 21 19:47:57 2018 +0100
- correct install
domoticz.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/domoticz.spec b/domoticz.spec
index b1050e9..0ef9be1 100644
--- a/domoticz.spec
+++ b/domoticz.spec
@@ -103,12 +103,13 @@ install -d build && cd build
-DUSE_STATIC_BOOST=NO \
-DCMAKE_INSTALL_PREFIX=%{_datadir}/%{name} \
..
+
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} -C build \
- install
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT
# remove docs, we grab them in files below
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/*.txt
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/domoticz.git/commitdiff/00bce45c5d8043e5f17ff4935b80f36ea8c0b2eb
More information about the pld-cvs-commit
mailing list