Fix build for ELN

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
This commit is contained in:
Jan Friesse 2020-09-22 15:04:49 +02:00
parent c7dc8621d0
commit 282f830b23

View File

@ -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 <jfriesse@redhat.com> - 20200323-4
- Fix build for ELN
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200323-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild