Remove ExclusiveArch line

This line (which was conditional on RHEL) already covered all RHEL
architectures.  However as it was missing riscv64, it prevented this
package from being built on this new RHEL architecture.  It does build
successfully on riscv64, so remove the line (and conditional) entirely.

(cherry picked from commit 4325090ec69000250289aa2d012419da9feaf23b)
This commit is contained in:
Richard W.M. Jones 2025-03-17 10:26:05 +00:00
parent 779b3299a7
commit 41764961be

View File

@ -49,7 +49,7 @@ Name: sbd
Summary: Storage-based death
License: GPL-2.0-or-later
Version: 1.5.2
Release: %{buildnum}%{?dist}.5
Release: %{buildnum}%{?dist}.6
Url: https://github.com/%{github_owner}/%{name}
Source0: https://github.com/%{github_owner}/%{name}/archive/%{longcommit}/%{name}-%{longcommit}.tar.gz
Patch0: 0001-Fix-query-watchdog-avoid-issues-on-heap-allocation-f.patch
@ -71,10 +71,6 @@ BuildRequires: systemd
Conflicts: fence-agents-sbd < 4.5.0
Conflicts: pacemaker-libs < 2.1.0-6
%if 0%{?rhel}
ExclusiveArch: i686 x86_64 s390x aarch64 ppc64le
%endif
%if %{defined systemd_requires}
%systemd_requires
%endif
@ -179,6 +175,10 @@ fi
%{_libdir}/libsbdtestbed*
%changelog
* Thu Mar 20 2025 Richard W.M. Jones <rjones@redhat.com> - 1.5.2-1.6
- Allow builds on riscv64
Related: RHEL-83995
* Fri Nov 22 2024 Klaus Wenninger <kwenning@redhat.com> - 1.5.2-1.5
- Bump release for rebuild against pacemaker-3.0.0-rc1 package
Resolves: RHEL-68410