diff --git a/0001-add-version.patch b/0001-add-version.patch deleted file mode 100644 index 0310239..0000000 --- a/0001-add-version.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- c/setup.py 2022-11-22 10:28:28.188593951 +0800 -+++ a/setup.py 2022-11-22 10:28:59.479591724 +0800 -@@ -5,4 +5,7 @@ is cumbersome be used such as for system - - from setuptools import setup - --setup() -+setup( -+ name = "pathspec", -+ version = "0.10.2" -+ ) diff --git a/pathspec-0.10.3.tar.gz b/pathspec-0.10.3.tar.gz deleted file mode 100644 index 6be5679..0000000 Binary files a/pathspec-0.10.3.tar.gz and /dev/null differ diff --git a/pathspec-0.11.1.tar.gz b/pathspec-0.11.1.tar.gz new file mode 100644 index 0000000..d3d8950 Binary files /dev/null and b/pathspec-0.11.1.tar.gz differ diff --git a/python-pathspec.spec b/python-pathspec.spec index b5b10a8..cba2756 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,15 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-pathspec -Version: 0.10.3 +Version: 0.11.1 Release: 1 Summary: Utility library for gitignore style pattern matching of file paths. License: MPL-2.0 URL: https://github.com/cpburnz/python-pathspec -Source0: https://files.pythonhosted.org/packages/32/1a/6baf904503c3e943cae9605c9c88a43b964dea5b59785cf956091b341b08/pathspec-0.10.3.tar.gz -Patch0: 0001-add-version.patch +Source0: https://files.pythonhosted.org/packages/95/60/d93628975242cc515ab2b8f5b2fc831d8be2eff32f5a1be4776d49305d13/pathspec-0.11.1.tar.gz BuildArch: noarch - %description pathspec is a utility library for pattern matching of file paths. So far this only includes Git's wildmatch pattern matching which itself is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files. @@ -32,7 +30,7 @@ Provides: python3-pathspec-doc pathspec is a utility library for pattern matching of file paths. So far this only includes Git's wildmatch pattern matching which itself is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files. %prep -%autosetup -p1 -n pathspec-%{version} +%autosetup -n pathspec-%{version} %build %py3_build @@ -44,6 +42,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst @@ -72,6 +73,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Mar 28 2023 wangjunqi - 0.11.1-1 +- Update package to version 0.11.1 + * Fri Dec 16 2022 jiangxinyu - 0.10.3-1 - Update package to version 0.10.3