From db19d1a49a4181e112c0e4b4503045bbbd2bee8b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:24:01 +0100 Subject: [PATCH] don't replace lirc_options.conf on update [release 0.9.4-5mamba;Wed Aug 24 2016] --- lirc.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lirc.spec b/lirc.spec index 3a7764a..0191bac 100644 --- a/lirc.spec +++ b/lirc.spec @@ -3,7 +3,7 @@ Name: lirc Version: 0.9.4 Epoch: 1 -Release: 3mamba +Release: 5mamba Summary: A package that allows you to decode and send infra-red signals Group: System/Hardware Vendor: openmamba @@ -81,6 +81,8 @@ This package contains static libraries and header files need for development. #cp -a remotes/* %{buildroot}%{_sysconfdir}/lirc %makeinstall systemddir=%{_unitdir} +install -D -m0644 doc/plugindocs.mk %{buildroot}%{_docdir}/lirc/plugindocs/plugindocs.mk + install -d -m0755 %{buildroot}%{_tmpfilesdir} cat > %{buildroot}%{_tmpfilesdir}/lircd.conf << _EOF d /run/lirc 755 root root @@ -116,7 +118,7 @@ fi %files %defattr(-,root,root) %dir %{_sysconfdir}/lirc -%config %{_sysconfdir}/lirc/lirc_options.conf +%config(noreplace) %{_sysconfdir}/lirc/lirc_options.conf %config(noreplace) %{_sysconfdir}/lirc/lircd.conf %config(noreplace) %{_sysconfdir}/lirc/lircmd.conf %config %{_sysconfdir}/lirc/irexec.lircrc @@ -146,9 +148,7 @@ fi %{python3_sitelib}/lirc/* %dir %{_datadir}/lirc %dir %{_datadir}/lirc/configs -%ifarch %{ix86} %{_datadir}/lirc/lirc.hwdb -%endif %{_datadir}/lirc/configs/* %dir %{_datadir}/lirc/contrib %{_datadir}/lirc/contrib/* @@ -191,6 +191,12 @@ fi %doc ChangeLog NEWS README %changelog +* Wed Aug 24 2016 Silvan Calarco 0.9.4-5mamba +- don't replace lirc_options.conf on update + +* Wed Aug 24 2016 Silvan Calarco 0.9.4-4mamba +- install plugindocs.mk + * Fri Aug 12 2016 Silvan Calarco 0.9.4-3mamba - patches for systemd service files and inpudev conf