Disable building for i686 Update Requires list on selinux subpackage Resolves: RHEL-37322

This commit is contained in:
alakatos 2024-06-18 10:13:32 +02:00
parent d4e322bd1d
commit 1c42f8c56b

View File

@ -6,7 +6,7 @@
Name: usbguard
Version: 1.1.3
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A tool for implementing USB device usage policy
License: GPL-2.0-or-later
## Not installed
@ -16,7 +16,7 @@ Source0: https://github.com/USBGuard/usbguard/releases/download/%{name}-%
Source1: https://github.com/USBGuard/usbguard-selinux/archive/refs/tags/v%{semodule_version}.tar.gz#/%{name}-selinux-%{semodule_version}.tar.gz
Source2: https://github.com/Cropi/%{name}-notifier/releases/download/%{name}-notifier-%{notifier_version}/%{name}-notifier-%{notifier_version}.tar.gz
Source3: usbguard-daemon.conf
ExcludeArch: i686
Requires: systemd
Requires(post): systemd
@ -45,6 +45,7 @@ BuildRequires: audit-libs-devel
BuildRequires: systemd
Patch1: usbguard-revert-catch.patch
Patch2: disable-console-logging.patch
%description
The USBGuard software framework helps to protect your computer against rogue USB
@ -88,7 +89,6 @@ a D-Bus interface to the USBGuard daemon component.
%package selinux
Summary: USBGuard selinux
Group: Applications/System
Requires: %{name} = %{version}-%{release}
Requires: selinux-policy-%{selinuxtype}
Requires(post): selinux-policy-%{selinuxtype}
BuildRequires: selinux-policy-devel
@ -124,6 +124,7 @@ device presence changes and displays them as pop-up notifications.
%setup -q -D -T -a 2
%patch -P 1 -p1 -b .catch
%patch -P 2 -p1
# Remove bundled library sources before build
rm -rf src/ThirdParty/{Catch,PEGTL}
@ -287,6 +288,11 @@ fi
%changelog
* Tue Jun 18 2024 Attila Lakatos <alakatos@redhat.com> - 1.1.3-3
- Disable building for i686
- Update Requires list on selinux subpackage
Resolves: RHEL-37322
* Fri Jun 07 2024 Attila Lakatos <alakatos@redhat.com> - 1.1.3-2
- Rebase to 1.1.3
- Update usbguard-selinux subpackage