From 29e9ab01e1c8484b20d6c7ce01d2afca5e1a57df Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Fri, 29 Apr 2016 12:06:29 +0200 Subject: [PATCH] Don't use -S git in autosetup as it requires git in a buildroot Fixes: + '[' 0 -ne 0 ']' + cd libsepol-2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q /var/tmp/rpm-tmp.yCRSdD: line 42: /usr/bin/git: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.yCRSdD (%prep) Bad exit status from /var/tmp/rpm-tmp.yCRSdD (%prep) --- libsepol.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsepol.spec b/libsepol.spec index 09c8e74..79b6fe2 100644 --- a/libsepol.spec +++ b/libsepol.spec @@ -48,7 +48,7 @@ The libsepol-static package contains the static libraries and header files needed for developing applications that manipulate binary policies. %prep -%autosetup -S git -p 1 -n libsepol-2.5 +%autosetup -p 1 -n libsepol-2.5 # sparc64 is an -fPIC arch, so we need to fix it here %ifarch sparc64