Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fde01fd9fb | ||
|
|
42c0cc778a | ||
|
|
8525e49f0d | ||
|
|
f8d5981bb1 |
1 changed files with 23 additions and 8 deletions
|
|
@ -5,11 +5,12 @@
|
|||
|
||||
Name: iguanaIR
|
||||
Version: 1.1.0
|
||||
Release: 40%{?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
|
||||
|
|
@ -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 <<EOF
|
||||
u iguanair - 'Iguanaworks IR Daemon' %{_localstatedir}/run/%{name} -
|
||||
EOF
|
||||
|
||||
|
||||
|
||||
%build
|
||||
|
|
@ -174,13 +180,9 @@ EOF
|
|||
install -m 755 -d $RPM_BUILD_ROOT/run/%{name}
|
||||
install -m 644 -D %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
|
||||
|
||||
install -m0644 -D iguanair.sysusers.conf %{buildroot}%{_sysusersdir}/iguanair.conf
|
||||
|
||||
|
||||
%pre
|
||||
getent group iguanair >/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,18 @@ exit 0
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.1.0-44
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 2:1.1.0-42
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Mon Sep 02 2024 Miroslav Suchý <msuchy@redhat.com> - 2:1.1.0-41
|
||||
- convert license to SPDX
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.1.0-40
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue