Debian Codegraph @

.packit.yaml

raw symbols SCIP
1 ---
2 upstream_project_url: https://github.com/authselect/authselect
3 issue_repository: https://github.com/authselect/authselect
4
5 upstream_package_name: authselect
6
7 # Prepare the spec file to be consumed by packit.
8 # We replace the configure script placeholders, the version and release is
9 # then set by packit to correct values.
10 packages:
11 upstream:
12 specfile_path: rpm/authselect.spec
13 actions:
14 post-upstream-clone:
15 - cp rpm/authselect.spec.in rpm/authselect.spec
16 - sed -i "s/@PACKAGE_VERSION@/0/g" rpm/authselect.spec
17 - sed -i "s/@RELEASE_NUMBER@/99/g" rpm/authselect.spec
18 get-current-version:
19 - bash -c 'grep "VERSION_NUMBER" version.m4 | sed -E "s/.+, ([0-9].+).+/\\1/"'
20 downstream:
21 specfile_path: rpm/authselect.spec
22 actions:
23 # Switch to %autorelease and enable gpg verification.
24 post-upstream-clone:
25 - cp rpm/authselect.spec.in rpm/authselect.spec
26 - sed -i "s/@PACKAGE_VERSION@/0/g" rpm/authselect.spec
27 - sed -i "s/@RELEASE_NUMBER@%{?dist}/%autorelease/g" rpm/authselect.spec
28
29 jobs:
30 # Produce COPR builds on push
31 - job: copr_build
32 trigger: commit
33 packages:
34 - upstream
35 targets:
36 - fedora-all
37 - centos-stream-10
38
39 # Produce COPR build on each pull request
40 - job: copr_build
41 trigger: pull_request
42 packages:
43 - upstream
44 targets:
45 - fedora-all
46 - centos-stream-10
47
48 # Create Fedora pull request on release
49 - job: propose_downstream
50 trigger: release
51 packages:
52 - downstream
53 dist_git_branches:
54 - fedora-all
55
56 # Automatically build in Koji when PR is merged
57 - job: koji_build
58 trigger: commit
59 packages:
60 - downstream
61 dist_git_branches:
62 - fedora-all
63
64 # Automatically open Bodhi update when Koji build is available
65 - job: bodhi_update
66 trigger: commit
67 packages:
68 - downstream
69 dist_git_branches:
70 - fedora-branched # rawhide updates are created automatically