From 625fc5ff5ac58e202f8c4ee97cd1e1bc64508030 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Mon, 14 Dec 2020 09:16:45 -0700 Subject: [PATCH] Systemd unit files are not executable --- logwatch.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/logwatch.spec b/logwatch.spec index ea71454..5418a1e 100644 --- a/logwatch.spec +++ b/logwatch.spec @@ -2,7 +2,7 @@ Summary: A log file analysis program Name: logwatch Version: 7.5.4 -Release: 3%{?dist} +Release: 4%{?dist} License: MIT URL: https://sourceforge.net/projects/logwatch Source0: logwatch-%{version}.tar.gz @@ -82,8 +82,8 @@ install -m 0644 logwatch.8 %{buildroot}%{_mandir}/man8 install -m 0755 scheduler/logwatch.cron %{buildroot}%{_sysconfdir}/cron.daily/0logwatch mkdir -p %{buildroot}%{_unitdir} -install -m 0755 scheduler/logwatch.timer %{buildroot}%{_unitdir}/logwatch.timer -install -m 0755 scheduler/logwatch.service %{buildroot}%{_unitdir}/logwatch.service +install -m 0644 scheduler/logwatch.timer %{buildroot}%{_unitdir}/logwatch.timer +install -m 0644 scheduler/logwatch.service %{buildroot}%{_unitdir}/logwatch.service ln -s ../../%{_datadir}/logwatch/scripts/logwatch.pl %{buildroot}/%{_sbindir}/logwatch @@ -132,6 +132,9 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/logwatch/dist.conf/logfiles %{_unitdir}/logwatch.timer %changelog +* Mon Dec 14 2020 Orion Poplawski - 7.5.4-4 +- Systemd unit files are not executable + * Mon Nov 23 2020 Frank Crawford - 7.5.4-3 - Handle changes for DNF 4.4