commit 84475c9a506516e9ebfd69e29dc580ba3e440aae
Author: Elan Ruusamäe <[email protected]>
Date:   Thu Apr 7 15:01:32 2016 +0300

    verbose build; simplify (readability)

 git-lfs.spec | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/git-lfs.spec b/git-lfs.spec
index 36e0288..467ff2c 100644
--- a/git-lfs.spec
+++ b/git-lfs.spec
@@ -21,6 +21,13 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _enable_debug_packages 0
 
+%ifarch %{ix86}
+%define GOARCH 386
+%endif
+%ifarch %{x8664}
+%define GOARCH amd64
+%endif
+
 %description
 Git Large File Storage (LFS) replaces large files such as audio
 samples, videos, datasets, and graphics with text pointers inside Git,
@@ -35,12 +42,8 @@ ln -s $(pwd) src/github.com/github/%{name}
 %build
 unset GOROOT
 export GOPATH=$(pwd)
-%ifarch %{ix86}
-       GOARCH=386 ./script/bootstrap
-%endif
-%ifarch %{x8664}
-       GOARCH=amd64 ./script/bootstrap
-%endif
+export GOARCH=%{GOARCH}
+sh -x ./script/bootstrap
 
 %if %{with doc}
 ./script/man
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/git-lfs.git/commitdiff/84475c9a506516e9ebfd69e29dc580ba3e440aae

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to