From c7dc63b8f03eb6cf7844fbea3c4bd92b02740a5f Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Sun, 28 Jul 2019 23:50:22 -0500 Subject: [PATCH] Add the minimum version number of go to the requirements (go failed on Fedora 28 due to go == 1.10 there) --- gitea.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitea.spec b/gitea.spec index 140bbdd..94b2544 100644 --- a/gitea.spec +++ b/gitea.spec @@ -2,14 +2,14 @@ ExclusiveArch: %{go_arches} Name: gitea Version: 1.8.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Gitea: Git with a cup of tea License: MIT URL: https://gitea.io/en-us/ Source0: https://github.com/go-gitea/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: golang +BuildRequires: golang >= 1.11 BuildRequires: pam-devel Requires(pre): /usr/bin/getent Requires(pre): /usr/sbin/useradd