forked from linux-application-whitelisting/fapolicyd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.packit.yaml
25 lines (22 loc) · 826 Bytes
/
.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
specfile_path: fapolicyd.spec
upstream_package_name: fapolicyd
downstream_package_name: fapolicyd
upstream_tag_template: v{version}
actions:
post-upstream-clone:
- bash -c "sed -i 's/#ELN //' fapolicyd.spec"
- bash -c "curl -L -o $(grep Source1 fapolicyd.spec | cut -d ' ' -f 2 | sed -r \"s/%\{name\}/$(grep 'Name:' fapolicyd.spec | cut -f 2 -d ' ')/g;s/%\{semodule_version\}/$(grep '%define semodule_version' fapolicyd.spec | cut -f 3 -d ' ')/g\" | sed -r 's|(.*)#/(.*)|\2 \1|')"
- bash -c "curl -L -o $(grep Source2 fapolicyd.spec | cut -d ' ' -f 2 | sed -r 's|(.*)#/(.*)|\2 \1|')"
jobs:
- job: copr_build
trigger: pull_request
targets:
- fedora-all
- epel-9
- epel-8
- job: tests
trigger: pull_request
targets:
- fedora-all
- epel-9
- epel-8