Add srpm_build_deps key to the Packit configuration to specify the needed dependencies for SRPM build and indicate to build SRPM in Copr.
57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
# https://packit.dev/docs/configuration/
|
|
|
|
specfile_path: osbuild-composer.spec
|
|
|
|
synced_files:
|
|
- osbuild-composer.spec
|
|
- .packit.yaml
|
|
|
|
upstream_package_name: osbuild-composer
|
|
downstream_package_name: osbuild-composer
|
|
|
|
copy_upstream_release_description: true
|
|
|
|
upstream_tag_template: v{version}
|
|
|
|
srpm_build_deps: []
|
|
actions:
|
|
get-current-version: bash -c "git describe --tags --abbrev=0 | sed 's|v||'"
|
|
|
|
create_pr: false
|
|
jobs:
|
|
- job: propose_downstream
|
|
trigger: release
|
|
metadata:
|
|
dist_git_branches:
|
|
- fedora-all
|
|
- job: copr_build
|
|
trigger: pull_request
|
|
metadata:
|
|
targets:
|
|
- centos-stream-8-aarch64
|
|
- centos-stream-8-x86_64
|
|
- centos-stream-9-aarch64
|
|
- centos-stream-9-x86_64
|
|
- epel-8-aarch64
|
|
- epel-8-x86_64
|
|
- fedora-all-aarch64
|
|
- fedora-all-s390x
|
|
- fedora-all-ppc64le
|
|
- fedora-all
|
|
- job: copr_build
|
|
trigger: commit
|
|
metadata:
|
|
branch: main
|
|
owner: "@osbuild" # copr repo namespace
|
|
project: osbuild-composer # copr repo name so you can consume the builds
|
|
targets:
|
|
- centos-stream-8-aarch64
|
|
- centos-stream-8-x86_64
|
|
- centos-stream-9-aarch64
|
|
- centos-stream-9-x86_64
|
|
- epel-8-aarch64
|
|
- epel-8-x86_64
|
|
- fedora-all-aarch64
|
|
- fedora-all-s390x
|
|
- fedora-all-ppc64le
|
|
- fedora-all
|