diff --git a/authconfig-6.2.10-python23.patch b/authconfig-6.2.10-python23.patch index 835f6da..42b4478 100644 --- a/authconfig-6.2.10-python23.patch +++ b/authconfig-6.2.10-python23.patch @@ -1,6 +1,6 @@ diff -up authconfig-6.2.10/authconfig-gtk.py.python23 authconfig-6.2.10/authconfig-gtk.py --- authconfig-6.2.10/authconfig-gtk.py.python23 2015-02-20 14:53:08.000000000 +0100 -+++ authconfig-6.2.10/authconfig-gtk.py 2015-02-20 16:24:39.622211432 +0100 ++++ authconfig-6.2.10/authconfig-gtk.py 2015-02-20 16:33:04.332626166 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2 @@ -9,10 +9,44 @@ diff -up authconfig-6.2.10/authconfig-gtk.py.python23 authconfig-6.2.10/authconf # Authconfig - client authentication configuration program diff -up authconfig-6.2.10/authconfig.py.python23 authconfig-6.2.10/authconfig.py --- authconfig-6.2.10/authconfig.py.python23 2015-02-20 14:53:08.000000000 +0100 -+++ authconfig-6.2.10/authconfig.py 2015-02-20 16:24:43.425297444 +0100 ++++ authconfig-6.2.10/authconfig.py 2015-02-20 16:33:04.333626188 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # -*- coding: UTF-8 -*- # # Authconfig - client authentication configuration program +diff -up authconfig-6.2.10/configure.python23 authconfig-6.2.10/configure +--- authconfig-6.2.10/configure.python23 2015-02-20 14:53:12.000000000 +0100 ++++ authconfig-6.2.10/configure 2015-02-24 09:57:54.155324675 +0100 +@@ -1460,7 +1460,7 @@ Optional Packages: + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-sysroot=DIR Search for dependent libraries within DIR + (or the compiler's sysroot if not specified). +- --with-pythonrev=2.2 version of python for which modules should be built ++ --with-python-rev=2 version of python for which modules should be built + + Some influential environment variables: + CC C compiler command +@@ -13015,16 +13015,15 @@ fi + if test "${with_python_rev+set}" = set; then : + withval=$with_python_rev; PYTHONREV=$withval + else ++ PYTHONREV=2 ++fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking python version" >&5 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking python version" >&5 + $as_echo_n "checking python version... " >&6; } +- PYTHONREV=`python${PYTHONREV} -c 'import sys;print("%s.%s" % (sys.version_info[0], sys.version_info[1]))'` +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONREV" >&5 ++PYTHONREV=`python${PYTHONREV} -c 'import sys;print("%s.%s" % (sys.version_info[0], sys.version_info[1]))'` ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONREV" >&5 + $as_echo "$PYTHONREV" >&6; } + +-fi +- +- + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking python includes" >&5 + $as_echo_n "checking python includes... " >&6; } diff --git a/authconfig.spec b/authconfig.spec index 79cfeed..55c5cd4 100644 --- a/authconfig.spec +++ b/authconfig.spec @@ -1,7 +1,7 @@ Summary: Command line tool for setting up authentication from network services Name: authconfig Version: 6.2.10 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ ExclusiveOS: Linux Group: System Environment/Base @@ -136,6 +136,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/icons/hicolor/256x256/apps/system-config-authentication.* %changelog +* Tue Feb 24 2015 Tomáš Mráz - 6.2.10-2 +- fix the python version detection (#1195635) + * Fri Feb 20 2015 Tomáš Mráz - 6.2.10-1 - allow multiple LDAP URIs in the setting again - winbind modules are now in samba-winbind package