Skip to content

Commit abd20e5

Browse files
committed
add packit
1 parent f9e737c commit abd20e5

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.packit.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# See the documentation for more information:
2+
# https://packit.dev/docs/configuration/
3+
4+
specfile_path: hdapsd.spec
5+
6+
# add or remove files that should be synced
7+
files_to_sync:
8+
- hdapsd.spec
9+
- .packit.yaml
10+
11+
actions:
12+
get-current-version:
13+
- bash -c "grep AC_INIT configure.ac | cut -f2 -d, | tr --complement --delete '0-9'"
14+
15+
# name in upstream package repository/registry (e.g. in PyPI)
16+
upstream_package_name: hdapsd
17+
# downstream (Fedora) RPM package name
18+
downstream_package_name: hdapsd
19+
20+
upstream_tag_template: '{version}'
21+
22+
jobs:
23+
- &copr
24+
job: copr_build
25+
trigger: pull_request
26+
targets:
27+
- epel-9
28+
- epel-10
29+
- fedora-stable
30+
31+
- <<: *copr
32+
job: tests
33+
34+
- <<: *copr
35+
trigger: commit
36+
branch: master
37+
owner: evgeni
38+
project: linux-thinkpad-devel

0 commit comments

Comments
 (0)