This commit is contained in:
Sergey Zhemoytel 2024-06-22 23:14:42 +00:00
parent c3403ecf3f
commit 086f5fe307

View file

@ -22,7 +22,7 @@
Summary: OpenSSL 1.1 for platforms with OpenSSL 1.0 as the main version of OpenSSL Summary: OpenSSL 1.1 for platforms with OpenSSL 1.0 as the main version of OpenSSL
Name: %{oname}%{major} Name: %{oname}%{major}
Version: 1.1.1w Version: 1.1.1w
Release: 1 Release: 2
License: OpenSSL License: OpenSSL
Group: System/Libraries Group: System/Libraries
URL: https://www.openssl.org URL: https://www.openssl.org
@ -249,4 +249,10 @@ 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 \;
# rename pkg-config
pushd %{buildroot}%{_optdir}/%{name}/lib/pkgconfig
mv libcrypto.pc libcrypto1.1.pc
mv libssl.pc libssl1.1.pc
mv openssl.pc openssl1.1.pc