diff options
| -rw-r--r-- | python-xlib-0.15rc1-xauthority.patch | 17 | ||||
| -rw-r--r-- | python-xlib.spec | 7 |
2 files changed, 23 insertions, 1 deletions
diff --git a/python-xlib-0.15rc1-xauthority.patch b/python-xlib-0.15rc1-xauthority.patch new file mode 100644 index 0000000..4e35f53 --- /dev/null +++ b/python-xlib-0.15rc1-xauthority.patch @@ -0,0 +1,17 @@ +Index: Xlib/support/unix_connect.py +=================================================================== +--- Xlib/support/unix_connect.py ++++ Xlib/support/unix_connect.py 2010-09-03 00:49:15.066186229 +0200 +@@ -112,7 +112,11 @@ + family = xauth.FamilyLocal + addr = socket.gethostname() + +- au = xauth.Xauthority() ++ try: ++ au = xauth.Xauthority() ++ except error.XauthError: ++ return old_get_auth(sock, dname, host, dno) ++ + while 1: + try: + return au.get_best_auth(family, addr, dno) diff --git a/python-xlib.spec b/python-xlib.spec index 1ffcc29..c7be7fa 100644 --- a/python-xlib.spec +++ b/python-xlib.spec @@ -3,7 +3,7 @@ %define pre_release rc1 Name: python-xlib Version: 0.15 -Release: 0.2.%{pre_release}%{?dist} +Release: 0.3.%{pre_release}%{?dist} Summary: X client library for Python Group: Development/Languages @@ -16,6 +16,7 @@ Patch0: increase-receiving-buffer Patch1: fix-unix-socket-in-display Patch2: fix-ssh-tunnel-auth Patch3: fix-rhomboid-examples +Patch4: python-xlib-0.15rc1-xauthority.patch BuildArch: noarch BuildRequires: python-devel BuildRequires: texinfo-tex tetex-dvips @@ -41,6 +42,7 @@ that tell you how to program with python-xlib. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p0 %build %{__python} setup.py build @@ -71,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Sep 3 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.15-0.3.rc1 +- try a workaround proposed by upstream for #552491 + * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.15-0.2.rc1 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild |
