Compare commits
No commits in common. "rawhide" and "f40" have entirely different histories.
1 changed files with 6 additions and 33 deletions
|
|
@ -27,10 +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: 10%{?dist}
|
||||
# Automatically converted from old format: GPLv2 - review is highly recommended.
|
||||
License: GPL-2.0-only
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2
|
||||
|
||||
Requires(pre): shadow-utils
|
||||
Requires: usbauth
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
|
|
@ -47,12 +47,6 @@ 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 <<EOF
|
||||
g usbauth -
|
||||
g usbauth-notifier -
|
||||
EOF
|
||||
|
||||
%build
|
||||
pushd %{name}/
|
||||
autoreconf -f -i
|
||||
|
|
@ -61,14 +55,15 @@ autoreconf -f -i
|
|||
popd
|
||||
|
||||
%pre
|
||||
if ! getent group usbauth>/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
|
||||
|
|
@ -78,31 +73,9 @@ install -m0644 -D usbauth-notifier.sysusers.conf %{buildroot}%{_sysusersdir}/usb
|
|||
%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 <releng@fedoraproject.org> - 1.0.4-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.4-7
|
||||
- Add sysusers.d config file to allow rpm to create users/groups automatically
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Mon Jul 29 2024 Miroslav Suchý <msuchy@redhat.com> - 1.0.4-5
|
||||
- convert license to SPDX
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue