commit python-sleekxmpp for openSUSE:Factory

2019-10-16 Thread root
Hello community,

here is the log from the commit of package python-sleekxmpp for 
openSUSE:Factory checked in at 2019-10-16 09:15:49

Comparing /work/SRC/openSUSE:Factory/python-sleekxmpp (Old)
 and  /work/SRC/openSUSE:Factory/.python-sleekxmpp.new.2352 (New)


Package is "python-sleekxmpp"

Wed Oct 16 09:15:49 2019 rev:8 rq:738399 version:1.3.3

Changes:

--- /work/SRC/openSUSE:Factory/python-sleekxmpp/python-sleekxmpp.changes
2019-07-04 15:42:16.570019856 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-sleekxmpp.new.2352/python-sleekxmpp.changes  
2019-10-16 09:15:50.823380704 +0200
@@ -1,0 +2,5 @@
+Mon Oct 14 14:42:40 UTC 2019 - Matej Cepl 
+
+- Replace %fdupes -s with plain %fdupes; hardlinks are better.
+
+---



Other differences:
--
++ python-sleekxmpp.spec ++
--- /var/tmp/diff_new_pack.urt1SB/_old  2019-10-16 09:15:51.563378797 +0200
+++ /var/tmp/diff_new_pack.urt1SB/_new  2019-10-16 09:15:51.567378786 +0200
@@ -23,7 +23,6 @@
 Release:0
 Summary:Python XMPP (Jabber) Library that Implements Everything as a 
Plugin
 License:MIT
-Group:  Development/Languages/Python
 URL:https://github.com/fritzy/SleekXMPP
 # https://github.com/fritzy/SleekXMPP/issues/505
 Source: 
https://github.com/fritzy/SleekXMPP/archive/sleek-%{version}.tar.gz
@@ -35,16 +34,16 @@
 Patch2: %{_name}-check-roster-push-origin.patch
 BuildRequires:  %{python_module dnspython}
 BuildRequires:  %{python_module xml}
-# SECTION test requirements
-BuildRequires:  %{python_module pytest}
-BuildRequires:  gpg
-# /SECTION
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python2
 BuildRequires:  python3
 Requires:   python-dnspython
 BuildArch:  noarch
+# SECTION test requirements
+BuildRequires:  %{python_module pytest}
+BuildRequires:  gpg
+# /SECTION
 
 %description
 SleekXMPP is an MIT licensed XMPP library for Python. The goals of
@@ -65,7 +64,7 @@
 
 %install
 %python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}/
+%python_expand %fdupes %{buildroot}%{$python_sitelib}/
 
 %check
 # test_overall.py is skipped by upstream testall.py, too




commit python-sleekxmpp for openSUSE:Factory

2019-07-04 Thread root
Hello community,

here is the log from the commit of package python-sleekxmpp for 
openSUSE:Factory checked in at 2019-07-04 15:42:15

Comparing /work/SRC/openSUSE:Factory/python-sleekxmpp (Old)
 and  /work/SRC/openSUSE:Factory/.python-sleekxmpp.new.4615 (New)


Package is "python-sleekxmpp"

Thu Jul  4 15:42:15 2019 rev:7 rq:707606 version:1.3.3

Changes:

--- /work/SRC/openSUSE:Factory/python-sleekxmpp/python-sleekxmpp.changes
2018-12-07 14:38:57.346806824 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sleekxmpp.new.4615/python-sleekxmpp.changes  
2019-07-04 15:42:16.570019856 +0200
@@ -1,0 +2,5 @@
+Tue Jun  4 12:05:17 UTC 2019 - pgaj...@suse.com
+
+- run the testsuite
+
+---

Old:

  sleekxmpp-1.3.3.tar.gz

New:

  sleek-1.3.3.tar.gz



Other differences:
--
++ python-sleekxmpp.spec ++
--- /var/tmp/diff_new_pack.nDaHaQ/_old  2019-07-04 15:42:17.322020758 +0200
+++ /var/tmp/diff_new_pack.nDaHaQ/_new  2019-07-04 15:42:17.322020758 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sleekxmpp
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,8 @@
 License:MIT
 Group:  Development/Languages/Python
 URL:https://github.com/fritzy/SleekXMPP
-Source: 
https://files.pythonhosted.org/packages/source/s/%{_name}/%{_name}-%{version}.tar.gz
+# https://github.com/fritzy/SleekXMPP/issues/505
+Source: 
https://github.com/fritzy/SleekXMPP/archive/sleek-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE sleekxmpp-fix-dnspython.patch sor.ale...@meowr.ru -- Fix 
compatibility with recent dnspython.
 Patch0: %{_name}-fix-dnspython.patch
 # PATCH-FIX-OPENSUSE sleekxmpp-fix-legacyauth.patch n...@nexnode.net -- Fix an 
error in legacyauth support.
@@ -34,6 +35,10 @@
 Patch2: %{_name}-check-roster-push-origin.patch
 BuildRequires:  %{python_module dnspython}
 BuildRequires:  %{python_module xml}
+# SECTION test requirements
+BuildRequires:  %{python_module pytest}
+BuildRequires:  gpg
+# /SECTION
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python2
@@ -50,7 +55,7 @@
 %python_subpackages
 
 %prep
-%setup -q -n %{_name}-%{version}
+%setup -q -n SleekXMPP-sleek-%{version}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -62,6 +67,12 @@
 %python_install
 %python_expand %fdupes -s %{buildroot}%{$python_sitelib}/
 
+%check
+# test_overall.py is skipped by upstream testall.py, too
+rm tests/{live_*.py,test_overall.py}
+# https://github.com/fritzy/SleekXMPP/issues/504
+%pytest -k 'not testUnknownException'
+
 %files %{python_files}
 %license LICENSE
 %doc README.rst




commit python-sleekxmpp for openSUSE:Factory

2018-12-07 Thread root
Hello community,

here is the log from the commit of package python-sleekxmpp for 
openSUSE:Factory checked in at 2018-12-07 14:38:51

Comparing /work/SRC/openSUSE:Factory/python-sleekxmpp (Old)
 and  /work/SRC/openSUSE:Factory/.python-sleekxmpp.new.19453 (New)


Package is "python-sleekxmpp"

Fri Dec  7 14:38:51 2018 rev:6 rq:655914 version:1.3.3

Changes:

--- /work/SRC/openSUSE:Factory/python-sleekxmpp/python-sleekxmpp.changes
2017-11-08 15:10:36.217018610 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sleekxmpp.new.19453/python-sleekxmpp.changes 
2018-12-07 14:38:57.346806824 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:54:21 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-sleekxmpp.spec ++
--- /var/tmp/diff_new_pack.ABf2bR/_old  2018-12-07 14:38:58.138805843 +0100
+++ /var/tmp/diff_new_pack.ABf2bR/_new  2018-12-07 14:38:58.138805843 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sleekxmpp
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,7 +24,7 @@
 Summary:Python XMPP (Jabber) Library that Implements Everything as a 
Plugin
 License:MIT
 Group:  Development/Languages/Python
-Url:https://github.com/fritzy/SleekXMPP
+URL:https://github.com/fritzy/SleekXMPP
 Source: 
https://files.pythonhosted.org/packages/source/s/%{_name}/%{_name}-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE sleekxmpp-fix-dnspython.patch sor.ale...@meowr.ru -- Fix 
compatibility with recent dnspython.
 Patch0: %{_name}-fix-dnspython.patch
@@ -32,11 +32,12 @@
 Patch1: %{_name}-fix-legacyauth.patch
 # PATCH-FIX-OPENSUSE sleekxmpp-check-roster-push-origin.patch bsc#1014976 
mathi...@mathieui.net -- Check origin of roster pushes (slixmpp commits 
ffdb6ff, ffd9436).
 Patch2: %{_name}-check-roster-push-origin.patch
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module dnspython}
 BuildRequires:  %{python_module xml}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildRequires:  python2
+BuildRequires:  python3
 Requires:   python-dnspython
 BuildArch:  noarch
 
@@ -62,7 +63,8 @@
 %python_expand %fdupes -s %{buildroot}%{$python_sitelib}/
 
 %files %{python_files}
-%doc LICENSE README.rst
+%license LICENSE
+%doc README.rst
 %{python_sitelib}/%{_name}/
 %{python_sitelib}/%{_name}-%{version}-py%{python_version}.egg-info
 




commit python-sleekxmpp for openSUSE:Factory

2017-11-08 Thread root
Hello community,

here is the log from the commit of package python-sleekxmpp for 
openSUSE:Factory checked in at 2017-11-08 15:10:15

Comparing /work/SRC/openSUSE:Factory/python-sleekxmpp (Old)
 and  /work/SRC/openSUSE:Factory/.python-sleekxmpp.new (New)


Package is "python-sleekxmpp"

Wed Nov  8 15:10:15 2017 rev:5 rq:538778 version:1.3.3

Changes:

--- /work/SRC/openSUSE:Factory/python-sleekxmpp/python-sleekxmpp.changes
2017-05-27 13:20:44.095402642 +0200
+++ /work/SRC/openSUSE:Factory/.python-sleekxmpp.new/python-sleekxmpp.changes   
2017-11-08 15:10:36.217018610 +0100
@@ -1,0 +2,8 @@
+Fri Nov  3 06:00:03 UTC 2017 - sor.ale...@meowr.ru
+
+- Update to version 1.3.3:
+  * Remove two-digit-year variants from certificate validity date
+decoding (deb#864257, gh#fritzy/SleekXMPP#461).
+- Remove sleekxmpp-better-tls.patch.
+
+---

Old:

  sleekxmpp-1.3.2.tar.gz
  sleekxmpp-better-tls.patch

New:

  sleekxmpp-1.3.3.tar.gz



Other differences:
--
++ python-sleekxmpp.spec ++
--- /var/tmp/diff_new_pack.ThfWnf/_old  2017-11-08 15:10:36.748999189 +0100
+++ /var/tmp/diff_new_pack.ThfWnf/_new  2017-11-08 15:10:36.748999189 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define _name   sleekxmpp
 Name:   python-sleekxmpp
-Version:1.3.2
+Version:1.3.3
 Release:0
 Summary:Python XMPP (Jabber) Library that Implements Everything as a 
Plugin
 License:MIT
@@ -32,8 +32,6 @@
 Patch1: %{_name}-fix-legacyauth.patch
 # PATCH-FIX-OPENSUSE sleekxmpp-check-roster-push-origin.patch bsc#1014976 
mathi...@mathieui.net -- Check origin of roster pushes (slixmpp commits 
ffdb6ff, ffd9436).
 Patch2: %{_name}-check-roster-push-origin.patch
-# PATCH-FIX-OPENSUSE sleekxmpp-better-tls.patch -- Use ssl.get_protocol_name() 
to find out which TLS version is in use (commit 6ebcf6b).
-Patch3: %{_name}-better-tls.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module dnspython}
 BuildRequires:  %{python_module xml}
@@ -55,7 +53,6 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 %build
 %python_build
@@ -65,7 +62,6 @@
 %python_expand %fdupes -s %{buildroot}%{$python_sitelib}/
 
 %files %{python_files}
-%defattr(-,root,root)
 %doc LICENSE README.rst
 %{python_sitelib}/%{_name}/
 %{python_sitelib}/%{_name}-%{version}-py%{python_version}.egg-info

++ sleekxmpp-1.3.2.tar.gz -> sleekxmpp-1.3.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sleekxmpp-1.3.2/PKG-INFO new/sleekxmpp-1.3.3/PKG-INFO
--- old/sleekxmpp-1.3.2/PKG-INFO2017-03-24 00:46:39.0 +0100
+++ new/sleekxmpp-1.3.3/PKG-INFO2017-09-02 20:16:33.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: sleekxmpp
-Version: 1.3.2
+Version: 1.3.3
 Summary: SleekXMPP is an elegant Python library for XMPP (aka Jabber, Google 
Talk, etc).
 Home-page: http://github.com/fritzy/SleekXMPP
 Author: Nathanael Fritz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sleekxmpp-1.3.2/examples/disco_browser.py 
new/sleekxmpp-1.3.3/examples/disco_browser.py
--- old/sleekxmpp-1.3.2/examples/disco_browser.py   2017-03-24 
00:26:21.0 +0100
+++ new/sleekxmpp-1.3.3/examples/disco_browser.py   2017-09-02 
19:36:55.0 +0200
@@ -94,7 +94,7 @@
 info = self['xep_0030'].get_info(jid=self.target_jid,
  node=self.target_node,
  block=True)
-elif self.get in self.items_types:
+if self.get in self.items_types:
 # The same applies from above. Listen for the
 # disco_items event or pass a callback function
 # if you need to process a non-blocking request.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sleekxmpp-1.3.2/setup.py new/sleekxmpp-1.3.3/setup.py
--- old/sleekxmpp-1.3.2/setup.py2017-03-24 00:46:31.0 +0100
+++ new/sleekxmpp-1.3.3/setup.py2017-09-02 20:16:27.0 +0200
@@ -93,6 +93,7 @@
  'sleekxmpp/plugins/xep_0108',
  'sleekxmpp/plugins/xep_0115',
  'sleekxmpp/plugins/xep_0118',
+ 'sleekxmpp/plugins/xep_0122',
  'sleekxmpp/plugins/xep_0128',
  'sleekxmpp/plugins/xep_0131',
  'sleekxmpp/plugins/xep_0152',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sleekxmpp-1.3.2/sleekx

commit python-sleekxmpp for openSUSE:Factory

2017-05-27 Thread root
Hello community,

here is the log from the commit of package python-sleekxmpp for 
openSUSE:Factory checked in at 2017-05-27 13:19:30

Comparing /work/SRC/openSUSE:Factory/python-sleekxmpp (Old)
 and  /work/SRC/openSUSE:Factory/.python-sleekxmpp.new (New)


Package is "python-sleekxmpp"

Sat May 27 13:19:30 2017 rev:4 rq:498499 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/python-sleekxmpp/python-sleekxmpp.changes
2017-03-24 02:08:32.339415154 +0100
+++ /work/SRC/openSUSE:Factory/.python-sleekxmpp.new/python-sleekxmpp.changes   
2017-05-27 13:20:44.095402642 +0200
@@ -1,0 +2,14 @@
+Tue May  2 21:42:12 UTC 2017 - sor.ale...@meowr.ru
+
+- Update to version 1.3.2:
+  * Fix an issue with carbons (CVE-2017-5589, bsc#1024690).
+- Remove sleekxmpp-fix-carbons.patch.
+- Update for the multipython build.
+- Add sleekxmpp-fix-dnspython.patch: fix compatibility with recent
+  dnspython.
+- Add sleekxmpp-fix-legacyauth.patch by nyov: Fix an error in
+  legacyauth support.
+- Add sleekxmpp-better-tls.patch: Use ssl.get_protocol_name() to
+  find out which TLS version is in use (commit 6ebcf6b).
+
+---

Old:

  sleekxmpp-1.3.1.tar.gz
  sleekxmpp-fix-carbons.patch

New:

  sleekxmpp-1.3.2.tar.gz
  sleekxmpp-better-tls.patch
  sleekxmpp-fix-dnspython.patch
  sleekxmpp-fix-legacyauth.patch



Other differences:
--
++ python-sleekxmpp.spec ++
--- /var/tmp/diff_new_pack.BggNXy/_old  2017-05-27 13:20:44.943282776 +0200
+++ /var/tmp/diff_new_pack.BggNXy/_new  2017-05-27 13:20:44.947282211 +0200
@@ -16,22 +16,29 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define _name   sleekxmpp
 Name:   python-sleekxmpp
-Version:1.3.1
+Version:1.3.2
 Release:0
 Summary:Python XMPP (Jabber) Library that Implements Everything as a 
Plugin
 License:MIT
 Group:  Development/Languages/Python
 Url:https://github.com/fritzy/SleekXMPP
 Source: 
https://files.pythonhosted.org/packages/source/s/%{_name}/%{_name}-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE sleekxmpp-fix-dnspython.patch sor.ale...@meowr.ru -- Fix 
compatibility with recent dnspython.
+Patch0: %{_name}-fix-dnspython.patch
+# PATCH-FIX-OPENSUSE sleekxmpp-fix-legacyauth.patch n...@nexnode.net -- Fix an 
error in legacyauth support.
+Patch1: %{_name}-fix-legacyauth.patch
 # PATCH-FIX-OPENSUSE sleekxmpp-check-roster-push-origin.patch bsc#1014976 
mathi...@mathieui.net -- Check origin of roster pushes (slixmpp commits 
ffdb6ff, ffd9436).
-Patch0: %{_name}-check-roster-push-origin.patch
-# PATCH-FIX-OPENSUSE sleekxmpp-fix-carbons.patch bsc#1024690 
mathi...@mathieui.net -- Fix an issue with carbons (slixmpp commit 22664ee).
-Patch1: %{_name}-fix-carbons.patch
-BuildRequires:  python
-BuildRequires:  python-dnspython
-BuildRequires:  python-xml
+Patch2: %{_name}-check-roster-push-origin.patch
+# PATCH-FIX-OPENSUSE sleekxmpp-better-tls.patch -- Use ssl.get_protocol_name() 
to find out which TLS version is in use (commit 6ebcf6b).
+Patch3: %{_name}-better-tls.patch
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module dnspython}
+BuildRequires:  %{python_module xml}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:   python-dnspython
 BuildArch:  noarch
 
@@ -41,22 +48,26 @@
 (XMPP Extended Protocol) coverage. Ideally the community will be
 able to use this for bots, easy XEP protocoling, etc.
 
+%python_subpackages
+
 %prep
 %setup -q -n %{_name}-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
-python2 setup.py build
+%python_build
 
 %install
-python2 setup.py install \
-  --root=%{buildroot} --prefix=%{_prefix}
+%python_install
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}/
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
 %doc LICENSE README.rst
 %{python_sitelib}/%{_name}/
-%{python_sitelib}/%{_name}-*
+%{python_sitelib}/%{_name}-%{version}-py%{python_version}.egg-info
 
 %changelog

++ sleekxmpp-1.3.1.tar.gz -> sleekxmpp-1.3.2.tar.gz ++
 7267 lines of diff (skipped)

++ sleekxmpp-better-tls.patch ++
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -839,8 +839,10 @@ class XMLStream(object):
 to be restarted.
 """
 log.info("Negotiating TLS")
-ssl_versions = {3: 'TLS 1.0', 1: 'SSL 3', 2: 'SSL 2/3'}
-log.info("Using SSL version: %s", ssl_versions[self.ssl_version])
+log.info(
+"Using SSL version: %s",
+ssl.get_protocol_name(self.ssl_version).replace('PROTOCOL_', '', 1)
+)
 if

commit python-sleekxmpp for openSUSE:Factory

2017-03-23 Thread root
Hello community,

here is the log from the commit of package python-sleekxmpp for 
openSUSE:Factory checked in at 2017-03-24 02:08:31

Comparing /work/SRC/openSUSE:Factory/python-sleekxmpp (Old)
 and  /work/SRC/openSUSE:Factory/.python-sleekxmpp.new (New)


Package is "python-sleekxmpp"

Fri Mar 24 02:08:31 2017 rev:3 rq:456805 version:1.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-sleekxmpp/python-sleekxmpp.changes
2017-01-10 10:47:56.453655607 +0100
+++ /work/SRC/openSUSE:Factory/.python-sleekxmpp.new/python-sleekxmpp.changes   
2017-03-24 02:08:32.339415154 +0100
@@ -1,0 +2,6 @@
+Sat Feb 11 23:12:47 UTC 2017 - sor.ale...@meowr.ru
+
+- Add sleekxmpp-fix-carbons.patch by mathieui: Fix an issue with
+  carbons (slixmpp commit 22664ee) (CVE-2017-5589, bsc#1024690).
+
+---

New:

  sleekxmpp-fix-carbons.patch



Other differences:
--
++ python-sleekxmpp.spec ++
--- /var/tmp/diff_new_pack.J0rTC7/_old  2017-03-24 02:08:33.059313243 +0100
+++ /var/tmp/diff_new_pack.J0rTC7/_new  2017-03-24 02:08:33.059313243 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sleekxmpp
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,8 @@
 Source: 
https://files.pythonhosted.org/packages/source/s/%{_name}/%{_name}-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE sleekxmpp-check-roster-push-origin.patch bsc#1014976 
mathi...@mathieui.net -- Check origin of roster pushes (slixmpp commits 
ffdb6ff, ffd9436).
 Patch0: %{_name}-check-roster-push-origin.patch
+# PATCH-FIX-OPENSUSE sleekxmpp-fix-carbons.patch bsc#1024690 
mathi...@mathieui.net -- Fix an issue with carbons (slixmpp commit 22664ee).
+Patch1: %{_name}-fix-carbons.patch
 BuildRequires:  python
 BuildRequires:  python-dnspython
 BuildRequires:  python-xml
@@ -42,6 +44,7 @@
 %prep
 %setup -q -n %{_name}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 python2 setup.py build

++ sleekxmpp-fix-carbons.patch ++
--- a/sleekxmpp/plugins/xep_0280/carbons.py
+++ b/sleekxmpp/plugins/xep_0280/carbons.py
@@ -61,10 +61,12 @@ class XEP_0280(BasePlugin):
 self.xmpp.plugin['xep_0030'].add_feature('urn:xmpp:carbons:2')
 
 def _handle_carbon_received(self, msg):
-self.xmpp.event('carbon_received', msg)
+if msg['from'].bare == self.xmpp.boundjid.bare:
+self.xmpp.event('carbon_received', msg)
 
 def _handle_carbon_sent(self, msg):
-self.xmpp.event('carbon_sent', msg)
+if msg['from'].bare == self.xmpp.boundjid.bare:
+self.xmpp.event('carbon_sent', msg)
 
 def enable(self, ifrom=None, block=True, timeout=None, callback=None):
 iq = self.xmpp.Iq()