Update to 1.10.0, handling for pathfix.py binary added

This commit is contained in:
2019-11-22 09:34:06 +01:00
parent 557a98c73b
commit c2e759dedd

View File

@@ -1,5 +1,5 @@
Name: gitea
Version: 1.9.4
Version: 1.10.0
Release: 1%{?dist}
Summary: Gitea is a painless self-hosted Git service.
%define MyVersion %version
@@ -19,7 +19,10 @@ BuildRequires: go-bindata
BuildRequires: make
Requires: git
BuildRequires: /usr/bin/pathfix.py
%if 0%{?rhel} >= 8
BuildRequires: platform-python-devel
%endif
# Temporary solution while waiting for golang and go-bindata to be built in cbs.centos.org
ExclusiveArch: i686 x86_64
@@ -30,12 +33,14 @@ Gitea is a painless self-hosted Git service, built in GO
%prep
%setup -q -n %name-%MyVersion
%if 0%{?rhel} >= 8
for f in \
vendor/github.com/urfave/cli/runtests \
vendor/github.com/urfave/cli/generate-flag-types \
vendor/github.com/prometheus/procfs/ttar; do
pathfix.py -pni /usr/bin/python3 $f
done
%endif
%build
cd ../
@@ -77,6 +82,9 @@ getent passwd gitea > /dev/null || \
%changelog
* Fri Nov 22 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
- Update to version 1.10.0.
* Fri Oct 18 2019 Daniel Steiner <daniel.steiner@daniel-steiner.org>
- Update to version 1.9.4.