Signed-off-by: webbuilder_pel7ppc64bebuilder0 <webbuilder@powerel.org>
@ -30,7 +30,7 @@ go get -u github.com/gogits/gogs
%build
export GOPATH=`pwd`
cd src/github.com/gogits/gogs
git checkout -b v%{version}
git checkout tags/v%{version}
go build
sed -i 's|^STATIC_ROOT_PATH =$|STATIC_ROOT_PATH = /usr/share/gogs/templates/default/|g' conf/app.ini
sed -i 's|^ROOT =$|ROOT = /var/lib/gogs/|g' conf/app.ini