!6 Upgrade to latest release [python-pathspec -> 0.11.1]
From: @Wangjunqi123 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
1b90545b9c
@ -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"
|
||||
+ )
|
||||
Binary file not shown.
BIN
pathspec-0.11.1.tar.gz
Normal file
BIN
pathspec-0.11.1.tar.gz
Normal file
Binary file not shown.
@ -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 <wangjunqi@kylinos.cn> - 0.11.1-1
|
||||
- Update package to version 0.11.1
|
||||
|
||||
* Fri Dec 16 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 0.10.3-1
|
||||
- Update package to version 0.10.3
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user