Rename project
Build and provide rpm of demus-packaging / Start build on COPR (f43) (release) Successful in 4m32s
Build and provide rpm of demus-packaging / Start build on COPR (f44) (release) Successful in 4m3s
Build and provide rpm of demus-packaging / Start build on COPR (rawhide) (release) Successful in 3m8s

Build on COPR
Release 1.0.0
This commit is contained in:
2026-06-07 11:56:10 +02:00
parent 5c49da65cc
commit 7375285006
3 changed files with 55 additions and 6 deletions
+28
View File
@@ -0,0 +1,28 @@
name: Build and provide rpm of demus-packaging
run-name: Build demus-packaging from ${{ gitea.repository }} on COPR
on:
workflow_dispatch:
inputs:
fedoraversion:
type: choice
description: "Choose a fedora release"
required: true
options: [ f43, f44, rawhide ]
coprproject:
type: choice
description: "Which repo"
required: true
options: [ packages, packages-test ]
jobs:
coprbuild:
name: "Start build on COPR"
runs-on: ${{ inputs.fedoraversion }}-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: ${{ inputs.coprproject }}
fedora_release: ${{ inputs.fedoraversion }}
+19
View File
@@ -0,0 +1,19 @@
name: Build and provide rpm of demus-packaging
run-name: Build demus-packaging from ${{ gitea.repository }} on COPR
on: [release]
jobs:
coprbuild:
name: "Start build on COPR"
strategy:
matrix:
fedoraversion: [ f43, f44, rawhide ]
runs-on: ${{ matrix.fedoraversion }}-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: packages
fedora_release: ${{ matrix.fedoraversion }}
@@ -1,11 +1,11 @@
%global major 0
%global minor 1
%global release 4
%global major 1
%global minor 0
%global release 0
Name: demus-packaging-utils
Name: demus-packaging
Version: %{major}.%{minor}.%{release}
Release: %autorelease
Summary: Aliases and scripts to assist in rpm packaging workflows
Summary: Macros and scripts to assist in rpm packaging workflows
License: GPL3
Source: go2rpm-vendor-update.sh
@@ -19,7 +19,9 @@ Requires: bash go-vendor-tools+all rpmdevtools askalono-cli
BuildArch: noarch
%description
* Alias to regenerate vendor archive in a go2rpm spec generated with the vendor profile
* regenerate-from-spec: Regenerate tool-generated sources referred to in a spec file
* go-vendor-update: An script that replicates the parameters used by go2rpm to generate the vendor archive, license expression and configuration. It is used in the above regenerate script.
* verify_source_checksum rpm macro: Validate that the checksums in a sources file included in a spec matches the unpacked files.
%prep
%if %{exists:%{S:2}}