diff --git a/spausedd.spec b/spausedd.spec index ee5a29d..78e3edb 100644 --- a/spausedd.spec +++ b/spausedd.spec @@ -3,17 +3,23 @@ Name: spausedd Summary: Utility to detect and log scheduler pause Version: 20200323 -Release: 3%{?dist} +Release: 4%{?dist} License: ISC URL: https://github.com/jfriesse/spausedd Source0: https://github.com/jfriesse/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz -# VMGuestLib exists only for x86 architectures +# VMGuestLib exists only for x86 architectures (for Fedora) and x86_64 (for RHEL) %if %{with vmguestlib} +%if 0%{?rhel} >= 6 +%ifarch x86_64 +%global use_vmguestlib 1 +%endif +%else %ifarch %{ix86} x86_64 %global use_vmguestlib 1 %endif %endif +%endif BuildRequires: gcc %{?systemd_requires} @@ -63,6 +69,9 @@ install -m 644 -p init/%{name}.service %{buildroot}/%{_unitdir} %systemd_postun spausedd.service %changelog +* Tue Sep 22 2020 Jan Friesse - 20200323-4 +- Fix build for ELN + * Wed Jul 29 2020 Fedora Release Engineering - 20200323-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild