+ libimobiledevice-1.2.0-16
Remove python2 subpackage, it hasn't been generated since F21
This commit is contained in:
parent
f9631f1c1a
commit
38f9bf085c
@ -1,13 +1,6 @@
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
|
||||
# python/Cython support busted on rawhide atm
|
||||
%if 0%{?fedora} < 21
|
||||
%global python 1
|
||||
%endif
|
||||
|
||||
Name: libimobiledevice
|
||||
Version: 1.2.0
|
||||
Release: 15%{?dist}
|
||||
Release: 16%{?dist}
|
||||
Summary: Library for connecting to mobile devices
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -26,17 +19,11 @@ BuildRequires: glib2-devel
|
||||
BuildRequires: gnutls-devel
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libplist-devel
|
||||
BuildRequires: python2-libplist
|
||||
BuildRequires: libtasn1-devel
|
||||
BuildRequires: libusbmuxd-devel
|
||||
BuildRequires: libusbx-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: readline-devel
|
||||
%if 0%{?python}
|
||||
BuildRequires: python2-Cython
|
||||
%endif
|
||||
BuildRequires: swig
|
||||
BuildRequires: git-core
|
||||
BuildRequires: autoconf automake libtool
|
||||
@ -61,24 +48,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%description utils
|
||||
Utilites for use with libimobiledevice.
|
||||
|
||||
%package python
|
||||
Summary: Python bindings for libimobiledevice
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description python
|
||||
Python bindings for libimobiledevice.
|
||||
|
||||
%prep
|
||||
%autosetup -S git
|
||||
|
||||
# Fix dir permissions on html docs
|
||||
chmod +x docs/html
|
||||
|
||||
autoreconf -f
|
||||
ACLOCAL="aclocal -I m4" autoreconf -f -i
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-openssl --enable-dev-tools %{!?python:--without-cython}
|
||||
%configure --disable-static --disable-openssl --enable-dev-tools --without-cython
|
||||
# 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
|
||||
@ -111,14 +90,11 @@ find %{buildroot} -type f -name "*.la" -delete
|
||||
%{_libdir}/libimobiledevice.so
|
||||
%{_includedir}/libimobiledevice/
|
||||
|
||||
%if 0%{?python}
|
||||
%files python
|
||||
#%{python_sitearch}/imobiledevice*
|
||||
%else
|
||||
#%{python_sitearch}/imobiledevice*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Jun 07 2018 Bastien Nocera <bnocera@redhat.com> - 1.2.0-16
|
||||
+ libimobiledevice-1.2.0-16
|
||||
- Remove python2 subpackage, it hasn't been generated since F21
|
||||
|
||||
* Thu Mar 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.0-15
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user