diff --git a/python-sniffio.changes b/python-sniffio.changes index e49f233..bceb2f2 100644 --- a/python-sniffio.changes +++ b/python-sniffio.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 15 18:24:34 UTC 2022 - Dirk Müller + +- update to 1.3.0: + * requires python 3.7 + ------------------------------------------------------------------- Sun Jan 31 13:35:33 UTC 2021 - Benjamin Greiner diff --git a/python-sniffio.spec b/python-sniffio.spec index 51eb385..34452cc 100644 --- a/python-sniffio.spec +++ b/python-sniffio.spec @@ -1,7 +1,7 @@ # # spec file for package python-sniffio # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,20 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-sniffio -Version: 1.2.0 +Version: 1.3.0 Release: 0 Summary: Module to sniff which async library code runs under -License: MIT OR Apache-2.0 +License: Apache-2.0 OR MIT Group: Development/Languages/Python URL: https://github.com/python-trio/sniffio Source: https://github.com/python-trio/sniffio/archive/v%{version}.tar.gz#/sniffio-%{version}.tar.gz -BuildRequires: %{python_module contextvars >= 2.1 if %python-base < 3.7} +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210127.3a18043 -%if 0%{?python_version_nodots} < 37 -Requires: python-contextvars >= 2.1 -%endif BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module curio} diff --git a/sniffio-1.2.0.tar.gz b/sniffio-1.2.0.tar.gz deleted file mode 100644 index af91d9b..0000000 --- a/sniffio-1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0e9af48e3f55d286cac3884c4fd0f2c4365702a9ae447bf029d7fc9046c3d7a4 -size 17335 diff --git a/sniffio-1.3.0.tar.gz b/sniffio-1.3.0.tar.gz new file mode 100644 index 0000000..d164fc5 --- /dev/null +++ b/sniffio-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9279dc8ca9a78186d14d5e5892c21bcf756381039997bf8f5d7ed90af884dda1 +size 16867