Updates for Fedora36

This commit is contained in:
2022-06-24 19:49:18 +02:00
parent 1873aa7db2
commit b71152f498
7 changed files with 112 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
Name: gitea
Version: 1.16.7
Version: 1.16.8
Release: 1%{?dist}
Summary: Gitea is a painless self-hosted Git service.
%define MyVersion %version
@@ -46,11 +46,11 @@ done
# 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
# Overwrite LDFLAGS from rpm macros should be removed later:
LDFLAGS=''
export LDFLAGS
TAGS="bindata" make build
%install
rm -rf $RPM_BUILD_ROOT
@@ -84,6 +84,9 @@ getent passwd gitea > /dev/null || \
%changelog
* Fri May 20 2022 Daniel Steiner <daniel.steiner@dsteiner.ch>
- Update to 1.16.8.
* Fri May 6 2022 Daniel Steiner <daniel.steiner@dsteiner.ch>
- Update to 1.16.7.