]> git.pld-linux.org Git - packages/cluster-glue.git/commitdiff
- allow packaging on systems without systemd master
authorMarcin Krol <hawk@tld-linux.org>
Thu, 25 Apr 2024 20:13:38 +0000 (22:13 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 25 Apr 2024 20:13:38 +0000 (22:13 +0200)
cluster-glue.spec

index f96ef95a69ee8b233ddd7a5d2a72b20c0febf4b2..d2b3d55201923be84700be956725422fb2d73256 100644 (file)
@@ -4,6 +4,7 @@
 # - separate some stonith plugins which have external dependencies?
 #
 # Conditional build:
 # - separate some stonith plugins which have external dependencies?
 #
 # Conditional build:
+%bcond_without systemd # systemd
 %bcond_without vacm    # VACM stonith plugin
 #
 Summary:       Reusable cluster components
 %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
 %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
 %{systemdunitdir}/logd.service
+%endif
 
 %attr(755,root,root) %{_sbindir}/ha_logger
 %attr(755,root,root) %{_sbindir}/hb_report
 
 %attr(755,root,root) %{_sbindir}/ha_logger
 %attr(755,root,root) %{_sbindir}/hb_report
This page took 0.109591 seconds and 4 git commands to generate.