Skip to content

Commit

Permalink
add packit
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Oct 13, 2023
1 parent 3bd2637 commit 3d0d9ca
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/

specfile_path: foreman-fapolicyd.spec

# add or remove files that should be synced
files_to_sync:
- foreman-fapolicyd.spec
- .packit.yaml

# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: foreman-fapolicyd
# downstream (Fedora) RPM package name
downstream_package_name: foreman-fapolicyd

actions:
post-upstream-clone:
- "wget https://raw.githubusercontent.com/theforeman/foreman-packaging/rpm/develop/packages/foreman/foreman-fapolicyd/foreman-fapolicyd.spec -O foreman-fapolicyd.spec"
get-current-version: "cat VERSION"

jobs:
- job: copr_build
trigger: pull_request
targets:
- centos-stream-8

srpm_build_deps:
- wget

0 comments on commit 3d0d9ca

Please sign in to comment.