diff --git a/python-wcmatch.spec b/python-wcmatch.spec index 8e21b72..e21f5a8 100644 --- a/python-wcmatch.spec +++ b/python-wcmatch.spec @@ -2,7 +2,7 @@ %global pypi_name wcmatch Name: python-%{pypi_name} -Version: 8.4.1 +Version: 8.5.1 Release: 1 Summary: Wildcard/glob file name matcher @@ -21,28 +21,16 @@ BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling -%description -Wildcard Match provides an enhanced fnmatch, glob, and pathlib library in order -to provide file matching and globbing that more closely follows the features -found in Bash. In some ways these libraries are similar to Python's builtin -libraries as they provide a similar interface to match, filter, and glob the -file system. But they also include a number of features found in Bash's -globbing such as backslash escaping, brace expansion, extended glob pattern -groups, etc. They also add a number of new useful functions as well, such as -globmatch which functions like fnmatch, but for paths. +%global _description %{expand: +Wildcard/glob file name matcher.} + +%description %{_description} + %package -n python3-%{pypi_name} Summary: %{summary} -%description -n python3-%{pypi_name} -Wildcard Match provides an enhanced fnmatch, glob, and pathlib library in order -to provide file matching and globbing that more closely follows the features -found in Bash. In some ways these libraries are similar to Python's builtin -libraries as they provide a similar interface to match, filter, and glob the -file system. But they also include a number of features found in Bash's -globbing such as backslash escaping, brace expansion, extended glob pattern -groups, etc. They also add a number of new useful functions as well, such as -globmatch which functions like fnmatch, but for paths. +%description -n python3-%{pypi_name} %{_description} %prep @@ -61,5 +49,13 @@ globmatch which functions like fnmatch, but for paths. %{python3_sitelib}/wcmatch/ %changelog +* Mon Mar 04 2024 wangqiang - 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 - 8.4.1-1 - add package python-wcmatch with version 8.4.1 to src-openEuler diff --git a/python-wcmatch.yaml b/python-wcmatch.yaml new file mode 100644 index 0000000..913031d --- /dev/null +++ b/python-wcmatch.yaml @@ -0,0 +1,4 @@ +version_control: pypi +src_repo: wcmatch +tag_prefix: ^v +separator: . diff --git a/wcmatch-8.4.1.tar.gz b/wcmatch-8.4.1.tar.gz deleted file mode 100644 index 541ba1d..0000000 Binary files a/wcmatch-8.4.1.tar.gz and /dev/null differ diff --git a/wcmatch-8.5.1.tar.gz b/wcmatch-8.5.1.tar.gz new file mode 100644 index 0000000..80c20b5 Binary files /dev/null and b/wcmatch-8.5.1.tar.gz differ