|
|
@ -1,7 +1,7 @@ |
|
|
|
%define debug_package %{nil} |
|
|
|
%define debug_package %{nil} |
|
|
|
|
|
|
|
|
|
|
|
Name : hugo |
|
|
|
Name : hugo |
|
|
|
Version : 0.109.0 |
|
|
|
Version : 0.123.0 |
|
|
|
Release : 1%{?dist} |
|
|
|
Release : 1%{?dist} |
|
|
|
Summary : The world’s fastest framework for building websites. |
|
|
|
Summary : The world’s fastest framework for building websites. |
|
|
|
Group : System/Web |
|
|
|
Group : System/Web |
|
|
@ -31,7 +31,6 @@ git checkout tags/v%{version} |
|
|
|
export GOPATH=`pwd`/go |
|
|
|
export GOPATH=`pwd`/go |
|
|
|
export GO111MODULE=on |
|
|
|
export GO111MODULE=on |
|
|
|
cd src/hugo |
|
|
|
cd src/hugo |
|
|
|
|
|
|
|
|
|
|
|
git checkout tags/v%{version} |
|
|
|
git checkout tags/v%{version} |
|
|
|
export SHORTCOMMIT=$(git rev-parse --short HEAD) |
|
|
|
export SHORTCOMMIT=$(git rev-parse --short HEAD) |
|
|
|
export BUILDDATE=$(date +%Y%m%d) |
|
|
|
export BUILDDATE=$(date +%Y%m%d) |
|
|
|