Files
openRuyi/SPECS/python-configparser/python-configparser.spec

45 lines
1.3 KiB
RPMSpec

# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: purofle <yuguo.or@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
%global srcname configparser
Name: python-%{srcname}
Version: 7.2.0
Release: %autorelease
Summary: Updated configparser from stdlib for earlier Pythons
License: MIT
URL: https://github.com/jaraco/configparser
#!RemoteAsset: sha256:b629cc8ae916e3afbd36d1b3d093f34193d851e11998920fdcfc4552218b7b70
Source0: https://files.pythonhosted.org/packages/source/c/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildSystem: pyproject
BuildOption(install): -l backports
BuildRequires: pyproject-rpm-macros
BuildRequires: pkgconfig(python3)
BuildRequires: python3dist(setuptools-scm[toml])
BuildRequires: python3dist(pip)
BuildRequires: python3dist(wheel)
BuildRequires: python3dist(pytest)
Provides: python3-%{srcname}
%python_provide python3-%{srcname}
%description
This package is a backport of the refreshed and
enhanced ConfigParser from later Python versions.
%generate_buildrequires
%pyproject_buildrequires
%files -f %{pyproject_files}
%doc README.rst
%license LICENSE
%changelog
%{?autochangelog}