Systemd unit files are not executable
This commit is contained in:
parent
925a750fef
commit
625fc5ff5a
@ -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 <orion@nwra.com> - 7.5.4-4
|
||||
- Systemd unit files are not executable
|
||||
|
||||
* Mon Nov 23 2020 Frank Crawford <frank@crawford.emu.id.au> - 7.5.4-3
|
||||
- Handle changes for DNF 4.4
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user