diff --git a/iguanaIR.spec b/iguanaIR.spec index b57c995..5b68eb7 100644 --- a/iguanaIR.spec +++ b/iguanaIR.spec @@ -5,12 +5,11 @@ Name: iguanaIR Version: 1.1.0 -Release: 44%{?dist} +Release: 40%{?dist} Epoch: 2 Summary: Driver for Iguanaworks USB IR transceiver -# Automatically converted from old format: GPLv2 and LGPLv2 - review is highly recommended. -License: GPL-2.0-only AND LicenseRef-Callaway-LGPLv2 +License: GPLv2 and LGPLv2 URL: http://iguanaworks.net/ir Source0: http://iguanaworks.net/downloads/%{name}-%{version}.tar.bz2 Source1: iguanaIR.service @@ -109,11 +108,6 @@ 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 @@ -215,7 +213,6 @@ install -m0644 -D iguanair.sysusers.conf %{buildroot}%{_sysusersdir}/iguanair.co %if 0%{fedora} < 30 %{_libdir}/python2.7/* %endif -%{_sysusersdir}/iguanair.conf %files devel %{_includedir}/%{name}.h @@ -235,18 +232,6 @@ 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 - -* 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