summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 08:40:34 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 08:40:34 +0000
commit875a8ed1637b07ed6b14e7c200f953756c67bedc (patch)
tree8710bff64a548c6fc6cc7270d3eff023e5ec1a46
parenta9b0820d6be8d5ea764b6f0bc8048e7360f01f18 (diff)
automatic import of python-db-transferopeneuler20.03
-rw-r--r--python-db-transfer.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-db-transfer.spec b/python-db-transfer.spec
index fc2f885..5d92673 100644
--- a/python-db-transfer.spec
+++ b/python-db-transfer.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: An easy way to fetch and store data from and store to key-value databases like Redis.
License: MIT
URL: https://github.com/arrrlo/db-transfer
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/33/1c/e4c75fb2ae919cabb15b02401979b9c45384aae2907716a885cd2e32ecd7/DB%20Transfer-0.5.6.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/33/1c/e4c75fb2ae919cabb15b02401979b9c45384aae2907716a885cd2e32ecd7/DB%20Transfer-0.5.6.tar.gz
BuildArch: noarch
Requires: python3-click
@@ -1008,7 +1008,7 @@ for key in rt.keys():
%prep
-%autosetup -n DB-Transfer-0.5.6
+%autosetup -n DB Transfer-0.5.6
%build
%py3_build
@@ -1022,20 +1022,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 .
@@ -1048,5 +1048,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.6-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.6-1
- Package Spec generated