- multiarch conflicts (#342201)

This commit is contained in:
Rex Dieter 2008-04-03 15:24:11 +00:00
parent ce2118e79c
commit 021e956e8d
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff -up libksba-1.0.3/src/ksba-config.in.multilib libksba-1.0.3/src/ksba-config.in
--- libksba-1.0.3/src/ksba-config.in.multilib 2006-08-31 03:05:24.000000000 -0500
+++ libksba-1.0.3/src/ksba-config.in 2008-04-03 11:21:11.000000000 -0500
@@ -116,9 +116,6 @@ 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

@ -2,7 +2,7 @@
Summary: X.509 library Summary: X.509 library
Name: libksba Name: libksba
Version: 1.0.3 Version: 1.0.3
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv3 License: GPLv3
Group: System Environment/Libraries Group: System Environment/Libraries
@ -11,6 +11,9 @@ Source0: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2
Source1: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2.sig Source1: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2.sig
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# quick-n-dirty hack to ksba-config, TODO: consider using pkgconfig instead
Patch1: libksba-1.0.3-multilib.patch
BuildRequires: gawk BuildRequires: gawk
BuildRequires: libgpg-error-devel >= 1.2 BuildRequires: libgpg-error-devel >= 1.2
BuildRequires: libgcrypt-devel >= 1.2.0 BuildRequires: libgcrypt-devel >= 1.2.0
@ -32,6 +35,8 @@ Requires(preun): /sbin/install-info
%prep %prep
%setup -q %setup -q
%patch1 -p1 -b .multilib
%build %build
%configure \ %configure \
@ -86,6 +91,9 @@ fi
%changelog %changelog
* Thu Apr 03 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.3-2
- multiarch conflicts (#342201)
* Tue Feb 12 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.3-1 * Tue Feb 12 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.3-1
- libksba-1.0.3 - libksba-1.0.3