persuade configure to work with swig 2.0.0

This commit is contained in:
dmalcolm 2010-07-27 15:28:34 +00:00
parent 35e34de15c
commit 11ac821a95

View File

@ -3,7 +3,7 @@
Summary: Library to access the contents of an iPod
Name: libgpod
Version: 0.7.93
Release: 2%{?dist}
Release: 3%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtkpod.org/libgpod.html
@ -26,6 +26,7 @@ BuildRequires: python-mutagen
BuildRequires: sg3_utils-devel
BuildRequires: sqlite-devel
BuildRequires: swig
BuildRequires: autoconf
Requires: udev
%description
@ -83,6 +84,9 @@ libgpod library.
# remove execute perms on the python examples as they'll be installed in %doc
chmod -x bindings/python/examples/*.py
# Persuade swig bindings to build against swig 2.0.0:
sed -i -e "s|SWIG_MIN_VERSION=1.3.24|SWIG_MIN_VERSION=2.0.0|" configure.ac
autoreconf
%build
%configure --without-hal --enable-udev --with-temp-mount-dir=%{_localstatedir}/run/%{name}
@ -140,6 +144,9 @@ rm -rf %{buildroot}
%changelog
* Tue Jul 27 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.93-3
- persuade configure to work with swig 2.0.0
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.93-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild