Skip to content

Commit

Permalink
packit: Integration and configuration for Packit service
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihalko committed Feb 21, 2024
1 parent 180ff19 commit 5c7977c
Show file tree
Hide file tree
Showing 3 changed files with 691 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,19 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/

specfile_path: polkit.spec
specfile_path: .packit/polkit.spec

# add or remove files that should be synced
files_to_sync:
- polkit.spec
- .packit.yaml
- .packit/polkit.spec
- .packit/polkit.sysusers
- packit.yaml

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

srpm_build_deps:
- wget
- sed

actions:
post-upstream-clone:
- "wget https://src.fedoraproject.org/rpms/polkit/raw/rawhide/f/polkit.spec -O polkit.spec"
- "wget https://src.fedoraproject.org/rpms/polkit/raw/rawhide/f/polkit.sysusers -O polkit.sysusers"
- "sed -ri '/^Patch[0-9]+/d' polkit.spec"

jobs:
- job: copr_build
trigger: pull_request
Expand Down
Loading

0 comments on commit 5c7977c

Please sign in to comment.