summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 04:07:10 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 04:07:10 +0000
commitc2ead104024ed3ace9173b8e832b31b6568ad596 (patch)
tree3497b0d584d00c635262bb10640454c496740a89
parentfc709dac09a000273eb24fa7f66d36b8fc37e6f2 (diff)
automatic import of python-data-generatoropeneuler20.03
-rw-r--r--python-data-generator.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-data-generator.spec b/python-data-generator.spec
index 01266c4..8c34e77 100644
--- a/python-data-generator.spec
+++ b/python-data-generator.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Random Data Generator
License: MIT License
URL: https://github.com/bednaJedna/data_generator
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4b/61/3eefa1c8dbe56934d34978c79caca71f7260bb646b6dbb5073d700e1ea35/Data%20Generator-1.0.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/4b/61/3eefa1c8dbe56934d34978c79caca71f7260bb646b6dbb5073d700e1ea35/Data%20Generator-1.0.1.tar.gz
BuildArch: noarch
Requires: python3-tqdm
@@ -599,7 +599,7 @@ Basic check is done after CLI command is entered, whether argument values for da
%prep
-%autosetup -n Data-Generator-1.0.1
+%autosetup -n Data Generator-1.0.1
%build
%py3_build
@@ -613,20 +613,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 .
@@ -639,5 +639,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.1-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.1-1
- Package Spec generated