Skip to content

Commit

Permalink
Add initial PackIt config
Browse files Browse the repository at this point in the history
  • Loading branch information
davide125 committed Dec 20, 2022
1 parent fb36e30 commit aa513da
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ __pycache__
*.swp
*.orig
*.rej
m1n1\.spec
m1n1-*\.src\.rpm
m1n1-*\.tar\.gz
41 changes: 41 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/

specfile_path: m1n1.spec
files_to_sync:
- m1n1.spec
- .packit.yaml

actions:
# Fetch the specfile from Rawhide, drop any patches and disable rpmautospec
post-upstream-clone: "bash -c \"curl -s https://src.fedoraproject.org/rpms/m1n1/raw/main/f/m1n1.spec | sed -e '/^Patch: /d' -e '/^%autochangelog$/d' > m1n1.spec\""

srpm_build_deps:
- bash
- curl
- sed

jobs:
- job: copr_build
trigger: commit
owner: "@asahi"
project: packit-builds
targets:
- fedora-all-aarch64
- fedora-all-armhfp
- fedora-all-i386
- fedora-all-ppc64le
- fedora-all-s390x
- fedora-all-x86_64

- job: copr_build
trigger: pull_request
owner: "@asahi"
project: packit-builds
targets:
- fedora-all-aarch64
- fedora-all-armhfp
- fedora-all-i386
- fedora-all-ppc64le
- fedora-all-s390x
- fedora-all-x86_64

0 comments on commit aa513da

Please sign in to comment.