summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 21:07:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 21:07:55 +0000
commit3a2fdf3e92d114efc95f333af7c9d64dbcceb07e (patch)
tree62caf00e6e8bf5563ec078433116e36fa715440f
parent00b0b8d655c744263b5109683cb16a633f34c979 (diff)
automatic import of python-django-languages-plusopeneuler20.03
-rw-r--r--python-django-languages-plus.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-django-languages-plus.spec b/python-django-languages-plus.spec
index b410c73..4282c80 100644
--- a/python-django-languages-plus.spec
+++ b/python-django-languages-plus.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A django model & fixture containing common languages and culture codes
License: MIT
URL: https://github.com/cordery/django-languages-plus
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/46/4a/3eaa70206b1b7a925ffca650cc6ac21ef098b6c785869fe57430210ba99b/django_languages_plus-2.0.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/46/4a/3eaa70206b1b7a925ffca650cc6ac21ef098b6c785869fe57430210ba99b/django_languages_plus-2.0.0.tar.gz
BuildArch: noarch
Requires: python3-django
@@ -30,7 +30,7 @@ Provides: python3-django-languages-plus-doc
%prep
-%autosetup -n django-languages-plus-2.0.0
+%autosetup -n django_languages_plus-2.0.0
%build
%py3_build
@@ -44,20 +44,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 .
@@ -70,5 +70,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.0-1
- Package Spec generated