summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 11:05:31 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 11:05:31 +0000
commitff6d2ab9c902dd3f7ddecfe1a19eba8af3d9432f (patch)
tree94c94c463d3c885bac3e11e0e721a488dfdd89f4
parent95217a8caad267dcbc44bbb76f4d25ae4250118d (diff)
automatic import of python-pytest-mimesisopeneuler20.03
-rw-r--r--python-pytest-mimesis.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-pytest-mimesis.spec b/python-pytest-mimesis.spec
index f92c448..4a46f73 100644
--- a/python-pytest-mimesis.spec
+++ b/python-pytest-mimesis.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Mimesis integration with the pytest test runner
License: MIT
URL: https://github.com/pytest-dev/pytest-mimesis
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bb/37/0b0ecfcee75ef3b9d92592e2402df81de2f795bf4e266c3beb3df7c4f325/pytest_mimesis-1.1.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/bb/37/0b0ecfcee75ef3b9d92592e2402df81de2f795bf4e266c3beb3df7c4f325/pytest_mimesis-1.1.0.tar.gz
BuildArch: noarch
Requires: python3-pytest
@@ -255,7 +255,7 @@ pytest-mimesis is licensed under the [MIT License](https://github.com/pytest-dev
%prep
-%autosetup -n pytest-mimesis-1.1.0
+%autosetup -n pytest_mimesis-1.1.0
%build
%py3_build
@@ -269,20 +269,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 .
@@ -295,5 +295,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.0-1
- Package Spec generated