Gitea updated to 1.16.5
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Name: gitea
|
||||
Version: 1.16.4
|
||||
Version: 1.16.5
|
||||
Release: 1%{?dist}
|
||||
Summary: Gitea is a painless self-hosted Git service.
|
||||
%define MyVersion %version
|
||||
@@ -10,7 +10,7 @@ URL: https://gitea.io
|
||||
Source0: %name-%MyVersion.tar.gz
|
||||
Source1: gitea.service
|
||||
|
||||
BuildRequires: golang >= 1.8
|
||||
BuildRequires: golang >= 1.16
|
||||
%if 0%{?rhel} >= 8
|
||||
%else
|
||||
BuildRequires: go-bindata
|
||||
@@ -43,12 +43,14 @@ done
|
||||
%endif
|
||||
|
||||
%build
|
||||
#cd ../
|
||||
#mkdir src/code.gitea.io -p
|
||||
#cp -av %name-%{MyVersion} src/code.gitea.io/gitea
|
||||
#export GOPATH=$(pwd)
|
||||
#cd src/code.gitea.io/gitea/
|
||||
# Fedora only provides golang 1.16, but we require 1.17 in mimimum:
|
||||
if [ -x /usr/local/go/bin/go ]; then
|
||||
export PATH=/usr/local/go/bin:$PATH
|
||||
TAGS="bindata" make build
|
||||
else
|
||||
echo -e "Please install go from https://golang.org/dl/ into /usr/local/go first, exiting"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@@ -82,6 +84,11 @@ getent passwd gitea > /dev/null || \
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Apr 8 2022 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- This version requires go 1.17 or greater for the build.
|
||||
- Depends now on /usr/local/go/bin/go installation.
|
||||
- Update to 1.16.5.
|
||||
|
||||
* Fri Mar 18 2022 Daniel Steiner <daniel.steiner@dsteiner.ch>
|
||||
- Update to 1.16.4.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user