updated for libtasn1 3.4

This commit is contained in:
Nikos Mavrogiannopoulos 2013-11-27 14:16:02 +01:00
parent e48f22c334
commit 593a6c4a1b
4 changed files with 19 additions and 24 deletions

View File

@ -1,21 +0,0 @@
diff -up libtasn1-2.12/configure.rpath libtasn1-2.12/configure
--- libtasn1-2.12/configure.rpath 2012-03-19 10:14:43.000000000 +0100
+++ libtasn1-2.12/configure 2012-03-20 15:07:06.555041791 +0100
@@ -11373,7 +11373,7 @@ shlibpath_var=
shlibpath_overrides_runpath=unknown
version_type=none
dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_dlsearch_path_spec="/lib /usr/lib /lib64 /usr/lib64"
need_lib_prefix=unknown
hardcode_into_libs=no
@@ -11771,7 +11771,7 @@ fi
# Append ld.so.conf contents to the search path
if test -f /etc/ld.so.conf; then
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ sys_lib_dlsearch_path_spec="/lib /usr/lib /lib64 /usr/lib64 $lt_ld_extra"
fi
# We used to test for /lib/ld.so.1 and disable shared libraries on

12
libtasn1-3.4-rpath.patch Normal file
View File

@ -0,0 +1,12 @@
diff -ur libtasn1-3.4.orig/configure libtasn1-3.4/configure
--- libtasn1-3.4.orig/configure 2013-11-25 20:24:23.000000000 +0100
+++ libtasn1-3.4/configure 2013-11-27 14:08:42.872612379 +0100
@@ -12376,7 +12376,7 @@
shlibpath_overrides_runpath=unknown
version_type=none
dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_dlsearch_path_spec="/lib /usr/lib /lib64 /usr/lib64"
need_lib_prefix=unknown
hardcode_into_libs=no

View File

@ -1,7 +1,7 @@
Summary: The ASN.1 library used in GNUTLS
Name: libtasn1
Version: 3.3
Release: 2%{?dist}
Version: 3.4
Release: 1%{?dist}
# The libtasn1 library is LGPLv2+, utilities are GPLv3+
License: GPLv3+ and LGPLv2+
@ -9,7 +9,7 @@ Group: System Environment/Libraries
URL: http://www.gnu.org/software/libtasn1/
Source0: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
Source1: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
Patch1: libtasn1-2.12-rpath.patch
Patch1: libtasn1-3.4-rpath.patch
BuildRequires: bison, pkgconfig
%ifarch %ix86 x86_64 ppc ppc64
BuildRequires: valgrind
@ -102,6 +102,9 @@ test "$1" = 0 -a -f %_infodir/%name.info.gz && \
%changelog
* Wed Nov 27 2013 Nikos <nmavrogi@redhat.com> - 3.4-1
- new upstream release
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -1,2 +1,3 @@
2bdd687f487c50a0382b99553866a6e0 libtasn1-3.3.tar.gz
16f920f77aa34eec1a0558729201942d libtasn1-3.3.tar.gz.sig
21ec021c534b0f30b2834ce233c70f15 libtasn1-3.4.tar.gz