Minor spec cleanups, remove dead links

This commit is contained in:
Peter Robinson 2021-01-14 11:05:55 +00:00
parent ec05058b65
commit dea4ff34f9

View File

@ -1,25 +1,22 @@
%define efivar_version 35-2
Summary: EFI Boot Manager
Name: efibootmgr
Version: 16
Release: 9%{?dist}
Summary: EFI Boot Manager
License: GPLv2+
URL: https://github.com/rhboot/%{name}/
BuildRequires: gcc
BuildRequires: efi-srpm-macros >= 3-2
BuildRequires: efi-filesystem
BuildRequires: git popt-devel
BuildRequires: efivar-libs >= %{efivar_version}
BuildRequires: efivar-devel >= %{efivar_version}
BuildRequires: gcc
BuildRequires: make
Requires: efi-filesystem
ExclusiveArch: %{efi}
# for RHEL / Fedora when efibootmgr was part of the elilo package
Conflicts: elilo <= 3.6-6
Obsoletes: elilo <= 3.6-6
Source0: https://github.com/rhboot/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
# Fixes to compiler errors manually cherry picked from upstream commit
@ -29,8 +26,7 @@ Patch0: efibootmgr-16-efidp_format_device_path-argfix.patch
%description
%{name} displays and allows the user to edit the Intel Extensible
Firmware Interface (EFI) Boot Manager variables. Additional
information about EFI can be found at
http://developer.intel.com/technology/efi/efi.htm and http://uefi.org/.
information about EFI can be found at https://uefi.org/.
%prep
%autosetup -S git
@ -40,13 +36,11 @@ git config --local --add efibootmgr.efidir %{efi_vendor}
%make_build CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}'
%install
rm -rf %{buildroot}
%make_install libdir=%{_libdir} bindir=%{_bindir} mandir=%{_mandir} \
localedir=%{_datadir}/locale/ includedir=%{_includedir} \
libexecdir=%{_libexecdir} datadir=%{_datadir}
%files
%{!?_licensedir:%global license %%doc}
%license COPYING
%{_sbindir}/*
%{_mandir}/*/*.?.gz