From ecd6fdf42b3d78528833ca8f6558f2192694fa1c Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: May 24 2017 11:30:31 +0000 Subject: fix location of tmpfiles.d in service files (#1399602) --- diff --git a/nut-2.6.3-tmpfiles.patch b/nut-2.6.3-tmpfiles.patch index 087d369..0b45e1c 100644 --- a/nut-2.6.3-tmpfiles.patch +++ b/nut-2.6.3-tmpfiles.patch @@ -5,7 +5,7 @@ diff -up nut-2.7.4/scripts/systemd/nut-driver.service.in.tmpfiles nut-2.7.4/scri StopWhenUnneeded=yes [Service] -+ExecStartPre=-/usr/bin/systemd-tmpfiles --create /etc/tmpfiles.d/nut-client.conf ++ExecStartPre=-/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-client.conf ExecStart=@SBINDIR@/upsdrvctl start ExecStop=@SBINDIR@/upsdrvctl stop Type=forking @@ -16,7 +16,7 @@ diff -up nut-2.7.4/scripts/systemd/nut-monitor.service.in.tmpfiles nut-2.7.4/scr After=local-fs.target network.target nut-server.service [Service] -+ExecStartPre=-/usr/bin/systemd-tmpfiles --create /etc/tmpfiles.d/nut-client.conf ++ExecStartPre=-/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-client.conf ExecStart=@SBINDIR@/upsmon PIDFile=@PIDPATH@/upsmon.pid Type=forking diff --git a/nut.spec b/nut.spec index dd8bd4e..3e4f2cd 100644 --- a/nut.spec +++ b/nut.spec @@ -18,7 +18,7 @@ Summary: Network UPS Tools Name: nut Version: 2.7.4 -Release: 7%{?dist} +Release: 8%{?dist} Group: Applications/System License: GPLv2+ and GPLv3+ Url: http://www.networkupstools.org/ @@ -445,6 +445,9 @@ rm -rf %{buildroot} %{_libdir}/pkgconfig/libnutscan.pc %changelog +* Wed May 24 2017 Michal Hlavinka - 2.7.4-8 +- fix location of tmpfiles.d in service files (#1399602) + * Sat Feb 11 2017 Fedora Release Engineering - 2.7.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild