2023-01-03 16:19:44 +01:00
|
|
|
# See the documentation for more information:
|
|
|
|
# https://packit.dev/docs/configuration/
|
|
|
|
---
|
2024-06-12 09:18:21 +02:00
|
|
|
upstream_project_url: https://github.com/release-engineering/dist-git
|
|
|
|
|
|
|
|
actions: &common_actions
|
2023-01-03 16:19:44 +01:00
|
|
|
create-archive:
|
|
|
|
- bash -c "tito build --tgz --test -o ."
|
|
|
|
- bash -c "ls -1t ./*.tar.gz | head -n 1"
|
|
|
|
get-current-version:
|
2024-06-12 09:18:21 +02:00
|
|
|
- bash -c "grep -Po 'Version. +\K.*' *.spec"
|
|
|
|
|
|
|
|
srpm_build_deps:
|
|
|
|
- tito
|
|
|
|
- git
|
|
|
|
|
|
|
|
packages:
|
|
|
|
dist-git:
|
|
|
|
specfile_path: dist-git.spec
|
|
|
|
upstream_package_name: dist-git
|
|
|
|
downstream_package_name: dist-git
|
|
|
|
upstream_tag_template: 'dist-git-{version}'
|
|
|
|
paths:
|
|
|
|
- dist-git
|
2024-06-12 09:34:57 +02:00
|
|
|
dist-git-client:
|
|
|
|
specfile_path: dist-git-client.spec
|
|
|
|
upstream_package_name: dist-git-client
|
|
|
|
downstream_package_name: dist-git-client
|
|
|
|
upstream_tag_template: 'dist-git-client-{version}'
|
|
|
|
paths:
|
|
|
|
- dist-git-client
|
2023-01-03 16:19:44 +01:00
|
|
|
jobs:
|
|
|
|
- &copr
|
|
|
|
job: copr_build
|
2024-06-12 09:18:21 +02:00
|
|
|
packages:
|
|
|
|
- dist-git
|
2024-06-12 09:34:57 +02:00
|
|
|
- dist-git-client
|
2023-01-03 16:19:44 +01:00
|
|
|
trigger: pull_request
|
|
|
|
metadata:
|
|
|
|
targets:
|
2023-01-04 16:29:13 +01:00
|
|
|
- fedora-all-x86_64
|
|
|
|
- epel-8-x86_64
|
|
|
|
- epel-9-x86_64
|
2024-11-24 15:42:31 +01:00
|
|
|
- epel-10-x86_64
|
2023-01-03 16:19:44 +01:00
|
|
|
|
|
|
|
- <<: *copr
|
|
|
|
trigger: commit
|
|
|
|
metadata:
|
|
|
|
owner: "@copr"
|
|
|
|
project: "copr-dev"
|
|
|
|
branch: main
|