[packages/util-linux] - fix files when building without systemd
hawk
hawk at pld-linux.org
Fri Aug 16 18:08:15 CEST 2024
commit 9122abc9e68feccb18580bfe50087d6607bdcf8a
Author: Marcin Krol <hawk at tld-linux.org>
Date: Fri Aug 16 17:39:36 2024 +0200
- fix files when building without systemd
util-linux.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/util-linux.spec b/util-linux.spec
index 04f1bb4..bce3b0c 100644
--- a/util-linux.spec
+++ b/util-linux.spec
@@ -2539,8 +2539,10 @@ fi
%attr(755,root,root) %ghost %{_libdir}/liblastlog2.so.2
%{bash_compdir}/lastlog2
%{_mandir}/man8/lastlog2.8*
+%if %{with systemd}
%{systemdunitdir}/lastlog2-import.service
%{systemdtmpfilesdir}/lastlog2-tmpfiles.conf
+%endif
%dir /var/lib/lastlog
%ghost /var/lib/lastlog/lastlog2.db
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/util-linux.git/commitdiff/9122abc9e68feccb18580bfe50087d6607bdcf8a
More information about the pld-cvs-commit
mailing list