- Use rundir macro and not old hardcoded /var/run for tmpfile creation in spec file.

epel9
Paul Wouters 5 years ago
parent 6bcdd26d3b
commit 7bb3f09e17

@ -10,7 +10,7 @@
Name: lirc Name: lirc
Version: 0.10.0 Version: 0.10.0
Release: 21%{?tag:.}%{?tag}%{?dist} Release: 22%{?tag:.}%{?tag}%{?dist}
Summary: The Linux Infrared Remote Control package Summary: The Linux Infrared Remote Control package
%global repo http://downloads.sourceforge.net/lirc/LIRC/%{version} %global repo http://downloads.sourceforge.net/lirc/LIRC/%{version}
@ -261,7 +261,7 @@ install -Dpm 644 %{SOURCE2} \
cp -a %{SOURCE1} README.fedora cp -a %{SOURCE1} README.fedora
mkdir -p $RPM_BUILD_ROOT/%{_tmpfilesdir} 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 > $RPM_BUILD_ROOT%{_tmpfilesdir}/lirc.conf
@ -384,6 +384,9 @@ systemd-tmpfiles --create %{_tmpfilesdir}/lirc.conf
%{_udevrulesdir}/99-remote-control-lirc.rules %{_udevrulesdir}/99-remote-control-lirc.rules
%changelog %changelog
* Thu Jan 30 2020 Paul Wouters <pwouters@redhat.com> - 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 <releng@fedoraproject.org> - 0.10.0-21 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save