diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..d985d82 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,38 @@ +# We want to use the following Packit functions in the libarchive package: +# koji_build, bodhi_update and pull_from_upstream + +# See the documentation for more information: +# https://packit.dev/docs/configuration/ + +specfile_path: libarchive.spec + +# name in upstream package repository or registry (e.g. in PyPI) +upstream_package_name: libarchive +upstream_project_url: https://github.com/libarchive/libarchive +# downstream (Fedora) RPM package name +downstream_package_name: libarchive +issue_repository: https://src.fedoraproject.org/rpms/libarchive + +actions: + changelog-entry: + - echo "- Rebase to version ${PACKIT_PROJECT_VERSION}" + +jobs: + - job: pull_from_upstream + trigger: release + dist_git_branches: + - fedora-latest + - fedora-rawhide + + - job: koji_build + trigger: commit + allowed_pr_authors: ["packit", "ljavorsk", "mmuzila", "praiskup"] + allowed_committers: ["packit", "ljavorsk", "mmuzila", "praiskup"] + dist_git_branches: + - fedora-latest + - fedora-rawhide + + - job: bodhi_update + trigger: commit + dist_git_branches: + - fedora-latest # rawhide updates are created automatically