diff --git a/nbxmpp-0.5.4.tar.gz b/nbxmpp-0.5.4.tar.gz deleted file mode 100644 index 27317ae..0000000 --- a/nbxmpp-0.5.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a85f92a23c7adea1ae932b5e9e0a4ee586ca79a4d0ebd0294b1b095d9314379 -size 1514337 diff --git a/nbxmpp-0.5.5.tar.gz b/nbxmpp-0.5.5.tar.gz new file mode 100644 index 0000000..f9382a0 --- /dev/null +++ b/nbxmpp-0.5.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66d77fc50dc55b8d9722c3da21c1a1ba282f782c17f5c27488d112daf2cfdfbe +size 1514272 diff --git a/python-nbxmpp.changes b/python-nbxmpp.changes index 246f779..5e8cb0d 100644 --- a/python-nbxmpp.changes +++ b/python-nbxmpp.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed May 17 13:12:21 UTC 2017 - sor.alexei@meowr.ru + +- Update to version 0.5.5: + * Add some namespaces. + * Some cleanup. +- Update for the multipython build. + ------------------------------------------------------------------- Thu Oct 13 12:02:32 UTC 2016 - sor.alexei@meowr.ru diff --git a/python-nbxmpp.spec b/python-nbxmpp.spec index ee7b389..2b30c06 100644 --- a/python-nbxmpp.spec +++ b/python-nbxmpp.spec @@ -1,7 +1,7 @@ # # spec file for package python-nbxmpp # -# 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 @@ -16,30 +16,28 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define _name nbxmpp Name: python-nbxmpp -Version: 0.5.4 +Version: 0.5.5 Release: 0 Summary: XMPP library by Gajim team License: GPL-3.0+ Group: Development/Languages/Python Url: https://python-nbxmpp.gajim.org/ Source: https://files.pythonhosted.org/packages/source/n/%{_name}/%{_name}-%{version}.tar.gz +BuildRequires: %{python_module devel} BuildRequires: fdupes -BuildRequires: python-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} >= 1120 +BuildRequires: python-rpm-macros BuildArch: noarch -%else -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%py_requires -%endif %description Python-nbxmpp is a Python library that provides a way for Python applications to use Jabber/XMPP networks in a non-blocking way. This library is initialy a fork of xmpppy one, but using non-blocking sockets. +%python_subpackages + %package doc Summary: Nbxmpp Documentation Group: Documentation/Other @@ -49,25 +47,23 @@ This packages provides documentation of Nbxmpp API. %prep %setup -q -n %{_name}-%{version} -rm doc/examples/*.orig %build -python setup.py build +%python_build %install -python setup.py install \ - --root %{buildroot} --prefix=%{_prefix} -%fdupes %{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib}/ -%files +%files %{python_files} %defattr(-,root,root) %doc COPYING %{python_sitelib}/%{_name}/ %{python_sitelib}/%{_name}-* -%files doc +%files %{python_files doc} %defattr(-,root,root) %doc ChangeLog README -%doc doc/apidocs doc/examples +%doc doc/apidocs/ doc/examples/ %changelog