fix build
This commit is contained in:
parent
c8d2bf4582
commit
2eb44df583
@ -17,6 +17,7 @@ BuildRequires: libplist-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gnutls-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: Cython
|
||||
BuildRequires: swig
|
||||
BuildRequires: usbmuxd-devel
|
||||
|
||||
@ -49,7 +50,7 @@ Python bindings for libimobiledevice.
|
||||
chmod +x docs/html
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%configure --disable-static --disable-openssl --enable-dev-tools
|
||||
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
@ -71,8 +72,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
%doc AUTHORS COPYING.LESSER README
|
||||
%doc %{_datadir}/man/man1/idevice*
|
||||
%{_bindir}/idevice*
|
||||
%{_libdir}/libimobiledevice.so.2
|
||||
%{_libdir}/libimobiledevice.so.2.*
|
||||
%{_libdir}/libimobiledevice.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
@ -83,7 +83,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
%files python
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/imobiledevice/
|
||||
%{python_sitearch}/imobiledevice*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 10 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.1.4-1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user