From 0b004caca698e8abea3c569ddad2210b0bd7efb9 Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Sun, 7 Jul 2024 21:23:30 -0500 Subject: [PATCH] Version bump to 1.22.1 and add el9 build target Signed-off-by: Jason Rothstein --- gitea.spec | 85 +++++++----------------------------------------------- 1 file changed, 11 insertions(+), 74 deletions(-) diff --git a/gitea.spec b/gitea.spec index 3153e05..50a162d 100644 --- a/gitea.spec +++ b/gitea.spec @@ -2,6 +2,9 @@ ExclusiveArch: %{go_arches} %if 0%{?el8} %global debug_package %{nil} %endif +%if 0%{?el9} +%global debug_package %{nil} +%endif %if 0%{?fc38} %global debug_package %{nil} %endif @@ -10,18 +13,16 @@ ExclusiveArch: %{go_arches} %endif Name: gitea -Version: 1.21.11 +Version: 1.22.1 Release: 1%{?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 +Source0: https://github.com/go-gitea/gitea/releases/download/v%{version}/gitea-src-%{version}.tar.gz BuildRequires: git -BuildRequires: golang -BuildRequires: nodejs -BuildRequires: nodejs-npm +BuildRequires: golang >= 1.22 BuildRequires: pam-devel Requires(pre): /usr/bin/getent Requires(pre): /usr/sbin/useradd @@ -31,7 +32,7 @@ Requires: git %prep -%setup -q -n %{name}-%{version} +%setup -q -n %{name}-src-%{version} %build sed -i -e 's/-s -w //g' Makefile @@ -80,6 +81,7 @@ fi %files %license LICENSE %doc CHANGELOG.md +%doc CODE_OF_CONDUCT.md %doc CONTRIBUTING.md %doc DCO %doc MAINTAINERS @@ -94,6 +96,9 @@ fi %changelog +* Sun Jul 07 2024 Jason Rothstein +- version bump to 1.22.1 + * Fri Apr 19 2024 Jason Rothstein - version bump to 1.21.11 @@ -112,71 +117,3 @@ fi - add new nodejs, npm, git package dependency - strip -Wl,-z,relro from LDFLAGS because that isn't compatible with Go -* Sat Mar 28 2020 Jason Rothstein -- rebuild for Fedora 32 - -* Sun Mar 15 2020 Jason Rothstein -- version bump 1.10.6 - -* Thu Feb 20 2020 Jason Rothstein -- version bump 1.10.4 - -* Fri Jan 17 2020 Jason Rothstein -- version bump 1.10.3 - -* Sat Jan 4 2020 Jason Rothstein -- version bump 1.10.2 - -* Tue Dec 10 2019 Jason Rothstein -- version bump 1.10.1 - -* Thu Nov 21 2019 Jason Rothstein -- version bump 1.10.0 - -* Sun Nov 17 2019 Jason Rothstein -- Restart the service it is already running - -* Sat Nov 16 2019 Jason Rothstein -- version bump 1.9.6 - -* Fri Nov 1 2019 Jason Rothstein -- version bump 1.9.5 - -* Wed Oct 9 2019 Jason Rothstein -- version bump 1.9.4 - -* Sun Sep 22 2019 Jason Rothstein -- recompile - -* Mon Sep 16 2019 Jason Rothstein -- version bump 1.9.3 -- enable bindata tag -- use make with DRONE_TAG to include the rpm package version and release data - -* Mon Sep 16 2019 Jason Rothstein -- version bump 1.9.2 - -* Thu Aug 15 2019 Jason Rothstein -- version bump 1.9.1 - -* Fri Aug 2 2019 Jason Rothstein -- version bump 1.9.0 - -* Sun Jul 28 2019 Jason Rothstein -- And not use it now because it triggers build failures - -* Sun Jul 28 2019 Jason Rothstein -- Use the bindata tag to bundle everything internally - -* Sun Jul 28 2019 Jason Rothstein -- Put options into /var/lib/gitea so the locale data is available - -* Sun Jul 28 2019 Jason Rothstein -- version bump 1.8.2 - -* Sun Jul 28 2019 Jason Rothstein -- version bump 1.8.1 - -* Sun Jul 28 2019 Jason Rothstein -- initial version -