Skip to content

Commit 1b96b00

Browse files
committed
Add initial packit config
Signed-off-by: Davide Cavalca <[email protected]>
1 parent ba4f878 commit 1b96b00

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ latest
77
*.egg-info
88
build
99
dist
10+
/asahi-installer\.spec
11+
/asahi-installer-*\.src\.rpm
12+
/key\.asc
13+
/python-3.9.6-macos11\.pkg
14+
/python-3.9.6-macos11\.pkg\.asc

.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: asahi-installer.spec
5+
files_to_sync:
6+
- asahi-installer.spec
7+
- .packit.yaml
8+
9+
actions:
10+
# Fetch the specfile from Rawhide, disable rpmautospec and download the
11+
# missing libffi tarball from the lookaside
12+
post-upstream-clone: "bash -c \"curl -s https://src.fedoraproject.org/rpms/asahi-installer/raw/main/f/asahi-installer.spec | sed -e '/^%autochangelog$/d' > asahi-installer.spec && curl -s --remote-name https://src.fedoraproject.org/repo/pkgs/asahi-installer/libffi-3.4.6-macos.tar.gz/sha512/84ad900bc28258a7617850612790150fb639496cb8e8bea1a96e75ecc5b678e29522c415973950a84b21adac239f3fbb6361850d2625e5072a5f341b3feb5035/libffi-3.4.6-macos.tar.gz\""
13+
14+
srpm_build_deps:
15+
- bash
16+
- curl
17+
- sed
18+
19+
jobs:
20+
- job: copr_build
21+
trigger: commit
22+
owner: "@asahi"
23+
project: packit-builds
24+
targets:
25+
- fedora-all-aarch64
26+
- fedora-rawhide-i386
27+
- fedora-rawhide-ppc64le
28+
- fedora-rawhide-x86_64
29+
30+
- job: copr_build
31+
trigger: pull_request
32+
owner: "@asahi"
33+
project: packit-builds
34+
targets:
35+
- fedora-all-aarch64
36+
- fedora-rawhide-i386
37+
- fedora-rawhide-ppc64le
38+
- fedora-rawhide-x86_64

0 commit comments

Comments
 (0)