commit 2963a3f4618b0ef8fd2a3578cc09a80b03ebc570
Author: Marcin Krol <h...@tld-linux.org>
Date:   Thu Apr 25 22:13:38 2024 +0200

    - allow packaging on systems without systemd

 cluster-glue.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/cluster-glue.spec b/cluster-glue.spec
index f96ef95..d2b3d55 100644
--- a/cluster-glue.spec
+++ b/cluster-glue.spec
@@ -4,6 +4,7 @@
 # - separate some stonith plugins which have external dependencies?
 #
 # Conditional build:
+%bcond_without systemd # systemd
 %bcond_without vacm    # VACM stonith plugin
 #
 Summary:       Reusable cluster components
@@ -221,7 +222,9 @@ fi
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog logd/logd.cf doc/stonith/README*
 %attr(754,root,root) /etc/rc.d/init.d/logd
+%if %{with systemd}
 %{systemdunitdir}/logd.service
+%endif
 
 %attr(755,root,root) %{_sbindir}/ha_logger
 %attr(755,root,root) %{_sbindir}/hb_report
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cluster-glue.git/commitdiff/2963a3f4618b0ef8fd2a3578cc09a80b03ebc570

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to