forked from nmstate/nmstate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.packit.yml
31 lines (31 loc) · 848 Bytes
/
.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
---
specfile_path: nmstate.spec
upstream_package_name: nmstate
upstream_project_url: http://nmstate.io
enable_net: true
srpm_build_deps:
- make
- git
notifications:
pull_request:
successful_build: true
actions:
post-upstream-clone:
- "make packaging/nmstate.spec"
- "sed -i -e '/^Source1/d' packaging/nmstate.spec"
- "sed -i -e '/^Source2/d' packaging/nmstate.spec"
- "sed -i -e '/^Source3/d' packaging/nmstate.spec"
- "mv packaging/nmstate.spec ./"
# packit will try to download all SOURCES even those are not ignored by
# rpm condiction check, so we remove it extra sources for copr build
create-archive:
- "make dist"
get-current-version:
- "cat VERSION"
jobs:
- job: copr_build
trigger: pull_request
metadata:
targets:
- centos-stream-9-x86_64
- epel-9-x86_64