efi-rpm-macros/0003-efi-rpm-macros.spec.in-use-autosetup.patch

45 lines
1.2 KiB
Diff
Raw Normal View History

From 341b613d7b920292129ae689e9f7588073a08431 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Tue, 1 May 2018 13:26:18 -0400
Subject: [PATCH 03/11] efi-rpm-macros.spec.in: use autosetup
Signed-off-by: Peter Jones <pjones@redhat.com>
---
efi-rpm-macros.spec.in | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/efi-rpm-macros.spec.in b/efi-rpm-macros.spec.in
index c89fb6caf5e..fa68b1dd7b1 100644
--- a/efi-rpm-macros.spec.in
+++ b/efi-rpm-macros.spec.in
@@ -6,8 +6,7 @@ Group: Development/System
License: GPLv3+
URL: https://github.com/rhboot/%{name}/
ExclusiveArch: @@EFI_ARCHES@@
-#BuildRequires: git
-BuildRequires: sed
+BuildRequires: git sed
Requires: rpm
BuildArch: noarch
@@ -20,15 +19,7 @@ Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/%{name}-
%{name} provides a set of RPM macros for use in EFI-related packages.
%prep
-%setup -q
-#git init
-#git config user.email "example@example.com"
-#git config user.name "RPM Ninjas"
-#git add .
-#git commit -a -q -m "%%{version} baseline."
-#git am %%{patches} </dev/null
-#git config --unset user.email
-#git config --unset user.name
+%autosetup -S git
%build
%make_build EFI_VENDOR=%{_efi_vendor_} clean all
--
2.14.3