diff --git a/iguanaIR.spec b/iguanaIR.spec index a8107d7..b57c995 100644 --- a/iguanaIR.spec +++ b/iguanaIR.spec @@ -5,11 +5,12 @@ Name: iguanaIR Version: 1.1.0 -Release: 35%{?dist} +Release: 44%{?dist} Epoch: 2 Summary: Driver for Iguanaworks USB IR transceiver -License: GPLv2 and LGPLv2 +# Automatically converted from old format: GPLv2 and LGPLv2 - review is highly recommended. +License: GPL-2.0-only AND LicenseRef-Callaway-LGPLv2 URL: http://iguanaworks.net/ir Source0: http://iguanaworks.net/downloads/%{name}-%{version}.tar.bz2 Source1: iguanaIR.service @@ -94,9 +95,9 @@ the same as was built in into the lirc releases up to 0.9.3. %prep %setup -q -n %{name}-%{version} %setup -q -T -D -a 6 -%patch1 -p3 -%patch2 -p1 -%patch3 -p1 +%patch -P1 -p3 +%patch -P2 -p1 +%patch -P3 -p1 cp %{SOURCE3} README.fedora cd iguanair-lirc-%{commit6} patch -p1 < %{SOURCE10} @@ -108,6 +109,11 @@ patch -l -p2 --fuzz 2 < %{SOURCE20} cd .. patch -p1 --fuzz 2 < %{SOURCE21} +# Create a sysusers.d config file +cat >iguanair.sysusers.conf </dev/null || groupadd -r iguanair -getent passwd iguanair >/dev/null || \ - useradd -r -g iguanair -d %{_localstatedir}/run/%{name} -s /sbin/nologin \ - -c "Iguanaworks IR Daemon" iguanair -exit 0 %post %systemd_post %{name}.service @@ -213,6 +215,7 @@ exit 0 %if 0%{fedora} < 30 %{_libdir}/python2.7/* %endif +%{_sysusersdir}/iguanair.conf %files devel %{_includedir}/%{name}.h @@ -232,6 +235,33 @@ exit 0 %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 2:1.1.0-44 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 2:1.1.0-43 +- Add sysusers.d config file to allow rpm to create users/groups automatically + +* Fri Jan 17 2025 Fedora Release Engineering - 2:1.1.0-42 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Mon Sep 02 2024 Miroslav Suchý - 2:1.1.0-41 +- convert license to SPDX + +* Thu Jul 18 2024 Fedora Release Engineering - 2:1.1.0-40 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jan 24 2024 Fedora Release Engineering - 2:1.1.0-39 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jan 20 2024 Fedora Release Engineering - 2:1.1.0-38 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jul 20 2023 Fedora Release Engineering - 2:1.1.0-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 2:1.1.0-36 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 2:1.1.0-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild