-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added initial support for bulding RPMs using Packit
* Card ID: CCT-231 * Added .packit.yml * RPMs are build, when PR is created/updated * RPMs are build for CentOS Strem 8/9, RHEL 8/9 and all Fedoras * Added autochangelog and set source_date_epoch_from_changelog to 0. Use %autochangelog only for rhel9+ and fedora. * Deleted .copr/Makefile * Moved rhc.spec.in to ./ * Added rhc.spec target to Makefile and modified this file little bit
- Loading branch information
1 parent
1175d1c
commit 6f08033
Showing
4 changed files
with
80 additions
and
54 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
upstream_package_name: rhc | ||
downstream_package_name: rhc | ||
specfile_path: rhc.spec | ||
|
||
srpm_build_deps: | ||
- gawk | ||
- git-core | ||
- golang | ||
- make | ||
- 'pkgconfig(dbus-1)' | ||
- 'pkgconfig(systemd)' | ||
- rpm-build | ||
|
||
actions: | ||
post-upstream-clone: | ||
- bash -c 'make rhc.spec dist' | ||
get-current-version: | ||
- awk '/^Version:/ {print $2;}' ./rhc.spec | ||
create-archive: | ||
- bash -c 'echo rhc-*.tar.*' | ||
fix-spec-file: | ||
- echo 'nothing to fix' | ||
|
||
jobs: | ||
- job: copr_build | ||
trigger: pull_request | ||
additional_repos: | ||
- "copr://@yggdrasil/latest" | ||
targets: | ||
- centos-stream-8 | ||
- centos-stream-9 | ||
- fedora-all | ||
- rhel-8 | ||
- rhel-9 | ||
|
||
- job: copr_build | ||
trigger: commit | ||
additional_repos: | ||
- "copr://@yggdrasil/latest" | ||
branch: main | ||
owner: "@yggdrasil" | ||
project: latest | ||
targets: | ||
- centos-stream-8 | ||
- centos-stream-9 | ||
- fedora-all | ||
- rhel-8 | ||
- rhel-9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters