chore: update gitea to 28.0.0 and add Fedora 45 support

Update version to 28.0.0 per upstream release dropping historical 1. prefix.
Add fc45 to debug_package disablement macro.
Bump BuildRequires and Requires for git >= 2.25.0 and golang >= 1.27 to
satisfy upstream toolchain constraints and enable fast-fail on targets
lacking support.

Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
2026-10-20 20:28:23 -05:00
parent 83172ef417
commit d271e42063
+10 -6
View File
@@ -1,11 +1,11 @@
ExclusiveArch: %{go_arches} ExclusiveArch: %{go_arches}
%{!?_sysusersdir: %global _sysusersdir %{_prefix}/lib/sysusers.d} %{!?_sysusersdir: %global _sysusersdir %{_prefix}/lib/sysusers.d}
%if 0%{?el8} || 0%{?el9} || 0%{?el10} || 0%{?fc42} || 0%{?fc43} || 0%{?fc44} %if 0%{?el8} || 0%{?el9} || 0%{?el10} || 0%{?fc42} || 0%{?fc43} || 0%{?fc44} || 0%{?fc45}
%global debug_package %{nil} %global debug_package %{nil}
%endif %endif
Name: gitea Name: gitea
Version: 1.27.3 Version: 28.0.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: Gitea: Git with a cup of tea Summary: Gitea: Git with a cup of tea
@@ -14,14 +14,14 @@ URL: https://gitea.io/en-us/
Source0: https://github.com/go-gitea/gitea/releases/download/v%{version}/gitea-src-%{version}.tar.gz Source0: https://github.com/go-gitea/gitea/releases/download/v%{version}/gitea-src-%{version}.tar.gz
Source1: gitea.sysusers Source1: gitea.sysusers
BuildRequires: git BuildRequires: git >= 2.25.0
BuildRequires: golang >= 1.26.2 BuildRequires: golang >= 1.27
BuildRequires: pam-devel BuildRequires: pam-devel
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
BuildRequires: make BuildRequires: make
%{?systemd_requires} %{?systemd_requires}
%{?sysusers_requires_compat} %{?sysusers_requires_compat}
Requires: git Requires: git >= 2.25.0
%description %description
Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket, Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket,
@@ -94,7 +94,11 @@ install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/gitea.conf
%changelog %changelog
* Sun Sept 062026 Jason Rothstein * Tue Oct 20 2026 Jason Rothstein
- 28.0.0
- Add support for Fedora 45
* Sun Sep 06 2026 Jason Rothstein
- 1.27.3 - 1.27.3
* Fri Aug 28 2026 Jason Rothstein * Fri Aug 28 2026 Jason Rothstein