Enable build on OpenSSL 3.0

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2022-10-28 14:34:13 -04:00
parent aee113dd8f
commit 37bbd2d2b9
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11

View File

@ -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 <sgallagh@redhat.com> - 0.6.1-12
- Enable build on OpenSSL 3.0
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild