packit provide us with possibility to automatically build RPM package for each PR, this configuration change enable the feature
15 lines
413 B
YAML
15 lines
413 B
YAML
# we have the specfile in the root of our repository
|
|
specfile_path: osbuild.spec
|
|
# when doing an update in Fedora, we want to copy the spec file and the config file
|
|
synced_files:
|
|
- osbuild.spec
|
|
- .packit.yaml
|
|
upstream_project_name: osbuild
|
|
downstream_package_name: osbuild
|
|
jobs:
|
|
- job: copr_build
|
|
trigger: pull_request
|
|
metadata:
|
|
targets:
|
|
- fedora-30-x86_64
|
|
- fedora-rawhide-x86_64
|