forked from pool/python-slixmpp
Clean SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-slixmpp?expand=0&rev=4
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
@@ -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}-*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user