- spec cleanup

- Update to 0.14.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-h11?expand=0&rev=23
This commit is contained in:
Dirk Mueller 2024-01-29 21:37:01 +00:00 committed by Git OBS Bridge
parent 2d98a979ca
commit fa2f3c3a4e
2 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 29 21:36:32 UTC 2024 - Dirk Müller <dmueller@suse.com>
- spec cleanup
-------------------------------------------------------------------
Fri Apr 21 12:25:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -11,7 +16,7 @@ Thu Apr 13 22:41:44 UTC 2023 - Matej Cepl <mcepl@suse.com>
-------------------------------------------------------------------
Wed Oct 12 03:33:53 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 0.14.0
- Update to 0.14.0
No upstream changelog
-------------------------------------------------------------------

View File

@ -1,7 +1,7 @@
#
# spec file for package python-h11
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,8 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-h11
Version: 0.14.0
@ -26,7 +24,9 @@ Summary: A pure-Python, bring-your-own-I/O implementation of HTTP/11
License: MIT
URL: https://github.com/python-hyper/h11
Source: https://files.pythonhosted.org/packages/source/h/h11/h11-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@ -43,10 +43,10 @@ heavily inspired by hyper-h2 <https://hyper-h2.readthedocs.io>
%setup -q -n h11-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -55,6 +55,7 @@ heavily inspired by hyper-h2 <https://hyper-h2.readthedocs.io>
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/*
%{python_sitelib}/h11
%{python_sitelib}/h11-%{version}.dist-info
%changelog