[packages/haveged] substitute @SBIN_DIR@ in systemd unit; rel 2
atler
atler at pld-linux.org
Mon Oct 4 22:31:19 CEST 2021
commit ee85b5d33358542d1e22661144d1625bc336904e
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Oct 4 22:29:58 2021 +0200
substitute @SBIN_DIR@ in systemd unit; rel 2
haveged.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/haveged.spec b/haveged.spec
index a9632b5..e72163b 100644
--- a/haveged.spec
+++ b/haveged.spec
@@ -1,7 +1,7 @@
Summary: A Linux entropy source using the HAVEGE algorithm
Name: haveged
Version: 1.9.15
-Release: 1
+Release: 2
License: GPL v3+
Group: Daemons
Source0: https://github.com/jirka-h/haveged/archive/v%{version}.tar.gz
@@ -69,7 +69,7 @@ rm -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{systemdunitdir}
-cp -p contrib/Fedora/haveged.service $RPM_BUILD_ROOT%{systemdunitdir}/haveged.service
+sed -e 's:@SBIN_DIR@:%{_sbindir}:g' contrib/Fedora/*service > $RPM_BUILD_ROOT%{systemdunitdir}/haveged.service
# We don't ship .la files.
rm $RPM_BUILD_ROOT%{_libdir}/libhavege.la
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/haveged.git/commitdiff/ee85b5d33358542d1e22661144d1625bc336904e
More information about the pld-cvs-commit
mailing list