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