From 11ac821a953aac934ccb690013495047c433d04a Mon Sep 17 00:00:00 2001 From: dmalcolm Date: Jul 27 2010 15:28:34 +0000 Subject: persuade configure to work with swig 2.0.0 --- diff --git a/libgpod.spec b/libgpod.spec index 71988de..6fecd5b 100644 --- a/libgpod.spec +++ b/libgpod.spec @@ -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 - 0.7.93-3 +- persuade configure to work with swig 2.0.0 + * Wed Jul 21 2010 David Malcolm - 0.7.93-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild