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