17
0

Sync with factory

This commit is contained in:
2026-02-18 12:16:09 +01:00
parent 11ba307734
commit 67c94fd8f4
6 changed files with 122 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pathspec
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,19 @@
#
%{?pythons_for_pypi}
%{?sle15_python_module_pythons}
Name: python-pathspec
Version: 0.12.1
Version: 1.0.4
Release: 0
Summary: Utility library for gitignore style pattern matching of file paths
License: MPL-2.0
URL: https://github.com/cpburnz/python-path-specification
Source: https://files.pythonhosted.org/packages/source/p/pathspec/pathspec-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -41,10 +44,10 @@ files.
%setup -q -n pathspec-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -53,6 +56,7 @@ files.
%files %{python_files}
%doc CHANGES.rst README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pathspec
%{python_sitelib}/pathspec-%{version}.dist-info
%changelog