From 9c466e1ca188cd34d84d43c6f1197e06682cac49 Mon Sep 17 00:00:00 2001 From: Mattias Ellert Date: Jan 31 2022 19:14:06 +0000 Subject: Use openssl 3 compatible code on EPEL 9 --- diff --git a/xrootd.spec b/xrootd.spec index aeab40b..4266a0b 100644 --- a/xrootd.spec +++ b/xrootd.spec @@ -19,7 +19,7 @@ Name: xrootd Epoch: 1 Version: 5.4.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Extended ROOT file server License: LGPLv3+ @@ -317,13 +317,10 @@ This package contains the API documentation of the xrootd libraries. # These are likely bogus - hopefully they can be fixed in gcc updates %set_build_flags CXXFLAGS="${CXXFLAGS} -Wno-error=array-bounds -Wno-error=restrict" -%ifarch %{arm} -CXXFLAGS="${CXXFLAGS} -Wno-error=use-after-free" -%endif %endif %cmake3 \ -%if %{?fedora}%{!?fedora:0} >= 36 +%if %{?fedora}%{!?fedora:0} >= 36 || %{?rhel}%{!?rhel:0} >= 9 -DWITH_OPENSSL3:BOOL=ON \ %endif %if %{ceph} @@ -687,6 +684,9 @@ fi %doc %{_pkgdocdir} %changelog +* Mon Jan 31 2022 Mattias Ellert - 1:5.4.0-5 +- Use openssl 3 compatible code on EPEL 9 + * Mon Jan 24 2022 Mattias Ellert - 1:5.4.0-4 - Fix compiler warnings from gcc 12