summaryrefslogtreecommitdiff
path: root/python-django-prefetch.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 10:49:31 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 10:49:31 +0000
commit71401b41e0c486b9a7d0271457612876453cf902 (patch)
treef781767e02f7a16723e321a9c0f7823fba1a9b4a /python-django-prefetch.spec
parent4b16cff38d9d6196432c40e4a9e80da96183c889 (diff)
automatic import of python-django-prefetchopeneuler20.03
Diffstat (limited to 'python-django-prefetch.spec')
-rw-r--r--python-django-prefetch.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-django-prefetch.spec b/python-django-prefetch.spec
index ea4bcad..c7dab2b 100644
--- a/python-django-prefetch.spec
+++ b/python-django-prefetch.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Simple and generic model related data prefetch framework for Django solving the "1+N queries" problem that happens when you need related data for your objects.
License: BSD-2-Clause
URL: https://github.com/ionelmc/django-prefetch
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e5/4f/e668b12b6227bf671db9ccaf3b113d2f530e784fa127f045805664fb7f5f/django-prefetch-1.2.3.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/e5/4f/e668b12b6227bf671db9ccaf3b113d2f530e784fa127f045805664fb7f5f/django-prefetch-1.2.3.tar.gz
BuildArch: noarch
Requires: python3-Django
@@ -43,20 +43,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 .
@@ -69,5 +69,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.3-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.3-1
- Package Spec generated