Add copr build
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
name: Build and provide rpm of gitea
|
||||
run-name: Build gitea from ${{ gitea.repository }} on COPR
|
||||
on: [release]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: f43-minimal-copr
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
- name: Build src.rpm and send to COPR
|
||||
uses: https://git.demus.dk/actions/copr-build@main
|
||||
with:
|
||||
copr_config: ${{ secrets.COPR_API_CONFIG }}
|
||||
copr_project: gitea
|
||||
fedora_release: f43
|
||||
specdir: rpm
|
||||
@@ -0,0 +1,16 @@
|
||||
name: Build and provide rpm of gitea
|
||||
run-name: Build gitea from ${{ gitea.repository }} on COPR
|
||||
on: [release]
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: rawhide-minimal-copr
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
- name: Build src.rpm and send to COPR
|
||||
uses: https://git.demus.dk/actions/copr-build@main
|
||||
with:
|
||||
copr_config: ${{ secrets.COPR_API_CONFIG }}
|
||||
copr_project: gitea
|
||||
fedora_release: rawhide
|
||||
specdir: rpm
|
||||
@@ -0,0 +1,25 @@
|
||||
name: Build and provide rpm of gitea
|
||||
run-name: Build gitea from ${{ gitea.repository }} on COPR
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
fedora_release:
|
||||
type: choice
|
||||
description: "Choose a fedora release"
|
||||
required: true
|
||||
options:
|
||||
- "f43"
|
||||
- "rawhide"
|
||||
jobs:
|
||||
rpmbuild:
|
||||
runs-on: ${{ inputs.fedora_release }}-minimal-copr
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: https://git.demus.dk/actions/git-clone@main
|
||||
- name: Build src.rpm and send to COPR
|
||||
uses: https://git.demus.dk/actions/copr-build@main
|
||||
with:
|
||||
copr_config: ${{ secrets.COPR_API_CONFIG }}
|
||||
copr_project: gitea
|
||||
fedora_release: ${{ inputs.fedora_release }}
|
||||
specdir: rpm
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
%global major_version 1
|
||||
%global minor_version 24
|
||||
%global micro_version 7
|
||||
%global minor_version 25
|
||||
%global micro_version 3
|
||||
|
||||
%define debug_package %{nil}
|
||||
|
||||
@@ -26,7 +26,7 @@ Patch1: 0001-gitea.app.ini.patch
|
||||
%dnl Patch2: 0001-makefile.patch
|
||||
|
||||
BuildRequires: systemd
|
||||
BuildRequires: go >= 1.24.0
|
||||
BuildRequires: go >= 1.25.5
|
||||
BuildRequires: git
|
||||
BuildRequires: make
|
||||
BuildRequires: nodejs-devel >= 22.21.1
|
||||
|
||||
Reference in New Issue
Block a user