Packit: build SRPMs in Copr
authorLaura Barcziova <lbarczio@redhat.com>
Wed, 9 Mar 2022 06:50:29 +0000 (07:50 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 1 Apr 2022 16:56:36 +0000 (01:56 +0900)
Add srpm_build_deps key to the Packit config to specify needed dependencies for SRPM build
and indicate to build SRPM in Copr.

(cherry picked from commit d15e1a29e3aab04ee79d5e3ec8e1e65fca78e165)

.packit.yml

index e16622311ee63c00e77b78a7e306d54f9e7d5fdb..6fea40570e4a3602fc56c659f614c1f6a81ca0e2 100644 (file)
@@ -13,6 +13,7 @@ downstream_package_name: systemd
 # `git describe` returns in systemd's case 'v245-xxx' which breaks RPM version
 # detection (that expects 245-xxxx'). Let's tweak the version string accordingly
 upstream_tag_template: "v{version}"
+srpm_build_deps: []
 
 actions:
   post-upstream-clone: