summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 16:17:41 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 16:17:41 +0000
commit7c94d99de4a94eafce9ac4ffd95c93118db30e6d (patch)
tree6367cbffc2c79a833adbef8acd5b42b81062d3de
parent058255eb737490207f07376ca5e83cb52fbdddb6 (diff)
automatic import of python-redshift-toolopeneuler20.03
-rw-r--r--python-redshift-tool.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-redshift-tool.spec b/python-redshift-tool.spec
index f2414e0..0c1d092 100644
--- a/python-redshift-tool.spec
+++ b/python-redshift-tool.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Elegant data load from Pandas to Redshift
License: MIT
URL: http://github.com/mkgiitr/redshift_tool
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/32/95/e2a68463b8a4e6e0cfef02a18ba832cbc3df55afafe022dea8730f0b7306/redshift_tool-0.4.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/32/95/e2a68463b8a4e6e0cfef02a18ba832cbc3df55afafe022dea8730f0b7306/redshift_tool-0.4.tar.gz
BuildArch: noarch
Requires: python3-psycopg2
@@ -47,7 +47,7 @@ Provides: python3-redshift-tool-doc
| 6.References_
%prep
-%autosetup -n redshift-tool-0.4
+%autosetup -n redshift_tool-0.4
%build
%py3_build
@@ -61,20 +61,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 .
@@ -87,5 +87,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4-1
- Package Spec generated