summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 06:44:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 06:44:28 +0000
commit868a7f9b24814ac971fddb7a8dc39fa37a99f237 (patch)
tree7e81750d0b2b90a519ff7df88da9ef9f9390e7bd
parentd2c94e3b0783482b43206ae5df2573168779442b (diff)
automatic import of python-django-partial-dateopeneuler20.03
-rw-r--r--python-django-partial-date.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-django-partial-date.spec b/python-django-partial-date.spec
index 53d1257..68d0937 100644
--- a/python-django-partial-date.spec
+++ b/python-django-partial-date.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Django custom model field for partial dates with the form YYYY, YYYY-MM, YYYY-MM-DD
License: MIT
URL: https://github.com/ktowen/django_partial_date
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4e/63/0d6198422a5b4a32f600bc595130817f9c8074d02c3b8d81202e1f3fdc35/django_partial_date-1.3.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/4e/63/0d6198422a5b4a32f600bc595130817f9c8074d02c3b8d81202e1f3fdc35/django_partial_date-1.3.2.tar.gz
BuildArch: noarch
Requires: python3-six
@@ -39,7 +39,7 @@ Django custom model field for partial dates with the form YYYY, YYYY-MM, YYYY-MM
* Supports Django versions 2.0, 3.0 and 4.0
%prep
-%autosetup -n django-partial-date-1.3.2
+%autosetup -n django_partial_date-1.3.2
%build
%py3_build
@@ -53,20 +53,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 .
@@ -79,5 +79,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.2-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.2-1
- Package Spec generated