rpms/openssl/devel openssl.spec,1.119,1.120

Tomáš Mráz tmraz at fedoraproject.org
Mon Jan 26 21:07:51 UTC 2009


Author: tmraz

Update of /cvs/pkgs/rpms/openssl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11256

Modified Files:
	openssl.spec 
Log Message:
* Mon Jan 26 2009 Tomas Mraz <tmraz at redhat.com> 0.9.8j-6
- drop the temporary triggerpostun and symlinking in post
- fix the pkgconfig files and drop the unnecessary buildrequires
  on pkgconfig as it is a rpmbuild dependency (#481419)



Index: openssl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openssl/devel/openssl.spec,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -r1.119 -r1.120
--- openssl.spec	17 Jan 2009 20:49:48 -0000	1.119
+++ openssl.spec	26 Jan 2009 21:07:21 -0000	1.120
@@ -23,7 +23,7 @@
 Summary: A general purpose cryptography library with TLS implementation
 Name: openssl
 Version: 0.9.8j
-Release: 5%{?dist}
+Release: 6%{?dist}
 # We remove certain patented algorithms from the openssl source tarball
 # with the hobble-openssl script which is included below.
 Source: openssl-%{version}-usa.tar.bz2
@@ -72,7 +72,6 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: mktemp, krb5-devel, perl, sed, zlib-devel, /usr/bin/cmp
 BuildRequires: /usr/bin/rename
-BuildRequires: pkgconfig
 Requires: mktemp, ca-certificates >= 2008-5
 
 # Temporary hack
@@ -191,12 +190,11 @@
 # usable on all platforms.  The Configure script already knows to use -fPIC and
 # RPM_OPT_FLAGS, so we can skip specifiying them here.
 ./Configure \
-	--prefix=%{_prefix} --openssldir=%{_sysconfdir}/pki/tls ${sslflags} \
+	--prefix=/usr --openssldir=%{_sysconfdir}/pki/tls ${sslflags} \
 	zlib enable-camellia enable-seed enable-tlsext enable-rfc3779 \
 	enable-cms no-idea no-mdc2 no-rc5 no-ec no-ecdh no-ecdsa shared \
 	--with-krb5-flavor=MIT --enginesdir=%{_libdir}/openssl/engines \
-	-I%{_prefix}/kerberos/include -L%{_prefix}/kerberos/%{_lib} \
-	${sslarch} fipscanisterbuild
+	--with-krb5-dir=/usr ${sslarch} fipscanisterbuild
 
 # Add -Wa,--noexecstack here so that libcrypto's assembler modules will be
 # marked as not requiring an executable stack.
@@ -401,29 +399,18 @@
 %{_sysconfdir}/pki/tls/misc/*.pl
 %endif
 
-%post 
-if [ "$(readlink /%{_lib}/libcrypto.so.7)" != libcrypto.so.%{version} ] ; then
-    ln -sf libcrypto.so.%{version} /%{_lib}/libcrypto.so.7 || :
-fi
-if [ "$(readlink /%{_lib}/libssl.so.7)" != libssl.so.%{version} ] ; then
-    ln -sf libssl.so.%{version} /%{_lib}/libssl.so.7 || :
-fi
+%post
 /sbin/ldconfig -X
 
 %postun
 /sbin/ldconfig -X
 
-%triggerpostun -- openssl < 0.9.8j
-[ $1 != 0 ] || exit 0
-if [ "$(readlink /%{_lib}/libcrypto.so.7)" != libcrypto.so.%{version} ] ; then
-    ln -sf libcrypto.so.%{version} /%{_lib}/libcrypto.so.7 || :
-fi
-if [ "$(readlink /%{_lib}/libssl.so.7)" != libssl.so.%{version} ] ; then
-    ln -sf libssl.so.%{version} /%{_lib}/libssl.so.7 || :
-fi
-/sbin/ldconfig -X
-
 %changelog
+* Mon Jan 26 2009 Tomas Mraz <tmraz at redhat.com> 0.9.8j-6
+- drop the temporary triggerpostun and symlinking in post
+- fix the pkgconfig files and drop the unnecessary buildrequires
+  on pkgconfig as it is a rpmbuild dependency (#481419)
+
 * Sat Jan 16 2009 Tomas Mraz <tmraz at redhat.com> 0.9.8j-5
 - add temporary triggerpostun to reinstate the symlinks
 




More information about the fedora-extras-commits mailing list