delete -S git from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-08-03 19:57:38 +08:00
parent 27ce69d264
commit a572e6f7ff
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -4,14 +4,14 @@
Name: efi-rpm-macros Name: efi-rpm-macros
Version: 4 Version: 4
Release: 3 Release: 4
Summary: A set of EFI-related RPM Macros Summary: A set of EFI-related RPM Macros
License: GPLv3+ License: GPLv3+
URL: https://github.com/rhboot/%{name}/ URL: https://github.com/rhboot/%{name}/
Source0: https://github.com/rhboot/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/rhboot/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
#patch backport from upstream community #patch backport from upstream community
BuildRequires: git sed BuildRequires: sed
BuildArch: noarch BuildArch: noarch
%description %description
@ -36,10 +36,7 @@ information of EIF machines, it contains the basic directory layout for EFI
machine bootloaders and tools. machine bootloaders and tools.
%prep %prep
%autosetup -S git -n %{name}-4 %autosetup -n %{name}-4 -p1
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 %build
%make_build EFI_VENDOR=%{_efi_vendor_} clean all %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 %{_prefix}/lib/rpm/brp-boot-efi-times
%changelog %changelog
* Tue Aug 03 2021 chenyanpanHW <chenyanpan@huawei.com> - 4-4
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Sep 10 2020 hanzhijun <hanzhijun1@huawei.com> - 4-3 * Thu Sep 10 2020 hanzhijun <hanzhijun1@huawei.com> - 4-3
- solve source url problem - solve source url problem