]> git.pld-linux.org Git - packages/git-lfs.git/commitdiff
verbose build; simplify (readability) auto/th/git-lfs-1.1.2-1
authorElan Ruusamäe <glen@delfi.ee>
Thu, 7 Apr 2016 12:01:32 +0000 (15:01 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 7 Apr 2016 12:01:32 +0000 (15:01 +0300)
git-lfs.spec

index 36e0288165fd028afd95abc4117e64797d42301f..467ff2c53eaf13b8ceddc500b03f367d05d9eeca 100644 (file)
@@ -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
This page took 0.054334 seconds and 4 git commands to generate.