summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 16:21:43 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 16:21:43 +0000
commit8a2f2cbc74f6724f46db52207ee0ed91aba3f62b (patch)
tree92d13e845d065adea6f303e4563e59da3286232f
parent1ed335644a0e3df95d23c46b434bbad7d403cc21 (diff)
automatic import of python-mimesis-factoryopeneuler20.03
-rw-r--r--python-mimesis-factory.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-mimesis-factory.spec b/python-mimesis-factory.spec
index f572dd4..6df5d03 100644
--- a/python-mimesis-factory.spec
+++ b/python-mimesis-factory.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Mimesis integration with factory_boy
License: MIT
URL: https://github.com/mimesis-lab/mimesis-factory
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/34/2e/392b366d45ee16523f6e751a40f7e4050f19ab2c6a6572827d3baecb60f7/mimesis_factory-1.2.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/34/2e/392b366d45ee16523f6e751a40f7e4050f19ab2c6a6572827d3baecb60f7/mimesis_factory-1.2.0.tar.gz
BuildArch: noarch
Requires: python3-factory-boy
@@ -249,7 +249,7 @@ This way it will be possible to integrate your factories into `pytest` fixtures.
%prep
-%autosetup -n mimesis-factory-1.2.0
+%autosetup -n mimesis_factory-1.2.0
%build
%py3_build
@@ -263,20 +263,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 .
@@ -289,5 +289,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1
- Package Spec generated