From 42c0cc778a6d3433eb6277002fe57b5982a4a07c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 11 Feb 2025 15:35:20 +0100 Subject: [PATCH 1/2] Add sysusers.d config file to allow rpm to create users/groups automatically See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers. --- iguanaIR.spec | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/iguanaIR.spec b/iguanaIR.spec index f6ea3a2..d34e067 100644 --- a/iguanaIR.spec +++ b/iguanaIR.spec @@ -5,7 +5,7 @@ Name: iguanaIR Version: 1.1.0 -Release: 42%{?dist} +Release: 43%{?dist} Epoch: 2 Summary: Driver for Iguanaworks USB IR transceiver @@ -109,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 @@ -214,6 +215,7 @@ exit 0 %if 0%{fedora} < 30 %{_libdir}/python2.7/* %endif +%{_sysusersdir}/iguanair.conf %files devel %{_includedir}/%{name}.h @@ -233,6 +235,9 @@ exit 0 %changelog +* 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 From fde01fd9fb28748aaf0e1456b263964b96d1565b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 17:35:56 +0000 Subject: [PATCH 2/2] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- iguanaIR.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/iguanaIR.spec b/iguanaIR.spec index d34e067..b57c995 100644 --- a/iguanaIR.spec +++ b/iguanaIR.spec @@ -5,7 +5,7 @@ Name: iguanaIR Version: 1.1.0 -Release: 43%{?dist} +Release: 44%{?dist} Epoch: 2 Summary: Driver for Iguanaworks USB IR transceiver @@ -235,6 +235,9 @@ install -m0644 -D iguanair.sysusers.conf %{buildroot}%{_sysusersdir}/iguanair.co %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