-
Notifications
You must be signed in to change notification settings - Fork 21
/
.packit.yaml
94 lines (86 loc) · 2.32 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
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
actions:
post-upstream-clone:
- 'cp dist/libbytesize.spec.in dist/libbytesize.spec'
- 'sed -i -e "s/@WITH_PYTHON3@/1/g" -e "s/@WITH_GTK_DOC@/1/g" -e "s/@WITH_TOOLS@/1/g" dist/libbytesize.spec'
create-archive:
- './autogen.sh'
- './configure'
- 'make'
- 'make local'
- 'bash -c "ls *.tar*"'
jobs:
- job: copr_build
metadata:
targets:
- fedora-all-aarch64
- fedora-all-ppc64le
- fedora-all-x86_64
- centos-stream-10-aarch64
- centos-stream-10-ppc64le
- centos-stream-10-x86_64
- centos-stream-9-aarch64
- centos-stream-9-ppc64le
- centos-stream-9-x86_64
trigger: pull_request
- job: copr_build
trigger: commit
owner: "@storage"
project: blivet-daily
branch: main
preserve_project: true
actions:
post-upstream-clone:
# bump release to 99 to always be ahead of Fedora builds
- 'bash -c "sed -i -r \"s/Release:(\s*)\S+/Release: 99%{?dist}/\" dist/libbytesize.spec.in"'
- 'cp dist/libbytesize.spec.in dist/libbytesize.spec'
- 'sed -i -e "s/@WITH_PYTHON3@/1/g" -e "s/@WITH_GTK_DOC@/1/g" -e "s/@WITH_TOOLS@/1/g" dist/libbytesize.spec'
create-archive:
- './autogen.sh'
- './configure'
- 'make'
- 'make local'
- 'bash -c "ls *.tar*"'
- job: copr_build
trigger: commit
owner: "@storage"
project: udisks-daily
branch: main
preserve_project: true
actions:
post-upstream-clone:
# bump release to 99 to always be ahead of Fedora builds
- 'bash -c "sed -i -r \"s/Release:(\s*)\S+/Release: 99%{?dist}/\" dist/libbytesize.spec.in"'
- 'cp dist/libbytesize.spec.in dist/libbytesize.spec'
- 'sed -i -e "s/@WITH_PYTHON3@/1/g" -e "s/@WITH_GTK_DOC@/1/g" -e "s/@WITH_TOOLS@/1/g" dist/libbytesize.spec'
create-archive:
- './autogen.sh'
- './configure'
- 'make'
- 'make local'
- 'bash -c "ls *.tar*"'
- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-all
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-branched
srpm_build_deps:
- make
- gcc
- libtool
- autoconf
- automake
- gmp-devel
- mpfr-devel
- pcre2-devel
- gettext-devel
- python3-devel
- gtk-doc
downstream_package_name: libbytesize
specfile_path: dist/libbytesize.spec