don't replace lirc_options.conf on update [release 0.9.4-5mamba;Wed Aug 24 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 06:24:01 +01:00
parent 56b02aaf3f
commit db19d1a49a

View File

@ -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 <silvan.calarco@mambasoft.it> 0.9.4-5mamba
- don't replace lirc_options.conf on update
* Wed Aug 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.4-4mamba
- install plugindocs.mk
* Fri Aug 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.4-3mamba
- patches for systemd service files and inpudev conf