14
0
2018-07-19 16:41:58 +00:00
committed by Git OBS Bridge
parent 3ce13aaf49
commit a10cec80c2
2 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 19 16:41:35 UTC 2018 - mcepl@suse.com
- Clean SPEC file
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Feb 11 11:41:32 UTC 2018 - jengelh@inai.de Sun Feb 11 11:41:32 UTC 2018 - jengelh@inai.de

View File

@@ -24,10 +24,11 @@ Release: 0
Summary: Python XMPP (Jabber) Library that Implements Everything as a Plugin Summary: Python XMPP (Jabber) Library that Implements Everything as a Plugin
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://slixmpp.readthedocs.io/ URL: https://slixmpp.readthedocs.io/
Source: https://dev.louiz.org/attachments/download/%{_tar_ver}/%{_name}-%{version}.tar.gz Source: https://dev.louiz.org/attachments/download/%{_tar_ver}/%{_name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE slixmpp-fix-legacyauth.patch nyov@nexnode.net -- Fix an error in legacyauth support. # PATCH-FIX-OPENSUSE slixmpp-fix-legacyauth.patch nyov@nexnode.net -- Fix an error in legacyauth support.
Patch0: %{_name}-fix-legacyauth.patch Patch0: %{_name}-fix-legacyauth.patch
BuildRequires: fdupes
BuildRequires: gnupg BuildRequires: gnupg
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python3 >= 3.4 BuildRequires: python3 >= 3.4
@@ -64,12 +65,14 @@ python3 setup.py build
%install %install
python3 setup.py install \ python3 setup.py install \
--root=%{buildroot} --prefix=%{_prefix} --root=%{buildroot} --prefix=%{_prefix}
%fdupes %{buildroot}%{python3_sitearch}
%check %check
python3 run_tests.py python3 run_tests.py
%files -n python3-%{_name} %files -n python3-%{_name}
%doc LICENSE README.rst %license LICENSE
%doc README.rst
%{python3_sitearch}/%{_name}/ %{python3_sitearch}/%{_name}/
%{python3_sitearch}/%{_name}-* %{python3_sitearch}/%{_name}-*