forked from pool/python-pathvalidate
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ea8a658009 | |||
| af499ca70b | |||
| b93136367f | |||
| 7be160c94a |
@@ -1,9 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 11 05:50:32 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
- Specify files and directories explicitly in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 11:12:53 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
||||
@@ -22,12 +22,10 @@ Version: 3.2.3
|
||||
Release: 0
|
||||
Summary: Python library to sanitize/validate a string such as filenames
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/thombashi/pathvalidate
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pathvalidate/pathvalidate-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 38.3.0}
|
||||
BuildRequires: %{python_module setuptools_scm >= 8}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
@@ -37,6 +35,7 @@ BuildRequires: %{python_module click}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module tcolorpy}
|
||||
# /SECTION
|
||||
Requires: python-setuptools >= 38.3.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -48,10 +47,10 @@ filenames/file-paths/etc.
|
||||
%setup -q -n pathvalidate-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -60,7 +59,6 @@ filenames/file-paths/etc.
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/pathvalidate
|
||||
%{python_sitelib}/pathvalidate-%{version}.dist-info
|
||||
%{python_sitelib}/pathvalidate*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user