Fix multilib conflict (bug 43471)

This commit is contained in:
drago01 2007-10-25 21:15:59 +00:00
parent 01e037a14a
commit 8d3aafafef
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
diff -upNr xapian-core-1.0.2.orign/xapian-config.in xapian-core-1.0.2/xapian-config.in
--- xapian-core-1.0.2.orign/xapian-config.in 2007-07-05 02:39:51.000000000 +0200
+++ xapian-core-1.0.2/xapian-config.in 2007-10-25 23:10:59.000000000 +0200
@@ -68,7 +68,6 @@ set_F_to_extra_ldflags() {
# -L option required (if any).
set_L_to_library_path() {
L=
- [ /usr/lib != "@libdir@" ] && L="-L@libdir@ "
}
# -I options for compiling against an uninstalled xapian.

View File

@ -1,12 +1,13 @@
Summary: The Xapian Probabilistic Information Retrieval Library
Name: xapian-core
Version: 1.0.2
Release: 5%{?dist}
Release: 6%{?dist}
License: GPLv2+
Group: Applications/Databases
URL: http://www.xapian.org/
Requires: %{name}-libs = %{version}
Source0: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz
Patch0: multilib-devel-conflict-fix.patch
BuildRequires: autoconf automake libtool
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -40,6 +41,7 @@ files needed for building packages which use Xapian
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .multilibfix
%build
# FC6 (at least) has a patched libtool which knows not to set rpath for
@ -118,6 +120,9 @@ rm -rf %{buildroot}
%{_mandir}/man1/xapian-config.1*
%changelog
* Thu Oct 25 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-6
- Fix multilib conflict in devel package (RH #343471)
* Tue Aug 21 2007 Adel Gadllah <adel.gadllah@gmail.com> 1.0.2-5
- Rebuild for BuildID and ppc32 bug