forked from systemd/pystemd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.packit.yml
69 lines (65 loc) · 1.59 KB
/
.packit.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: python-pystemd.spec
files_to_sync:
- python-pystemd.spec
- .packit.yaml
upstream_package_name: pystemd
downstream_package_name: python-pystemd
actions:
get-current-version: "python3 setup.py --version"
# Fetch the specfile from Rawhide, remove the snapshot and drop any patches
post-upstream-clone: "bash -c \"curl -s https://src.fedoraproject.org/rpms/python-pystemd/raw/main/f/python-pystemd.spec | sed -e '/^Patch[0-9]/d' > python-pystemd.spec\""
srpm_build_deps:
- bash
- curl
- systemd-devel
- python3-setuptools
- sed
jobs:
- job: copr_build
trigger: commit
owner: "@meta"
project: pystemd
targets:
- fedora-all-aarch64
- fedora-all-i386
- fedora-all-ppc64le
- fedora-all-s390x
- fedora-all-x86_64
- fedora-eln-aarch64
- fedora-eln-i386
- fedora-eln-ppc64le
- fedora-eln-s390x
- fedora-eln-x86_64
- epel-8-aarch64
- epel-8-ppc64le
- epel-8-s390x
- epel-8-x86_64
- epel-9-aarch64
- epel-9-ppc64le
- epel-9-s390x
- epel-9-x86_64
- job: copr_build
trigger: pull_request
owner: "@meta"
project: pystemd
targets:
- fedora-all-aarch64
- fedora-all-i386
- fedora-all-ppc64le
- fedora-all-s390x
- fedora-all-x86_64
- fedora-eln-aarch64
- fedora-eln-i386
- fedora-eln-ppc64le
- fedora-eln-s390x
- fedora-eln-x86_64
- epel-8-aarch64
- epel-8-ppc64le
- epel-8-s390x
- epel-8-x86_64
- epel-9-aarch64
- epel-9-ppc64le
- epel-9-s390x
- epel-9-x86_64