Updates for Fedora36
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user