diff --git a/.gitignore b/.gitignore index 002253c..c62044a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /sseclient-0.0.18.tar.gz +/sseclient-0.0.26.tar.gz diff --git a/python-sseclient.spec b/python-sseclient.spec index 2b96a37..8e5ecfe 100644 --- a/python-sseclient.spec +++ b/python-sseclient.spec @@ -1,55 +1,50 @@ %global srcname sseclient -%global desc This is a Python client library for iterating over http Server \ -Sent Event (SSE) streams (also known as EventSource, after the name of the \ -Javascript interface inside browsers). The SSEClient class accepts a url on \ -init, and is then an iterator over messages coming from the server.\ - - Name: python-%{srcname} -Version: 0.0.18 -Release: 10%{?dist} -Summary: A Python library for iterating over HTTP Server Sent Events (SSE) +Version: 0.0.26 +Release: 1%{?dist} +Summary: Python library for iterating over HTTP Server Sent Events (SSE) License: MIT URL: https://github.com/btubbs/%{srcname} -Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz +Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: %{py3_dist mock pkginfo pytest requests six} - - %description -%{desc} - +This is a Python client library for iterating over http Server Sent Event +(SSE) streams (also known as EventSource, after the name of the Javascript +interface inside browsers). The SSEClient class accepts an URL on init, and +is then an iterator over messages coming from the server. %package -n python3-%{srcname} Summary: %{summary} -Requires: %{py3_dist requests six} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-mock +BuildRequires: python3-pkginfo +BuildRequires: python3-pytest +BuildRequires: python3-requests +BuildRequires: python3-six %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} -Twine is a utility for interacting with PyPI. -Currently it only supports registering projects and uploading distributions. - +This is a Python client library for iterating over http Server Sent Event +(SSE) streams (also known as EventSource, after the name of the Javascript +interface inside browsers). The SSEClient class accepts an URL on init, and +is then an iterator over messages coming from the server. %prep %autosetup -p1 -n %{srcname}-%{version} - %build %py3_build - %install %py3_install - %check -py.test-3 - +pytest-%{python3_version} -v %files -n python3-%{srcname} %license LICENSE @@ -58,8 +53,11 @@ py.test-3 %{python3_sitelib}/sseclient.py* %{python3_sitelib}/__pycache__/sseclient* - %changelog +* Wed Apr 29 2020 Fabian Affolter - 0.0.26-1 +- Update to latest upstream release 0.0.26 +- Fix description and Source0 + * Thu Jan 30 2020 Fedora Release Engineering - 0.0.18-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index a72362c..b80add3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sseclient-0.0.18.tar.gz) = 6e6e4090d779b09137368a107489c9096ba509eb56e393ffd9c09324ddc921ec37c7433b2cc8c0a8adf424a58948b607b639bcf6d688c750f43cb6c9a350d314 +SHA512 (sseclient-0.0.26.tar.gz) = 0481445f50fdda134532f332437044977b8dad36b9b1ad888932a126f854ce1fe1aee4832826afdd76f19260db37632cded8fcdce9fe632677044bea915465a8