-
Notifications
You must be signed in to change notification settings - Fork 10
/
.packit.yaml
35 lines (30 loc) · 1.04 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
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: .packit_rpm/dfuzzer.spec
files_to_sync:
- .packit.yaml
- src: .packit_rpm/dfuzzer.spec
dest: dfuzzer.spec
upstream_package_name: dfuzzer
downstream_package_name: dfuzzer
upstream_project_url: https://github.com/dbus-fuzzer/dfuzzer
upstream_tag_template: "v{version}"
actions:
post-upstream-clone:
# Use the Fedora Rawhide specfile
- "git clone https://src.fedoraproject.org/rpms/dfuzzer .packit_rpm --depth=1"
# Drop the "sources" file so rebase-helper doesn't think we're a dist-git
- "rm -fv .packit_rpm/sources"
- sed -i '1 i%define _unpackaged_files_terminate_build 0' .packit_rpm/dfuzzer.spec
- sed -i 's/^%meson$/%meson --werror -Ddfuzzer-test-server=true/' .packit_rpm/dfuzzer.spec
jobs:
- job: copr_build
trigger: pull_request
metadata:
targets:
- fedora-stable-aarch64
- fedora-stable-armhfp
- fedora-stable-i386
- fedora-stable-ppc64le
- fedora-stable-s390x
- fedora-stable-x86_64