diff --git a/kdebindings-3.1-python2.5.patch b/kdebindings-3.1-python2.5.patch new file mode 100644 index 0000000..9021309 --- /dev/null +++ b/kdebindings-3.1-python2.5.patch @@ -0,0 +1,19 @@ +--- kdebindings-3.1/dcoppython/configure.in.in.python Thu Jan 30 09:46:59 2003 ++++ kdebindings-3.1/dcoppython/configure.in.in Thu Jan 30 09:47:11 2003 +@@ -1,5 +1,5 @@ +-KDE_CHECK_PYTHON(1.5) ++KDE_CHECK_PYTHON(2.5) + if test -z "$LIBPYTHON" || test -z "$PYTHONINC"; then + DO_NOT_COMPILE="$DO_NOT_COMPILE dcoppython" + fi +--- kdebindings-3.1/admin/acinclude.m4.in.python Thu Jan 30 09:45:33 2003 ++++ kdebindings-3.1/admin/acinclude.m4.in Thu Jan 30 09:46:43 2003 +@@ -4090,7 +4090,7 @@ + AC_REQUIRE([KDE_CHECK_PYTHON_DIR]) + + if test -z "$1"; then +- version="1.5" ++ version="2.5" + else + version="$1" + fi diff --git a/kdebindings.spec b/kdebindings.spec index 42e175d..da30015 100644 --- a/kdebindings.spec +++ b/kdebindings.spec @@ -3,7 +3,6 @@ %define appdir %{_datadir}/applications/kde -%{expand: %%define pythonver %(python -c 'import sys;print(sys.version[0:3])')} %define qt_version 3.3.7 %define arts_version 1.5.5 %define kdelibs_epoch 6 @@ -19,7 +18,7 @@ %define pyqt 0 Version: 3.5.5 -Release: 1%{?dist} +Release: 2%{?dist} Name: kdebindings Summary: KDE bindings to non-C++ languages URL: http://www.kde.org/ @@ -29,7 +28,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2 Patch4: kdebindings-3.1-ssl-krb5.patch -Patch6: kdebindings-3.1-python2.4.patch +Patch6: kdebindings-3.1-python2.5.patch Patch8: kdebindings-3.3.0-python.patch Patch9: kdebindings-3.3.92-xdg.patch @@ -49,9 +48,7 @@ Requires: perl >= %{perlepoch}:%{perlver} %endif %if %{python} -BuildRequires: python >= %{pythonver} -BuildRequires: python-devel >= %{pythonver} -Requires: python-abi = %{pythonver} +BuildRequires: python python-devel %endif %if %{ruby} @@ -93,7 +90,6 @@ Perl bindings to the DCOP interprocess communication protocol used by KDE Summary: Python bindings to DCOP Group: Development/Libraries Requires: kdelibs >= %{kdelibs_epoch}:%{version} -Requires: python-abi = %{pythonver} %description python Python bindings to the DCOP interprocess communication protocol used by KDE @@ -198,6 +194,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %{_mandir}/man*/* %changelog +* Thu Dec 7 2006 Jeremy Katz - 3.5.5-2 +- rebuild for python 2.5 + * Tue Nov 14 2006 Than Ngo - 3.5.5-1.fc7 - rebuild