drop BR on sysfs in rhel >=9

This commit is contained in:
Than Ngo 2021-03-04 15:14:28 +01:00
parent d2be05bf06
commit 3899ed7d02

View File

@ -1,7 +1,7 @@
Summary: Hardware Platform Interface library and tools
Name: openhpi
Version: 3.8.0
Release: 14%{?dist}
Release: 15%{?dist}
License: BSD
URL: http://www.openhpi.org
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@ -14,7 +14,9 @@ Patch4: %{name}-3.8.0-ipv6-ipmidirect.patch
Patch5: %{name}-3.8.0-link-libopenhpi.patch
BuildRequires: make
BuildRequires: gcc-c++
%if 0%{?fedora} || 0%{?rhel} < 9
BuildRequires: libsysfs-devel
%endif
BuildRequires: net-snmp-devel
BuildRequires: OpenIPMI-devel
BuildRequires: glib2-devel
@ -150,6 +152,9 @@ make check
%changelog
* Tue Mar 02 2021 Than Ngo <than@redhat.com> - 3.8.0-15
- drop BR on sysfs in rhel >=9
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild