diff --git a/add-license.patch b/add-license.patch deleted file mode 100644 index 435ffbf..0000000 --- a/add-license.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- - 2017-12-07 11:28:01.643656998 +0100 -+++ certstream-1.8/LICENSE 2017-12-07 11:27:54.334676024 +0100 -@@ -0,0 +1,21 @@ -+MIT License -+ -+Copyright (c) 2017 Cali Dog Security -+ -+Permission is hereby granted, free of charge, to any person obtaining a copy -+of this software and associated documentation files (the "Software"), to deal -+in the Software without restriction, including without limitation the rights -+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+copies of the Software, and to permit persons to whom the Software is -+furnished to do so, subject to the following conditions: -+ -+The above copyright notice and this permission notice shall be included in all -+copies or substantial portions of the Software. -+ -+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -+SOFTWARE. diff --git a/certstream-1.10.tar.gz b/certstream-1.10.tar.gz new file mode 100644 index 0000000..04f4302 --- /dev/null +++ b/certstream-1.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:566d59ceda3371ce5093fa985d6b6b5f11413cb3e4afa25311a890b524695548 +size 9514 diff --git a/certstream-1.9.tar.gz b/certstream-1.9.tar.gz deleted file mode 100644 index ae81418..0000000 --- a/certstream-1.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9499be570ff1df4e3f6efa589ace7a6eb11d0820a3a9527a9f3162e3bb4f4c06 -size 8824 diff --git a/python-certstream.changes b/python-certstream.changes index 7bf49d5..30b8af2 100644 --- a/python-certstream.changes +++ b/python-certstream.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Mar 16 17:00:23 UTC 2019 - Jan Engelhardt + +- Avoid name repetition in summary (rpmlint). + +------------------------------------------------------------------- +Wed Mar 6 14:40:48 UTC 2019 - Tomáš Chvátal + +- Update to 1.10: + * no upstream changelog +- Drop merged add-license.patch + ------------------------------------------------------------------- Tue Dec 4 12:46:36 UTC 2018 - Matej Cepl diff --git a/python-certstream.spec b/python-certstream.spec index c3cfe9e..fc3acb0 100644 --- a/python-certstream.spec +++ b/python-certstream.spec @@ -1,7 +1,7 @@ # # spec file for package python-certstream # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -17,53 +17,45 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%{!?license: %global license %doc} -%bcond_without tests Name: python-certstream -Version: 1.9 +Version: 1.10 Release: 0 -Summary: CertStream is a library for receiving certificate transparency list updates +Summary: Python library for receiving certificate transparency list updates License: MIT Group: Development/Libraries/Python -Url: https://github.com/CaliDog/certstream-python/ -Source0: https://pypi.io/packages/source/c/certstream/certstream-%{version}.tar.gz -# PATCH-FIX-OPENSUSE add-license.patch -Patch0: add-license.patch +URL: https://github.com/CaliDog/certstream-python/ +Source0: https://files.pythonhosted.org/packages/source/c/certstream/certstream-%{version}.tar.gz BuildRequires: %{python_module setuptools >= 18.0.1} +#SECTION tests +BuildRequires: %{python_module termcolor} +BuildRequires: %{python_module websocket-client >= 0.48.0} BuildRequires: fdupes BuildRequires: python-rpm-macros -#SECTION tests -%if %{with tests} -BuildRequires: %{python_module termcolor} -BuildRequires: %{python_module websocket-client} -%endif # /SECTION Requires: python3-termcolor -Requires: python3-websocket-client +Requires: python3-websocket-client >= 0.48.0 BuildArch: noarch %python_subpackages %description -Certstream is a library to connect to the certstream network (certstream.calidog.io). +Certstream is a library to connect to the certstream network (certstream.calidog.io). -It supports automatic reconnection when networks issues occur, and should be stable for long-running jobs. +It supports automatic reconnection when networks issues occur, and should be stable for long-running jobs. %prep %setup -q -n certstream-%{version} -%patch0 -p1 +# do not hardcode dependencies +sed -i -e 's:==:>=:g' requirements.txt %build -%{python_build} +%python_build %install -%{python_install} -%{python_expand %fdupes -s %{buildroot}%{$python_sitelib}} +%python_install +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} -%if %{with tests} -%check -%python_exec setup.py test -%endif +# there are no tests %files %{python_files} %doc README.md