From af9dc15c7cb98dee85df37a2095cec727ab29f30 Mon Sep 17 00:00:00 2001 From: Lukas Javorsky Date: Wed, 13 Sep 2023 06:35:52 +0000 Subject: [PATCH] Configure Packit on libarchive package Actions enabled: koji_build, bodhi_update, pull_from_upstream --- .packit.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .packit.yaml 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