Version bump to 1.22.1 and add el9 build target
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
		
							
								
								
									
										85
									
								
								gitea.spec
									
									
									
									
									
								
							
							
						
						
									
										85
									
								
								gitea.spec
									
									
									
									
									
								
							| @@ -2,6 +2,9 @@ ExclusiveArch:  %{go_arches} | |||||||
| %if 0%{?el8} | %if 0%{?el8} | ||||||
| %global debug_package %{nil} | %global debug_package %{nil} | ||||||
| %endif | %endif | ||||||
|  | %if 0%{?el9} | ||||||
|  | %global debug_package %{nil} | ||||||
|  | %endif | ||||||
| %if 0%{?fc38} | %if 0%{?fc38} | ||||||
| %global debug_package %{nil} | %global debug_package %{nil} | ||||||
| %endif | %endif | ||||||
| @@ -10,18 +13,16 @@ ExclusiveArch:  %{go_arches} | |||||||
| %endif | %endif | ||||||
|  |  | ||||||
| Name:           gitea | Name:           gitea | ||||||
| Version:        1.21.11 | Version:        1.22.1 | ||||||
| Release:        1%{?dist} | Release:        1%{?dist} | ||||||
| Summary:        Gitea: Git with a cup of tea | Summary:        Gitea: Git with a cup of tea | ||||||
|  |  | ||||||
| License:        MIT | License:        MIT | ||||||
| URL:            https://gitea.io/en-us/ | 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:  git | ||||||
| BuildRequires:  golang | BuildRequires:  golang >= 1.22 | ||||||
| BuildRequires:  nodejs |  | ||||||
| BuildRequires:  nodejs-npm |  | ||||||
| BuildRequires:  pam-devel | BuildRequires:  pam-devel | ||||||
| Requires(pre):  /usr/bin/getent | Requires(pre):  /usr/bin/getent | ||||||
| Requires(pre):  /usr/sbin/useradd | Requires(pre):  /usr/sbin/useradd | ||||||
| @@ -31,7 +32,7 @@ Requires:       git | |||||||
|  |  | ||||||
|  |  | ||||||
| %prep | %prep | ||||||
| %setup -q -n %{name}-%{version} | %setup -q -n %{name}-src-%{version} | ||||||
|  |  | ||||||
| %build | %build | ||||||
| sed -i -e 's/-s -w //g' Makefile | sed -i -e 's/-s -w //g' Makefile | ||||||
| @@ -80,6 +81,7 @@ fi | |||||||
| %files | %files | ||||||
| %license LICENSE | %license LICENSE | ||||||
| %doc CHANGELOG.md | %doc CHANGELOG.md | ||||||
|  | %doc CODE_OF_CONDUCT.md | ||||||
| %doc CONTRIBUTING.md | %doc CONTRIBUTING.md | ||||||
| %doc DCO | %doc DCO | ||||||
| %doc MAINTAINERS | %doc MAINTAINERS | ||||||
| @@ -94,6 +96,9 @@ fi | |||||||
|  |  | ||||||
|  |  | ||||||
| %changelog | %changelog | ||||||
|  | * Sun Jul 07 2024 Jason Rothstein | ||||||
|  | - version bump to 1.22.1 | ||||||
|  |  | ||||||
| * Fri Apr 19 2024 Jason Rothstein | * Fri Apr 19 2024 Jason Rothstein | ||||||
| - version bump to 1.21.11 | - version bump to 1.21.11 | ||||||
|  |  | ||||||
| @@ -112,71 +117,3 @@ fi | |||||||
| - add new nodejs, npm, git package dependency | - add new nodejs, npm, git package dependency | ||||||
| - strip -Wl,-z,relro from LDFLAGS because that isn't compatible with Go | - 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 |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user