diff --git a/usbauth-notifier.spec b/usbauth-notifier.spec index f761cc2..fc5b57c 100644 --- a/usbauth-notifier.spec +++ b/usbauth-notifier.spec @@ -27,11 +27,10 @@ Summary: Notifier for USB Firewall to use with desktop environments URL: https://github.com/kochstefan/usbauth-all/tree/master/usbauth-notifier Source: https://github.com/kochstefan/usbauth-all/archive/v%{version}.tar.gz -Release: 5%{?dist} +Release: 10%{?dist} # Automatically converted from old format: GPLv2 - review is highly recommended. License: GPL-2.0-only -Requires(pre): shadow-utils Requires: usbauth BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(libudev) @@ -48,6 +47,12 @@ A notifier for the usbauth firewall against BadUSB attacks. The user could manua %prep %autosetup -n usbauth-all-%{version} -p1 +# Create a sysusers.d config file +cat >usbauth-notifier.sysusers.conf </dev/null; then groupadd -r usbauth; fi -if ! getent group usbauth-notifier>/dev/null; then groupadd -r usbauth-notifier; fi - %install pushd %{name}/ %make_install %find_lang %name popd +install -m0644 -D usbauth-notifier.sysusers.conf %{buildroot}%{_sysusersdir}/usbauth-notifier.conf + %files -f %{name}/%name.lang %license %{name}/COPYING %doc %{name}/README @@ -74,9 +78,25 @@ popd %attr(04750,root,usbauth) %_libexecdir/usbauth-npriv %dir %attr(00750,root,usbauth-notifier) %_libexecdir/usbauth-notifier %attr(02755,root,usbauth) %_libexecdir/usbauth-notifier/usbauth-notifier +%{_sysusersdir}/usbauth-notifier.conf %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 1.0.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Sat Jan 17 2026 Fedora Release Engineering - 1.0.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jul 25 2025 Fedora Release Engineering - 1.0.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 1.0.4-7 +- Add sysusers.d config file to allow rpm to create users/groups automatically + +* Sun Jan 19 2025 Fedora Release Engineering - 1.0.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Mon Jul 29 2024 Miroslav Suchý - 1.0.4-5 - convert license to SPDX