From dea4ff34f923bd0451f8273576745f5bae618545 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Jan 14 2021 11:05:55 +0000 Subject: Minor spec cleanups, remove dead links --- diff --git a/efibootmgr.spec b/efibootmgr.spec index 62f575a..1c39fd8 100644 --- a/efibootmgr.spec +++ b/efibootmgr.spec @@ -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