summaryrefslogtreecommitdiff
path: root/.packit.yml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-11-02 14:37:19 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-12-01 12:36:57 +0100
commit684e0a560514f9aaf02813f3f6c4a017400c9d51 (patch)
treebf76c79230aa57181d1d46642ae6a1c2b9053472 /.packit.yml
parent6e7323137ae52da36896ecd238a8de87961cc3a3 (diff)
downloadsystemd-684e0a560514f9aaf02813f3f6c4a017400c9d51.tar.gz
ci: temporarily set -Wno-deprecated-declarations in Packit
to suppress OpenSSL 3.0 deprecation warnings (until a proper solution is deployed): RSA_free, EC_KEY_free, RSA_set0_key, RSA_size, EVP_PKEY_assign, EC_KEY_set_group, and others are deprecated.
Diffstat (limited to '.packit.yml')
-rw-r--r--.packit.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.packit.yml b/.packit.yml
index 962c77913e..98b71fc15e 100644
--- a/.packit.yml
+++ b/.packit.yml
@@ -31,6 +31,9 @@ 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'
+ # FIXME: temporarily disable the deprecated-declarations check to suppress
+ # OpenSSL 3.0 warnings in Rawhide
+ - 'sed -i "1 i %global optflags %{optflags} -Wno-deprecated-declarations" .packit_rpm/systemd.spec'
jobs:
- job: copr_build