Accepting request 149174 from mobile:synchronization:FACTORY
Fix build in Factory - for now disable thepython bindings... nothing uses them anyway. (forwarded request 149172 from dimstar) OBS-URL: https://build.opensuse.org/request/show/149174 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libimobiledevice?expand=0&rev=23
This commit is contained in:
parent
659df2cda7
commit
95b38bf5dd
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 18 23:42:05 UTC 2013 - dimstar@opensuse.org
|
||||
|
||||
- Disable python bindings (using with_python defines):
|
||||
python-cython 0.17 became even stricter and the bindings
|
||||
currently don't build, but they are also not used by anything at
|
||||
this moment (bnc#796133).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 9 17:15:08 CEST 2012 - sbrabec@suse.cz
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libimobiledevice
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,6 +16,8 @@
|
||||
#
|
||||
|
||||
|
||||
%define with_python 0%{suse_version} < 1230
|
||||
|
||||
Name: libimobiledevice
|
||||
%define _name libimobiledevice3
|
||||
Version: 1.1.4
|
||||
@ -27,7 +29,7 @@ BuildRequires: libplist-devel >= 1.8
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libusbmuxd-devel >= 1.0.0
|
||||
BuildRequires: libxml2-devel
|
||||
%if %{?suse_version} > 1140
|
||||
%if %{?suse_version} > 1140 && %{with_python}
|
||||
BuildRequires: python-cython
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-plist
|
||||
@ -86,7 +88,7 @@ developing applications that use %{_name}.
|
||||
|
||||
%package tools
|
||||
Summary: Tools using %{_name} for iPhone, iPod Touch and iPad
|
||||
License: GPL-2.0+ ; LGPL-2.1+
|
||||
License: GPL-2.0+ and LGPL-2.1+
|
||||
Group: Productivity/Multimedia/Other
|
||||
Requires: %{_name} = %{version}
|
||||
|
||||
@ -103,7 +105,7 @@ Group: Development/Libraries/C and C++
|
||||
%description doc
|
||||
Contains API reference documentation for developers using %{_name}.
|
||||
|
||||
%if %{?suse_version} > 1140
|
||||
%if %{?suse_version} > 1140 && %{with_python}
|
||||
%package -n python-imobiledevice
|
||||
Summary: Python bindings for %{_name}
|
||||
License: LGPL-2.1+
|
||||
@ -127,7 +129,7 @@ sed -i -e '/Requires:/d' %{name}-1.0.pc.in
|
||||
sed -i -e 's/-L${libdir}//' %{name}-1.0.pc.in
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
%configure --disable-silent-rules \
|
||||
%if %{?suse_version} <= 1140
|
||||
%if %{?suse_version} <= 1140 || !(%{with_python})
|
||||
--without-cython \
|
||||
%endif
|
||||
--disable-static --disable-dev-tools
|
||||
@ -185,7 +187,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc AUTHORS COPYING COPYING.LESSER NEWS README
|
||||
%docdir docs/html
|
||||
|
||||
%if %{?suse_version} > 1140
|
||||
%if %{?suse_version} > 1140 && %{with_python}
|
||||
%files -n python-imobiledevice
|
||||
%defattr(-,root,root,-)
|
||||
%{py_sitedir}/imobiledevice.so
|
||||
|
Loading…
x
Reference in New Issue
Block a user