- Add patch to fix DSO linking. Fixes bug 565084

This commit is contained in:
Peter Robinson 2010-02-15 08:11:51 +00:00
parent 0a106d0ba8
commit 55b5acaaf6
2 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- libimobiledevice-0.9.7/tools/Makefile.in.orig 2010-02-15 08:02:48.000000000 +0000
+++ libimobiledevice-0.9.7/tools/Makefile.in 2010-02-15 08:03:13.000000000 +0000
@@ -152,7 +152,7 @@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = @LDFLAGS@ -lplist
LFS_CFLAGS = @LFS_CFLAGS@
LIBIMOBILEDEVICE_SO_VERSION = @LIBIMOBILEDEVICE_SO_VERSION@
LIBOBJS = @LIBOBJS@

View File

@ -2,15 +2,16 @@
Name: libimobiledevice
Version: 0.9.7
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Library for connecting to mobile devices
Group: System Environment/Libraries
License: LGPLv2+
URL: http://matt.colyer.name/projects/iphone-linux/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://cloud.github.com/downloads/MattColyer/libiphone/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: libimobiledevice-fixdso.patch
BuildRequires: libxml2-devel
BuildRequires: libusb1-devel
@ -53,6 +54,7 @@ Python bindings for libimobiledevice.
%prep
%setup -q
%patch0 -p1 -b .fixdso
# Fix dir permissions on html docs
chmod +x docs/html
@ -99,6 +101,9 @@ rm -rf %{buildroot}
%{python_sitearch}/imobiledevice/
%changelog
* Mon Feb 15 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-3
- Add patch to fix DSO linking. Fixes bug 565084
* Wed Feb 3 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-2
- Package review updates, add developer docs