summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2022-02-15 01:21:01 +0000
committerLuca Boccassi <bluca@debian.org>2022-02-15 14:19:17 +0000
commit4d2e39342352fce3969064e58e366753e7002f46 (patch)
tree1ad01b6d7b1d23cc9153197d66ada7885096e071
parent4de7ba1565eab67153dfbecf8d1f96495df49baa (diff)
downloadsystemd-4d2e39342352fce3969064e58e366753e7002f46.tar.gz
packit: build on and use Fedora 35 spec filev249.10
It's targeted to the v249 branch, while the rawhide one follows the newest upstream release, and the command line options are not compatible
-rw-r--r--.packit.yml12
1 files changed, 5 insertions, 7 deletions
diff --git a/.packit.yml b/.packit.yml
index ee47f8954e..fb2cb5a7c3 100644
--- a/.packit.yml
+++ b/.packit.yml
@@ -16,8 +16,8 @@ upstream_tag_template: "v{version}"
actions:
post-upstream-clone:
- # Use the Fedora Rawhide specfile
- - "git clone https://src.fedoraproject.org/rpms/systemd .packit_rpm --depth=1"
+ # Use the Fedora 35 specfile
+ - "git clone --branch f35 https://src.fedoraproject.org/rpms/systemd .packit_rpm --depth=1"
# Drop the "sources" file so rebase-helper doesn't think we're a dist-git
- "rm -fv .packit_rpm/sources"
# Drop backported patches from the specfile, but keep the downstream-only ones
@@ -31,14 +31,12 @@ actions:
# [0] https://github.com/mesonbuild/meson/issues/7360
# [1] https://github.com/systemd/systemd/pull/18908#issuecomment-792250110
- 'sed -i "/^CONFIGURE_OPTS=(/a--werror" .packit_rpm/systemd.spec'
- # cryptolib is supported from v250 and newer, remove it
- - 'sed -i "/-Dcryptolib=openssl/d" .packit_rpm/systemd.spec'
jobs:
- job: copr_build
trigger: pull_request
metadata:
targets:
- - fedora-rawhide-aarch64
- - fedora-rawhide-i386
- - fedora-rawhide-x86_64
+ - fedora-35-aarch64
+ - fedora-35-i386
+ - fedora-35-x86_64