commit e68ea845a2b40f8567b6d45b345d7a936f4a5d51 Author: Marcin Krol <h...@tld-linux.org> Date: Sat Apr 27 20:05:23 2024 +0200
- allow packaging on systems without systemd sysstat.spec | 3 +++ 1 file changed, 3 insertions(+) --- diff --git a/sysstat.spec b/sysstat.spec index 0236fb2..143a04a 100644 --- a/sysstat.spec +++ b/sysstat.spec @@ -1,3 +1,4 @@ +%bcond_without systemd # systemd # # Fix or remove install.patch (seems systemd files are installed now) Summary: The sar and iostat system monitoring commands @@ -164,12 +165,14 @@ fi %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/sysstat %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/sysstat %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/sysstat.ioconf +%if %{with systemd} %{systemdunitdir}/sysstat.service %{systemdunitdir}/sysstat-collect.service %{systemdunitdir}/sysstat-collect.timer %{systemdunitdir}/sysstat-summary.service %{systemdunitdir}/sysstat-summary.timer %{systemdunitdir}-sleep/sysstat.sleep +%endif %{_mandir}/man1/cifsiostat.1* %{_mandir}/man1/iostat.1* %{_mandir}/man1/mpstat.1* ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/sysstat.git/commitdiff/e68ea845a2b40f8567b6d45b345d7a936f4a5d51 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit