summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 01:02:47 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 01:02:47 +0000
commitf82599bb30040c994da89c530d53111e559ea442 (patch)
treebba97c79c8238db7cfc1ed14d85739cf7cb8be1e
parentb4db66b1f5a7934e25ca653108544cfd8ef52bdf (diff)
automatic import of python-cached-urlopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-cached-url.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index e566c58..6aaefa7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/cached_url-0.0.35.tar.gz
+/cached_url-0.0.38.tar.gz
diff --git a/python-cached-url.spec b/python-cached-url.spec
index 047f652..2d89ce2 100644
--- a/python-cached-url.spec
+++ b/python-cached-url.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-cached-url
-Version: 0.0.35
+Version: 0.0.38
Release: 1
Summary: Library for get url content (cached when testing).
License: MIT License
URL: https://github.com/gaoyunzhi/cached_url
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f8/77/adb04f81dd0edbfece940fa900a4cd0485d99bccf92c46d9f779fa335e9f/cached_url-0.0.35.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/21/4c/871362f29115583ca5286558b4f6e65f8638afd687d917ef25d45f5a94b4/cached_url-0.0.38.tar.gz
BuildArch: noarch
@@ -73,7 +73,7 @@ content = cached_url.get(webpage_url, ttl=10)
%prep
-%autosetup -n cached-url-0.0.35
+%autosetup -n cached_url-0.0.38
%build
%py3_build
@@ -87,20 +87,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 .
@@ -113,5 +113,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.35-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.38-1
- Package Spec generated
diff --git a/sources b/sources
index 286619e..54eb82f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5ba9f2d4d0a3769476e5103e1da63d41 cached_url-0.0.35.tar.gz
+4130ced19e1cfa7851c973aee5defc60 cached_url-0.0.38.tar.gz