summaryrefslogtreecommitdiff
path: root/python-marshmallow-dataclass-djangofield.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 06:59:15 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 06:59:15 +0000
commit1336133dace1c25d3bbe31b6b16e56b549ddcce9 (patch)
treecc339544be1e5d73222533298daea050143d11cf /python-marshmallow-dataclass-djangofield.spec
parent49a4311c84efba60aee5dcc082a76ee11b75d908 (diff)
automatic import of python-marshmallow-dataclass-djangofieldopeneuler20.03
Diffstat (limited to 'python-marshmallow-dataclass-djangofield.spec')
-rw-r--r--python-marshmallow-dataclass-djangofield.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-marshmallow-dataclass-djangofield.spec b/python-marshmallow-dataclass-djangofield.spec
index 5a6aaab..74998f1 100644
--- a/python-marshmallow-dataclass-djangofield.spec
+++ b/python-marshmallow-dataclass-djangofield.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Use marshmallow-dataclass as a Django Field
License: MIT
URL: https://github.com/OJFord/marshmallow-dataclass-djangofield
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/41/2f/1054141f2fce188a8405a90526f0b44bb308920559a2f7a3e38ab7706271/marshmallow_dataclass_djangofield-0.4.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/41/2f/1054141f2fce188a8405a90526f0b44bb308920559a2f7a3e38ab7706271/marshmallow_dataclass_djangofield-0.4.0.tar.gz
BuildArch: noarch
Requires: python3-django
@@ -88,7 +88,7 @@ class MyModel(Model):
%prep
-%autosetup -n marshmallow-dataclass-djangofield-0.4.0
+%autosetup -n marshmallow_dataclass_djangofield-0.4.0
%build
%py3_build
@@ -102,20 +102,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 .
@@ -128,5 +128,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.0-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.0-1
- Package Spec generated