From 37bbd2d2b9799b532bc84acee7db673d48c5bcae Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 28 Oct 2022 14:34:13 -0400 Subject: [PATCH] Enable build on OpenSSL 3.0 Signed-off-by: Stephen Gallagher --- cjose.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cjose.spec b/cjose.spec index ba8a307..f440614 100644 --- a/cjose.spec +++ b/cjose.spec @@ -1,6 +1,6 @@ Name: cjose Version: 0.6.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: C library implementing the Javascript Object Signing and Encryption (JOSE) License: MIT @@ -9,6 +9,10 @@ Source0: https://github.com/cisco/%{name}/archive/%{version}/%{name}-%{version Patch1: concatkdf.patch +# Patch taken from CentOS Stream: +# https://gitlab.com/redhat/centos-stream/rpms/cjose/-/blob/c9s/0001-Define-OPENSSL_API_COMPAT-to-0x10101000L.patch +Patch2: 0001-Define-OPENSSL_API_COMPAT-to-0x10101000L.patch + BuildRequires: gcc BuildRequires: doxygen BuildRequires: openssl-devel @@ -63,6 +67,9 @@ make check || (cat test/test-suite.log; exit 1) %changelog +* Fri Oct 28 2022 Stephen Gallagher - 0.6.1-12 +- Enable build on OpenSSL 3.0 + * Wed Jul 20 2022 Fedora Release Engineering - 0.6.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild