summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 08:32:27 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 08:32:27 +0000
commit88bebc66589f42a71668f2e0a82897d8cb8a76dd (patch)
tree5e6c10c45c6c87693d5501d4981c7e79bb649e8d
parentd0e6362d7ea9ff9d7fcaefcabad3db6995f94102 (diff)
automatic import of python-schema-validatoropeneuler20.03
-rw-r--r--python-schema-validator.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-schema-validator.spec b/python-schema-validator.spec
index e9c3564..7041543 100644
--- a/python-schema-validator.spec
+++ b/python-schema-validator.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A flask/quart extension to provide schema validation with pydantic.
License: MIT
URL: https://github.com/huangxiaohen2738/schema-validator
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/57/ab/fdaca277af898bb228e9e228a639bc8df2649814b67a0bdff9f223bd1bf0/schema_validator-0.2.5.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/57/ab/fdaca277af898bb228e9e228a639bc8df2649814b67a0bdff9f223bd1bf0/schema_validator-0.2.5.tar.gz
BuildArch: noarch
Requires: python3-pyhumps
@@ -252,7 +252,7 @@ Export the swagger which include the ACCOUNT tag:
</details>
%prep
-%autosetup -n schema-validator-0.2.5
+%autosetup -n schema_validator-0.2.5
%build
%py3_build
@@ -266,20 +266,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 .
@@ -292,5 +292,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.5-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.5-1
- Package Spec generated