File python-payload_dumper.spec of Package python-payload_dumper
#
# spec file for package python-payload_dumper
#
# Copyright (c) 2026 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# Enable libalternatives by default
%bcond_without libalternatives
Name: python-payload_dumper
Version: 0.2.4
Release: 0
Summary: File transport adapter for Requests
License: None
URL: None
Source: payload_dumper-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
# SECTION test requirements
BuildRequires: %{python_module aiohttp >= 3.8.0}
BuildRequires: %{python_module Brotli >= 1.1.0}
BuildRequires: %{python_module bsdiff4 >= 1.1.5}
BuildRequires: %{python_module fsspec >= 2023.0.0}
BuildRequires: %{python_module protobuf >= 5.27.3}
BuildRequires: %{python_module requests >= 2.28.0}
BuildRequires: %{python_module six >= 1.16.0}
BuildRequires: %{python_module zstandard >= 0.22.0}
# /SECTION
BuildRequires: fdupes
BuildRequires: alts
Requires: alts
Requires: python-aiohttp >= 3.8.0
Requires: python-Brotli >= 1.1.0
Requires: python-bsdiff4 >= 1.1.5
Requires: python-fsspec >= 2023.0.0
Requires: python-protobuf >= 5.27.3
Requires: python-requests >= 2.28.0
Requires: python-six >= 1.16.0
Requires: python-zstandard >= 0.22.0
BuildArch: noarch
%python_subpackages
%description
None
%prep
%autosetup -p1 -n payload_dumper-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/payload_dumper
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.md
%python_alternative %{_bindir}/payload_dumper
%{python_sitelib}/payload_dumper
%{python_sitelib}/payload_dumper-%{version}.dist-info
%changelog