diff --git a/SPECS/blocky.spec b/SPECS/blocky.spec index c31a210..113a951 100644 --- a/SPECS/blocky.spec +++ b/SPECS/blocky.spec @@ -26,7 +26,7 @@ git clone https://github.com/0xERROR/blocky export GOPATH=`pwd` cd src/github.com/0xERROR/blocky git checkout tags/v%{version} -GO111MODULE=on go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}" -X 'github.com/0xERR0R/blocky/util.Version="%{version}'.'%{release}"' -X 'github.com/0xERR0R/blocky/util.BuildTime="$(date '+%Y%m%d-%H%M%S')"' -X 'github.com/0xERR0R/blocky/util.Architecture="%{_arch}"'" +GO111MODULE=on go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}" -X 'github.com/0xERR0R/blocky/util.Version="%{version}'.'%{release}"' -X 'github.com/0xERR0R/blocky/util.BuildTime="$(date "+%Y%m%d-%H%M%S")"' -X 'github.com/0xERR0R/blocky/util.Architecture="%{_arch}"'" %install