From ad0035dcb712815f354468ec72164613e8aa50ab Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Fri, 28 Jan 2022 15:08:46 -0500 Subject: [PATCH] unpack git content Signed-off-by: Lokesh Mandvekar --- buildah.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildah.spec b/buildah.spec index 34523c3..0967bc8 100644 --- a/buildah.spec +++ b/buildah.spec @@ -27,6 +27,7 @@ License: ASL 2.0 and BSD and MIT URL: https://%{name}.io Source: %{git0}/archive/%{built_tag}.tar.gz BuildRequires: device-mapper-devel +BuildRequires: git-core BuildRequires: golang >= 1.16.6 BuildRequires: glib2-devel BuildRequires: glibc-static @@ -105,7 +106,7 @@ Requires: nmap-ncat This package contains system tests for %{name} %prep -%autosetup -n %{name}-%{built_tag_strip} +%autosetup -Sgit -n %{name}-%{built_tag_strip} %build %set_build_flags