Commit graph

5 commits

Author SHA1 Message Date
Florian Schüller
1f94684f53 .packit.yaml: fix patching the spec file 2024-12-19 14:45:01 +00:00
Florian Schüller
7e181e30c9 .packit.yaml: implement version fallback until we have a tag 2024-12-19 14:45:01 +00:00
Tomáš Hozza
3ae39416c7 FIXUP: .packit.yaml: fix issues when building SRPM
FWIW, I never get || and && correctly in Bash for the first time :D

Also handle the case then the repository does not contain any version
tags yet by defaulting to "1".

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-12-19 14:45:01 +00:00
Tomáš Hozza
f4fa09abf3 FIXUP: .packit.yaml: fix issues when building SRPM
Packit needs golang to be installed when we build SRPM, because we need
to vendor code to generate the archive.

Moreover, we need to vendor code to be able to modify SPEC port upstream
clone to include bundled code.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-12-19 14:45:01 +00:00
Tomáš Hozza
b870c404a5 Add initial Packit configuration
For now, Packit should trigger COPR buils for PRs and merges to the
`main` branch.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-12-19 14:45:01 +00:00