libksba-devel multilib conflict (#601976)

This commit is contained in:
Rex Dieter 2011-06-02 08:27:58 -05:00
parent 5c8e196a3a
commit cc33fea970
3 changed files with 19 additions and 14 deletions

View File

@ -1,12 +0,0 @@
diff -up libksba-1.0.6/src/ksba-config.in.multilib libksba-1.0.6/src/ksba-config.in
--- libksba-1.0.6/src/ksba-config.in.multilib 2006-08-31 03:05:24.000000000 -0500
+++ libksba-1.0.6/src/ksba-config.in 2009-12-17 07:17:28.312946199 -0600
@@ -116,7 +116,7 @@ fi
if test "$echo_libs" = "yes"; then
libdirs=""
- if test "@libdir@" != "/usr/lib" ; then
+ if test "@libdir@" != "/usr/lib" -a "@libdir@" != "/usr/lib32" -a "@libdir@" != "/usr/lib64" ; then
libdirs="-L@libdir@"
fi
tmp=""

View File

@ -0,0 +1,14 @@
diff -up libksba-1.0.8/src/ksba-config.in.multilib libksba-1.0.8/src/ksba-config.in
--- libksba-1.0.8/src/ksba-config.in.multilib 2006-08-31 03:05:24.000000000 -0500
+++ libksba-1.0.8/src/ksba-config.in 2011-06-02 08:26:26.846514445 -0500
@@ -115,10 +115,6 @@ if test "$echo_cflags" = "yes"; then
fi
if test "$echo_libs" = "yes"; then
- libdirs=""
- if test "@libdir@" != "/usr/lib" ; then
- libdirs="-L@libdir@"
- fi
tmp=""
for i in $libdirs $libs; do
if echo "$tmp" | fgrep -v -- "$i" >/dev/null; then

View File

@ -1,7 +1,7 @@
Summary: X.509 library
Name: libksba
Version: 1.0.8
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv3
Group: System Environment/Libraries
@ -10,7 +10,7 @@ Source0: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2
Source1: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2.sig
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch1: libksba-1.0.6-multilib.patch
Patch1: libksba-1.0.8-multilib.patch
BuildRequires: gawk
BuildRequires: libgpg-error-devel >= 1.8
@ -89,6 +89,9 @@ fi
%changelog
* Thu Jun 02 2011 Rex Dieter <rdieter@fedoraproject.org> 1.0.8-3
- libksba-devel multilib conflict (#601976)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild