From 4c4461ecc3e158d5dfff6287785ce6f3ec6de18ee1ce71b41eb12d507009135d Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Sun, 8 Dec 2013 14:13:10 +0000
Subject: [PATCH] Accepting request 209819 from
home:posophe:branches:devel:languages:python
- Update to version 0.2
+ Add some namespace
+ do TLS handshake without blocking
+ store all SSL errors instead of only last one
- Set correct Group : Devel/Languages/Python
- Use download Url as source
- Remove unwanted comments in specfile
- Package the two directories in /doc to avoid providing epydoc build
configuration file
OBS-URL: https://build.opensuse.org/request/show/209819
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nbxmpp?expand=0&rev=9
---
nbxmpp-0.1.tar.gz | 3 ---
nbxmpp-0.2.tar.gz | 3 +++
python-nbxmpp.changes | 13 +++++++++++++
python-nbxmpp.spec | 24 ++++++++----------------
4 files changed, 24 insertions(+), 19 deletions(-)
delete mode 100644 nbxmpp-0.1.tar.gz
create mode 100644 nbxmpp-0.2.tar.gz
diff --git a/nbxmpp-0.1.tar.gz b/nbxmpp-0.1.tar.gz
deleted file mode 100644
index eef5891..0000000
--- a/nbxmpp-0.1.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6d37713fbc1810beeb7217ef2bcb5f9b54eb0442661dc51dfc677270e5582970
-size 1520492
diff --git a/nbxmpp-0.2.tar.gz b/nbxmpp-0.2.tar.gz
new file mode 100644
index 0000000..598e335
--- /dev/null
+++ b/nbxmpp-0.2.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ae2ccc8f6e0febaeef4e694b17a0d3f00c536bfbc5d96cff638b3714ea7d56a5
+size 1506286
diff --git a/python-nbxmpp.changes b/python-nbxmpp.changes
index a5cad0f..3f38f86 100644
--- a/python-nbxmpp.changes
+++ b/python-nbxmpp.changes
@@ -1,3 +1,16 @@
+-------------------------------------------------------------------
+Sun Dec 8 14:10:06 UTC 2013 - p.drouand@gmail.com
+
+- Update to version 0.2
+ + Add some namespace
+ + do TLS handshake without blocking
+ + store all SSL errors instead of only last one
+- Set correct Group : Devel/Languages/Python
+- Use download Url as source
+- Remove unwanted comments in specfile
+- Package the two directories in /doc to avoid providing epydoc build
+ configuration file
+
-------------------------------------------------------------------
Thu Aug 15 16:53:31 UTC 2013 - dap.darkness@gmail.com
diff --git a/python-nbxmpp.spec b/python-nbxmpp.spec
index bfe9824..13bdcd3 100644
--- a/python-nbxmpp.spec
+++ b/python-nbxmpp.spec
@@ -15,27 +15,20 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-
-# To buid at SLE <= 11 SP2.
-%if 0%{?suse_version} < 1140
-%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-%endif
-
Name: python-nbxmpp
-Version: 0.1
+Version: 0.2
Release: 0
Summary: XMPP library by Gajim team
License: GPL-3.0
-Group: Development/Libraries/Python
+Group: Development/Languages/Python
Url: http://python-nbxmpp.gajim.org/
-Source0: nbxmpp-%{version}.tar.gz
-
+Source0: https://pypi.python.org/packages/source/n/nbxmpp/nbxmpp-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-devel
-
-# To buid at SLE <= 11 SP2.
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} >= 1140
+%if 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%else
BuildArch: noarch
%endif
@@ -46,8 +39,7 @@ library is initialy a fork of xmpppy one, but using non-blocking sockets.
%package doc
Summary: Nbxmpp Documentation
-Group: Development/Libraries/Python
-# ^ To buid at SLE <= 11 SP2.
+Group: Development/Languages/Python
%description doc
This packages provides documentation of Nbxmpp API.
@@ -70,6 +62,6 @@ python setup.py install -O1 --skip-build --root %{buildroot} --prefix=%{_prefix}
%files doc
%defattr(-,root,root)
-%doc ChangeLog README doc/*
+%doc ChangeLog README doc/apidocs doc/examples
%changelog