- multiarch conflicts (#342201)
This commit is contained in:
parent
ce2118e79c
commit
021e956e8d
13
libksba-1.0.3-multilib.patch
Normal file
13
libksba-1.0.3-multilib.patch
Normal 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
|
10
libksba.spec
10
libksba.spec
@ -2,7 +2,7 @@
|
||||
Summary: X.509 library
|
||||
Name: libksba
|
||||
Version: 1.0.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
|
||||
License: GPLv3
|
||||
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
|
||||
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: libgpg-error-devel >= 1.2
|
||||
BuildRequires: libgcrypt-devel >= 1.2.0
|
||||
@ -32,6 +35,8 @@ Requires(preun): /sbin/install-info
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch1 -p1 -b .multilib
|
||||
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -86,6 +91,9 @@ fi
|
||||
|
||||
|
||||
%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
|
||||
- libksba-1.0.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user