summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-pprint36.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index a383702..7bf5bfb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/pprint36-3.9.0.2.tar.gz
+/pprint36-3.9.16.0.tar.gz
diff --git a/python-pprint36.spec b/python-pprint36.spec
index 2690481..f3c9497 100644
--- a/python-pprint36.spec
+++ b/python-pprint36.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-pprint36
-Version: 3.9.0.2
+Version: 3.9.16.0
Release: 1
Summary: Backport of pprint from Python 3.9 to Python 3.6-3.8
License: PSFLicense
URL: https://github.com/domdfcoding/pprint36
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/da/40/9caf82a2d7decbc0a61a6ac10668e4f7e44e8280d9f8ded2317450301acd/pprint36-3.9.0.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/34/2f/4424fbe7aaa2abc4ecef43fe122acbe3133dff93a5aa0d00cb04b05b0d0d/pprint36-3.9.16.0.tar.gz
BuildArch: noarch
@@ -34,7 +34,7 @@ To install with ``pip``:
$ python -m pip install pprint36
%prep
-%autosetup -n pprint36-3.9.0.2
+%autosetup -n pprint36-3.9.16.0
%build
%py3_build
@@ -48,20 +48,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
- find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
- find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
- find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
- find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
- find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -74,5 +74,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 3.9.0.2-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 3.9.16.0-1
- Package Spec generated
diff --git a/sources b/sources
index 8b79fe8..7b45d7f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2107ebc19dfa8741940fd656697822e4 pprint36-3.9.0.2.tar.gz
+182330b5c9f62cb24afd1b4ce2447f0c pprint36-3.9.16.0.tar.gz