Blob Blame History Raw
# We want to use the following Packit functions in the man-pages-l10n package:
# koji_build, bodhi_update and pull_from_upstream

# See the documentation for more information:
# https://packit.dev/docs/configuration/

specfile_path: man-pages-l10n.spec

# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: manpages-l10n
upstream_project_url: https://salsa.debian.org/manpages-l10n-team/manpages-l10n
# downstream (Fedora) RPM package name
downstream_package_name: man-pages-l10n
issue_repository: https://src.fedoraproject.org/rpms/man-pages-l10n

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", "nforro"]
    allowed_committers: ["packit", "ljavorsk", "nforro"]
    dist_git_branches:
      - fedora-latest
      - fedora-rawhide

  - job: bodhi_update
    trigger: commit
    dist_git_branches:
      - fedora-latest # rawhide updates are created automatically