commit ee85b5d33358542d1e22661144d1625bc336904e
Author: Jan Palus <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to