[python-sleekxmpp] Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4

Bohuslav Kabrda bkabrda at fedoraproject.org
Fri May 16 11:41:59 UTC 2014


commit 5267ce1cd6ce16b820b96d40402301e017e0ea8f
Author: Slavek Kabrda <bkabrda at redhat.com>
Date:   Fri May 16 13:41:49 2014 +0200

    Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4

 python-sleekxmpp-fix-mixed-tabs-and-spaces.patch |   11 +++++++++++
 python-sleekxmpp.spec                            |    9 ++++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/python-sleekxmpp-fix-mixed-tabs-and-spaces.patch b/python-sleekxmpp-fix-mixed-tabs-and-spaces.patch
new file mode 100644
index 0000000..7e3f04d
--- /dev/null
+++ b/python-sleekxmpp-fix-mixed-tabs-and-spaces.patch
@@ -0,0 +1,11 @@
+--- sleekxmpp/plugins/xep_0323/device.py.orig	2014-05-16 13:20:31.937350022 +0200
++++ sleekxmpp/plugins/xep_0323/device.py	2014-05-16 13:21:01.498312436 +0200
+@@ -95,7 +95,7 @@
+                                 Error details when a request failed. 
+ 
+ 		"""
+-                logging.debug("request_fields called looking for fields %s",fields)
++		logging.debug("request_fields called looking for fields %s",fields)
+ 		if len(fields) > 0:
+ 			# Check availiability
+ 			for f in fields:
diff --git a/python-sleekxmpp.spec b/python-sleekxmpp.spec
index c118506..ae19a1a 100644
--- a/python-sleekxmpp.spec
+++ b/python-sleekxmpp.spec
@@ -4,12 +4,15 @@
 
 Name:		python-sleekxmpp
 Version:	1.2.0
-Release:	0.5.git%{shortcommit}%{?dist}
+Release:	0.6.git%{shortcommit}%{?dist}
 Summary:	Flexible XMPP client/component/server library for Python
 
 License:	MIT
 URL:		https://github.com/fritzy/SleekXMPP
 Source0:	https://github.com/fritzy/SleekXMPP/archive/%{commit}/SleekXMPP-%{version}-%{shortcommit}.tar.gz
+# Seems to have been fixed upstream in
+#  https://github.com/fritzy/SleekXMPP/commit/a2423b849963887415b5b86e556ccda5f9ac2913#diff-446dd43bb3cb47383b2629c457abf504
+Patch0:         python-sleekxmpp-fix-mixed-tabs-and-spaces.patch
 
 BuildArch:	noarch
 BuildRequires:	python2-devel
@@ -39,6 +42,7 @@ Plug-ins can be create to cover every current or future XEP.
 
 %prep
 %setup -q -n SleekXMPP-%{commit}
+%patch0 -p0
 rm -rf %{py3dir}
 cp -a . %{py3dir}
 
@@ -78,6 +82,9 @@ popd
 
 
 %changelog
+* Wed May 14 2014 Bohuslav Kabrda <bkabrda at redhat.com> - 1.2.0-0.6.git08a0fd5
+- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
+
 * Sun Oct 27 2013 Matthieu Saulnier <fantom at fedoraproject.org> - 1.2.0-0.5.git08a0fd5
 - Update to latest revision
 


More information about the scm-commits mailing list