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
|
Summary: OpenSSL %{ssl_ver} for platforms with OpenSSL 1.0 as the main version of OpenSSL
|
||||||
Name: %{oname}%{ssl_ver}
|
Name: %{oname}%{ssl_ver}
|
||||||
Version: 3.3.1
|
Version: 3.3.1
|
||||||
Release: 1
|
Release: 2
|
||||||
License: OpenSSL
|
License: OpenSSL
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
URL: https://www.openssl.org
|
URL: https://www.openssl.org
|
||||||
|
@ -54,7 +54,7 @@ BuildRequires: /usr/bin/pod2man
|
||||||
Requires: perl-base
|
Requires: perl-base
|
||||||
Requires: rootcerts
|
Requires: rootcerts
|
||||||
# using /etc/pki/tls from the main openssl package (openssl 1.0)
|
# using /etc/pki/tls from the main openssl package (openssl 1.0)
|
||||||
Requires: openssl
|
#Requires: openssl
|
||||||
Provides: openssl%{major} = %{EVRD}
|
Provides: openssl%{major} = %{EVRD}
|
||||||
|
|
||||||
%description
|
%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}/%{_lib}/engines-%{major}/*
|
||||||
%{_optdir}/%{name}/ssl/*
|
%{_optdir}/%{name}/ssl/*
|
||||||
%{_optdir}/%{name}/%{_lib}/ossl-modules/legacy.so
|
%{_optdir}/%{name}/%{_lib}/ossl-modules/legacy.so
|
||||||
|
%{_optdir}/%{name}/lib
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for openssl%{ssl_ver}
|
Summary: Development files for openssl%{ssl_ver}
|
||||||
|
Requires: %{name} = %{EVRD}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development files for openssl%{ssl_ver}
|
Development files for openssl%{ssl_ver}
|
||||||
|
@ -187,6 +189,7 @@ sslarch=linux-generic32
|
||||||
sslarch=linux-generic64
|
sslarch=linux-generic64
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
# ia64, x86_64, ppc, ppc64 are OK by default
|
# ia64, x86_64, ppc, ppc64 are OK by default
|
||||||
# Configure the build tree. Override OpenSSL defaults with known-good defaults
|
# Configure the build tree. Override OpenSSL defaults with known-good defaults
|
||||||
# usable on all platforms. The Configure script already knows to use -fPIC and
|
# usable on all platforms. The Configure script already knows to use -fPIC and
|
||||||
|
@ -207,6 +210,11 @@ sslarch=linux-generic64
|
||||||
no-mdc2 \
|
no-mdc2 \
|
||||||
no-srp \
|
no-srp \
|
||||||
zlib-dynamic \
|
zlib-dynamic \
|
||||||
|
enable-gost \
|
||||||
|
sctp \
|
||||||
|
enable-quic \
|
||||||
|
enable-zstd \
|
||||||
|
enable-zstd-dynamic \
|
||||||
shared \
|
shared \
|
||||||
${sslarch}
|
${sslarch}
|
||||||
|
|
||||||
|
@ -251,10 +259,19 @@ mv libssl.pc libssl3.3.pc
|
||||||
mv openssl.pc openssl3.3.pc
|
mv openssl.pc openssl3.3.pc
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
%ifarch x86_64 amd64
|
||||||
|
# fix lib
|
||||||
|
pushd %{buildroot}%{_optdir}/%{name}/
|
||||||
|
ln -s lib64 lib
|
||||||
|
popd
|
||||||
|
|
||||||
|
|
||||||
|
%endif
|
||||||
# clean .a
|
# clean .a
|
||||||
rm -f %{buildroot}%{_optdir}/%{name}/%{_lib}/*.a
|
rm -f %{buildroot}%{_optdir}/%{name}/%{_lib}/*.a
|
||||||
|
|
||||||
# mans compress
|
# mans compress
|
||||||
find %{buildroot}%{_optdir}/%{name}/share/man -type f -name "*.*" -exec xz -z {} \;
|
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 %{SOURCE1} {} \;
|
||||||
find %{buildroot}%{_optdir}/%{name}/share/man -type l -name "*.*" -exec mv -f {} {}.xz \;
|
find %{buildroot}%{_optdir}/%{name}/share/man -type l -name "*.*" -exec mv -f {} {}.xz \;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue