mirror of
https://abf.rosa.ru/djam/openssl3.3.git
synced 2025-02-23 17:32:48 +00:00
3.3.1
This commit is contained in:
parent
7dea2d4a87
commit
609121b332
1 changed files with 20 additions and 3 deletions
|
@ -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,6 +259,14 @@ 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
|
||||
|
||||
|
@ -258,3 +274,4 @@ rm -f %{buildroot}%{_optdir}/%{name}/%{_lib}/*.a
|
|||
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 \;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue