diff --git a/openssl1.1.spec b/openssl1.1.spec index 9229c51..24df2c0 100644 --- a/openssl1.1.spec +++ b/openssl1.1.spec @@ -22,7 +22,7 @@ Summary: OpenSSL 1.1 for platforms with OpenSSL 1.0 as the main version of OpenSSL Name: %{oname}%{major} Version: 1.1.1w -Release: 1 +Release: 2 License: OpenSSL Group: System/Libraries URL: https://www.openssl.org @@ -249,4 +249,10 @@ 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 \; + +# 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