From 609121b33214f14b4a470dcac5a7a68b67e17d21 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Sun, 23 Jun 2024 13:45:14 +0000 Subject: [PATCH] 3.3.1 --- openssl3.3.spec | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/openssl3.3.spec b/openssl3.3.spec index 34f1397..86b96ed 100644 --- a/openssl3.3.spec +++ b/openssl3.3.spec @@ -21,7 +21,7 @@ Summary: OpenSSL %{ssl_ver} for platforms with OpenSSL 1.0 as the main version of OpenSSL Name: %{oname}%{ssl_ver} Version: 3.3.1 -Release: 1 +Release: 2 License: OpenSSL Group: System/Libraries URL: https://www.openssl.org @@ -54,7 +54,7 @@ BuildRequires: /usr/bin/pod2man Requires: perl-base Requires: rootcerts # using /etc/pki/tls from the main openssl package (openssl 1.0) -Requires: openssl +#Requires: openssl Provides: openssl%{major} = %{EVRD} %description @@ -75,11 +75,13 @@ This is OpenSSL %{major} for platforms with OpenSSL 1.0 as the main version of O %{_optdir}/%{name}/%{_lib}/engines-%{major}/* %{_optdir}/%{name}/ssl/* %{_optdir}/%{name}/%{_lib}/ossl-modules/legacy.so +%{_optdir}/%{name}/lib #---------------------------------------------------------------------------- %package devel Summary: Development files for openssl%{ssl_ver} +Requires: %{name} = %{EVRD} %description devel Development files for openssl%{ssl_ver} @@ -187,6 +189,7 @@ sslarch=linux-generic32 sslarch=linux-generic64 %endif + # ia64, x86_64, ppc, ppc64 are OK by default # Configure the build tree. Override OpenSSL defaults with known-good defaults # usable on all platforms. The Configure script already knows to use -fPIC and @@ -207,6 +210,11 @@ sslarch=linux-generic64 no-mdc2 \ no-srp \ zlib-dynamic \ + enable-gost \ + sctp \ + enable-quic \ + enable-zstd \ + enable-zstd-dynamic \ shared \ ${sslarch} @@ -251,10 +259,19 @@ mv libssl.pc libssl3.3.pc mv openssl.pc openssl3.3.pc popd +%ifarch x86_64 amd64 +# fix lib +pushd %{buildroot}%{_optdir}/%{name}/ +ln -s lib64 lib +popd + + +%endif # clean .a rm -f %{buildroot}%{_optdir}/%{name}/%{_lib}/*.a # mans compress find %{buildroot}%{_optdir}/%{name}/share/man -type f -name "*.*" -exec xz -z {} \; find %{buildroot}%{_optdir}/%{name}/share/man -type l -name "*.*" -exec %{SOURCE1} {} \; -find %{buildroot}%{_optdir}/%{name}/share/man -type l -name "*.*" -exec mv -f {} {}.xz \; \ No newline at end of file +find %{buildroot}%{_optdir}/%{name}/share/man -type l -name "*.*" -exec mv -f {} {}.xz \; +