Skip to content

Commit

Permalink
[skip-ci] Packit: downstream package name at package level
Browse files Browse the repository at this point in the history
Packit doesn't honor a global `downstream_package_name` key when the
upstream repo and downstream package name don't match. For this very
repo, upstream repo is `common`, while downstream package is
`containers-common`.

For such cases, `downstream_package_name` should be specified at the
package level.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
  • Loading branch information
lsm5 committed May 23, 2024
1 parent 79d954c commit 9144bc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/

downstream_package_name: containers-common
upstream_tag_template: v{version}

packages:
containers-common-fedora:
downstream_package_name: containers-common
pkg_tool: fedpkg
specfile_path: rpm/containers-common.spec
containers-common-centos:
downstream_package_name: containers-common
pkg_tool: centpkg
specfile_path: rpm/containers-common.spec

Expand Down

0 comments on commit 9144bc1

Please sign in to comment.