-
Notifications
You must be signed in to change notification settings - Fork 3
/
.packit.yaml
42 lines (35 loc) · 1.02 KB
/
.packit.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: cscppc.spec
# add or remove files that should be synced
files_to_sync:
- cscppc.spec
- .packit.yaml
# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: cscppc
# downstream (Fedora) RPM package name
downstream_package_name: cscppc
srpm_build_deps: [rpm-build]
update_release: false
actions:
post-upstream-clone: ./make-srpm.sh --generate-sources
create-archive: bash -c "ls -1 ./cscppc-*.tar.xz"
get-current-version: "sed -n 's|^Version: *||p' cscppc.spec"
jobs:
- &copr
job: copr_build
trigger: pull_request
targets:
- epel-all-aarch64
- epel-all-ppc64le
- epel-all-s390x
- epel-all-x86_64
- fedora-all-aarch64
- fedora-all-ppc64le
- fedora-all-s390x
- fedora-all-x86_64
- <<: *copr
trigger: commit
owner: "@codescan"
project: "csutils"
branch: main