fix: cockpit-sensors with correty base project

This commit is contained in:
Cristopfer Luis Viana da Silva 2024-02-05 11:26:28 -03:00
parent f9f2da6974
commit 57ad28ed58
13 changed files with 440 additions and 78 deletions

View file

@ -2,7 +2,7 @@
# To use this, enable Packit-as-a-service in GitHub: https://packit.dev/docs/packit-as-a-service/
# See https://packit.dev/docs/configuration/ for the format of this file
specfile_path: cockpit-starter-kit.spec
specfile_path: cockpit-sensors.spec
# use the nicely formatted release description from our upstream release, instead of git shortlog
copy_upstream_release_description: true
@ -12,24 +12,24 @@ srpm_build_deps:
actions:
post-upstream-clone:
- make cockpit-starter-kit.spec
- make cockpit-sensors.spec
# replace Source1 manually, as create-archive: can't handle multiple tarballs
- make node-cache
- sh -c 'sed -i "/^Source1:/ s/https:.*/$(ls *-node*.tar.xz)/" cockpit-*.spec'
create-archive: make dist
# starter-kit.git has no release tags; your project can drop this once you have a release
# sensors.git has no release tags; your project can drop this once you have a release
get-current-version: make print-version
jobs:
- job: copr_build
trigger: pull_request
targets:
- fedora-all
- fedora-latest-aarch64
- centos-stream-8
- centos-stream-9
- centos-stream-9-aarch64
- fedora-all
- fedora-latest-aarch64
- centos-stream-8
- centos-stream-9
- centos-stream-9-aarch64
- job: tests
trigger: pull_request
targets: