From 7bb3f09e17efbf47b42bafd4d9e13dac190a681b Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Thu, 30 Jan 2020 10:14:20 +0100 Subject: [PATCH] - Use rundir macro and not old hardcoded /var/run for tmpfile creation in spec file. --- lirc.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lirc.spec b/lirc.spec index 19ac5bc..8c2395e 100644 --- a/lirc.spec +++ b/lirc.spec @@ -10,7 +10,7 @@ Name: lirc Version: 0.10.0 -Release: 21%{?tag:.}%{?tag}%{?dist} +Release: 22%{?tag:.}%{?tag}%{?dist} Summary: The Linux Infrared Remote Control package %global repo http://downloads.sourceforge.net/lirc/LIRC/%{version} @@ -261,7 +261,7 @@ install -Dpm 644 %{SOURCE2} \ cp -a %{SOURCE1} README.fedora mkdir -p $RPM_BUILD_ROOT/%{_tmpfilesdir} -echo "d /var/run/lirc 0755 lirc lirc -" \ +echo "d %{_rundir}/lirc 0755 lirc lirc -" \ > $RPM_BUILD_ROOT%{_tmpfilesdir}/lirc.conf @@ -384,6 +384,9 @@ systemd-tmpfiles --create %{_tmpfilesdir}/lirc.conf %{_udevrulesdir}/99-remote-control-lirc.rules %changelog +* Thu Jan 30 2020 Paul Wouters - 0.10.0-22 +- Use rundir macro and not old hardcoded /var/run for tmpfile creation in spec file. + * Wed Jan 29 2020 Fedora Release Engineering - 0.10.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild