From c2e759dedd3e87575a4584874e777b0b853c5126 Mon Sep 17 00:00:00 2001 From: Daniel Steiner Date: Fri, 22 Nov 2019 09:34:06 +0100 Subject: [PATCH] Update to 1.10.0, handling for pathfix.py binary added --- centos/SPECS/gitea.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/centos/SPECS/gitea.spec b/centos/SPECS/gitea.spec index 36cbd6a..2526ee6 100644 --- a/centos/SPECS/gitea.spec +++ b/centos/SPECS/gitea.spec @@ -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 +- Update to version 1.10.0. + * Fri Oct 18 2019 Daniel Steiner - Update to version 1.9.4.