Revert "delete -S git from %autosetup, and delete BuildRequires git"
This reverts commit a572e6f7ffdec57bdfc7975a3e4507af9cb525a7.
This commit is contained in:
parent
19b4265f81
commit
fae1a3fffe
@ -4,14 +4,14 @@
|
||||
|
||||
Name: efi-rpm-macros
|
||||
Version: 4
|
||||
Release: 4
|
||||
Release: 5
|
||||
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: sed
|
||||
BuildRequires: git sed
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -36,7 +36,10 @@ information of EIF machines, it contains the basic directory layout for EFI
|
||||
machine bootloaders and tools.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-4 -p1
|
||||
%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"
|
||||
|
||||
%build
|
||||
%make_build EFI_VENDOR=%{_efi_vendor_} clean all
|
||||
@ -56,6 +59,9 @@ machine bootloaders and tools.
|
||||
%{_prefix}/lib/rpm/brp-boot-efi-times
|
||||
|
||||
%changelog
|
||||
* Tue Aug 17 2021 gaihuiying <gaihuiying1@huawei.com> - 4-5
|
||||
- DESC:revert "delete -S git from %autosetup, and delete BuildRequires git"
|
||||
|
||||
* Tue Aug 03 2021 chenyanpanHW <chenyanpan@huawei.com> - 4-4
|
||||
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user