diff --git a/openssl-1.0.2a-pkgconfig-krb5.patch b/openssl-1.0.2h-pkgconfig.patch similarity index 53% rename from openssl-1.0.2a-pkgconfig-krb5.patch rename to openssl-1.0.2h-pkgconfig.patch index 8ee2c4d..f810157 100644 --- a/openssl-1.0.2a-pkgconfig-krb5.patch +++ b/openssl-1.0.2h-pkgconfig.patch @@ -1,7 +1,7 @@ -diff -up openssl-1.0.2a/Makefile.org.krb5 openssl-1.0.2a/Makefile.org ---- openssl-1.0.2a/Makefile.org.krb5 2015-04-21 17:08:41.157464459 +0200 -+++ openssl-1.0.2a/Makefile.org 2015-04-21 17:11:56.887039005 +0200 -@@ -372,7 +372,7 @@ libcrypto.pc: Makefile +diff -up openssl-1.0.2h/Makefile.org.pkgconfig openssl-1.0.2h/Makefile.org +--- openssl-1.0.2h/Makefile.org.pkgconfig 2016-05-03 18:06:45.869834730 +0200 ++++ openssl-1.0.2h/Makefile.org 2016-06-27 12:04:15.444245018 +0200 +@@ -377,7 +377,7 @@ libcrypto.pc: Makefile echo 'Requires: '; \ echo 'Libs: -L$${libdir} -lcrypto'; \ echo 'Libs.private: $(EX_LIBS)'; \ @@ -10,9 +10,12 @@ diff -up openssl-1.0.2a/Makefile.org.krb5 openssl-1.0.2a/Makefile.org libssl.pc: Makefile @ ( echo 'prefix=$(INSTALLTOP)'; \ -@@ -385,7 +385,7 @@ libssl.pc: Makefile +@@ -388,9 +388,9 @@ libssl.pc: Makefile + echo 'Name: OpenSSL-libssl'; \ + echo 'Description: Secure Sockets Layer and cryptography libraries'; \ echo 'Version: '$(VERSION); \ - echo 'Requires.private: libcrypto'; \ +- echo 'Requires.private: libcrypto'; \ ++ echo 'Requires: libcrypto'; \ echo 'Libs: -L$${libdir} -lssl'; \ - echo 'Libs.private: $(EX_LIBS)'; \ + echo 'Libs.private: $(EX_LIBS) $(LIBKRB5)'; \ diff --git a/openssl.spec b/openssl.spec index 5a9f0a6..8a47df8 100644 --- a/openssl.spec +++ b/openssl.spec @@ -23,7 +23,7 @@ Summary: Utilities from the general purpose cryptography library with TLS implementation Name: openssl Version: 1.0.2h -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 # We have to remove certain patented algorithms from the openssl source # tarball with the hobble-openssl script which is included below. @@ -67,7 +67,7 @@ Patch58: openssl-1.0.2a-fips-md5-allow.patch Patch60: openssl-1.0.2a-apps-dgst.patch Patch63: openssl-1.0.2a-xmpp-starttls.patch Patch65: openssl-1.0.2a-chil-fixes.patch -Patch66: openssl-1.0.2a-pkgconfig-krb5.patch +Patch66: openssl-1.0.2h-pkgconfig.patch Patch68: openssl-1.0.2a-secure-getenv.patch Patch70: openssl-1.0.2a-fips-ec.patch Patch71: openssl-1.0.2g-manfix.patch @@ -190,7 +190,7 @@ cp %{SOURCE12} %{SOURCE13} crypto/ec/ %patch60 -p1 -b .dgst %patch63 -p1 -b .starttls %patch65 -p1 -b .chil -%patch66 -p1 -b .krb5 +%patch66 -p1 -b .pkgconfig %patch68 -p1 -b .secure-getenv %patch70 -p1 -b .fips-ec %patch71 -p1 -b .manfix @@ -500,6 +500,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/fipscanister.* %postun libs -p /sbin/ldconfig %changelog +* Mon Jun 27 2016 Tomáš Mráz 1.0.2h-2 +- require libcrypto in libssl.pc (#1301301) + * Tue May 3 2016 Tomáš Mráz 1.0.2h-1 - minor upstream release 1.0.2h fixing security issues