14
0
Alexei Sorokin
2021-10-25 01:24:38 +00:00
committed by Git OBS Bridge
parent f268c69a8c
commit ac50f9e427
4 changed files with 15 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-slixmpp
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,19 @@
%define skip_python2 1
%define skip_python36 1
%define _name slixmpp
Name: python-slixmpp
Version: 1.5.2
Version: 1.7.1
Release: 0
Summary: Python XMPP (Jabber) Library that Implements Everything as a Plugin
License: MIT
URL: https://slixmpp.readthedocs.io/
Source: https://lab.louiz.org/poezio/slixmpp/-/archive/slix-%{version}/slixmpp-slix-%{version}.tar.gz
Source: https://lab.louiz.org/poezio/slixmpp/-/archive/slix-%{version}/slixmpp-slix-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE slixmpp-fix-legacyauth.patch nyov@nexnode.net -- Fix an error in legacyauth support.
Patch0: %{_name}-fix-legacyauth.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel >= 3.5}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module dnspython}
BuildRequires: %{python_module xml}
BuildRequires: fdupes
@@ -58,7 +59,7 @@ export CFLAGS="%{optflags}"
%python_expand %fdupes %{buildroot}%{$python_sitearch}/
%check
%python_exec -m unittest discover -v -s tests
%pyunittest -v tests
%files %{python_files}
%license LICENSE