summaryrefslogtreecommitdiff
path: root/python-pe.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-pe.spec')
-rw-r--r--python-pe.spec18
1 files changed, 9 insertions, 9 deletions
diff --git a/python-pe.spec b/python-pe.spec
index 6108d0a..b3dcbd6 100644
--- a/python-pe.spec
+++ b/python-pe.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-pe
-Version: 0.3.2
+Version: 0.4.0
Release: 1
Summary: Library for Parsing Expression Grammars (PEG)
License: MIT
URL: https://github.com/goodmami/pe/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a7/e3/b351f5e5249e3e716ebfc6ea9070d45c38570ff7281e6b015ad664c177f1/pe-0.3.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/f4/fb/61c60d97f9665dd94263bef8b9021d52014cb4e9402034a7241fe77ca916/pe-0.4.0.tar.gz
%description
@@ -468,7 +468,7 @@ Here is one way to parse a list of comma-separated integers:
[LPeg]: http://www.inf.puc-rio.br/~roberto/lpeg/
%prep
-%autosetup -n pe-0.3.2
+%autosetup -n pe-0.4.0
%build
%py3_build
@@ -482,20 +482,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 .
@@ -508,5 +508,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.2-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.0-1
- Package Spec generated