]> git.pld-linux.org Git - packages/libtorrent-rasterbar.git/commitdiff
- fix building with python 2.7 auto/th/libtorrent-rasterbar-0_14_10-5
authorArtur Frysiak <artur@frysiak.net>
Fri, 9 Jul 2010 22:10:49 +0000 (22:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel. 5

Changed files:
    libtorrent-rasterbar.spec -> 1.44
    py27.patch -> 1.1

libtorrent-rasterbar.spec
py27.patch [new file with mode: 0644]

index 1342db0f6cfeb320f27f9d1bc4070ee3acea7aed..426256543709d484c8f01b2c38a6355a924e516c 100644 (file)
@@ -3,7 +3,7 @@ Summary(hu.UTF-8):      C++ BitTorrent könyvtár
 Summary(pl.UTF-8):     Biblioteka BitTorrenta napisana w C++
 Name:          libtorrent-rasterbar
 Version:       0.14.10
-Release:       4
+Release:       5
 Epoch:         1
 License:       BSD
 Group:         Libraries
@@ -11,6 +11,7 @@ Source0:      http://libtorrent.googlecode.com/files/%{name}-%{version}.tar.gz
 # Source0-md5: 99e9f4fa9c9f1f5097a4748c7260ef53
 URL:           http://www.rasterbar.com/products/libtorrent/
 Patch0:                bashizm.patch
+Patch1:                py27.patch
 BuildRequires: GeoIP-devel
 BuildRequires: autoconf
 BuildRequires: automake
@@ -116,6 +117,7 @@ Python bindings for libtorrent-rasterbar.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 %{__sed} -i 's/ACLOCAL_AMFLAGS = -I m4/#ACLOCAL_AMFLAGS = -I m4/' Makefile.am
 
 ## Some of the sources and docs are executable, which makes rpmlint against
diff --git a/py27.patch b/py27.patch
new file mode 100644 (file)
index 0000000..95584ea
--- /dev/null
@@ -0,0 +1,11 @@
+--- libtorrent-rasterbar-0.14.10/m4/ax_python-fixed.m4.wiget   2010-07-09 23:38:46.485060875 +0200
++++ libtorrent-rasterbar-0.14.10/m4/ax_python-fixed.m4 2010-07-09 23:39:15.082559709 +0200
+@@ -58,7 +58,7 @@
+ AC_DEFUN([AX_PYTHON],
+ [AC_MSG_CHECKING(for python build information)
+ AC_MSG_RESULT([])
+-for python in python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
++for python in python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
+ # AC_CHECK_PROGS(PYTHON_BIN, [$python])
+ PYTHON_BIN=$python
+ ax_python_bin=$PYTHON_BIN
This page took 0.376295 seconds and 4 git commands to generate.