62 lines
1.5 KiB
RPMSpec
62 lines
1.5 KiB
RPMSpec
# Created by pyp2rpm-3.3.5
|
|
%global pypi_name wcmatch
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 8.5.1
|
|
Release: 1
|
|
Summary: Wildcard/glob file name matcher
|
|
|
|
License: MIT
|
|
URL: https://github.com/facelessuser/wcmatch
|
|
Source0: %{pypi_source wcmatch}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3dist(pytest)
|
|
BuildRequires: python3dist(bracex)
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-setuptools_scm
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-hatchling
|
|
|
|
%global _description %{expand:
|
|
Wildcard/glob file name matcher.}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
|
|
%description -n python3-%{pypi_name} %{_description}
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%license LICENSE.md
|
|
%doc README.md
|
|
%{python3_sitelib}/wcmatch-*.dist-info/
|
|
%{python3_sitelib}/wcmatch/
|
|
|
|
%changelog
|
|
* Mon Mar 04 2024 wangqiang <wangqiang1@kylinos.cn> - 8.5.1-1
|
|
- Update to 8.5.1
|
|
- NEW: Formally support Python 3.11 (no change).
|
|
- NEW: Add support for Python 3.12 (pathlib changes).
|
|
- NEW: Drop Python 3.7 support.
|
|
- FIX: Fix handling of current directory when magic and non-magic patterns are mixed in glob pattern list.
|
|
- FIX: Fix issue with type check failure in wcmatch.glob.
|
|
|
|
* Wed Jun 21 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 8.4.1-1
|
|
- add package python-wcmatch with version 8.4.1 to src-openEuler
|