summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 15:32:59 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 15:32:59 +0000
commit0b99a614a202bb7eaf81bcf6ab022eb8dd6b68f2 (patch)
tree73368eb3149889c5c78215cde507e4c8e230a3b0
parent354b690a4f6a1a81e93d1a27fc268f53395e80d0 (diff)
automatic import of python-peopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-pe.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index dd5cc02..3c542ec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/pe-0.3.2.tar.gz
+/pe-0.4.0.tar.gz
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
diff --git a/sources b/sources
index 9555b76..2739dc9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2eaa317a41d5afbfc4e37b3e4e1db0aa pe-0.3.2.tar.gz
+559828f6bd01bdf72fe253d65111f918 pe-0.4.0.tar.gz