From a572e6f7ffdec57bdfc7975a3e4507af9cb525a7 Mon Sep 17 00:00:00 2001 From: chenyanpanHW Date: Tue, 3 Aug 2021 19:57:38 +0800 Subject: [PATCH] delete -S git from %autosetup, and delete BuildRequires git --- efi-rpm-macros.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/efi-rpm-macros.spec b/efi-rpm-macros.spec index e8c2007..31e2f5f 100644 --- a/efi-rpm-macros.spec +++ b/efi-rpm-macros.spec @@ -4,14 +4,14 @@ Name: efi-rpm-macros Version: 4 -Release: 3 +Release: 4 Summary: A set of EFI-related RPM Macros License: GPLv3+ URL: https://github.com/rhboot/%{name}/ Source0: https://github.com/rhboot/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz #patch backport from upstream community -BuildRequires: git sed +BuildRequires: sed BuildArch: noarch %description @@ -36,10 +36,7 @@ information of EIF machines, it contains the basic directory layout for EFI machine bootloaders and tools. %prep -%autosetup -S git -n %{name}-4 -git config --local --add efi.vendor "%{_vendor}" -git config --local --add efi.esp-root /boot/efi -git config --local --add efi.arches "x86_64 aarch64" +%autosetup -n %{name}-4 -p1 %build %make_build EFI_VENDOR=%{_efi_vendor_} clean all @@ -59,6 +56,9 @@ git config --local --add efi.arches "x86_64 aarch64" %{_prefix}/lib/rpm/brp-boot-efi-times %changelog +* Tue Aug 03 2021 chenyanpanHW - 4-4 +- DESC: delete -S git from %autosetup, and delete BuildRequires git + * Thu Sep 10 2020 hanzhijun - 4-3 - solve source url problem -- Gitee