summaryrefslogtreecommitdiff
path: root/python-django-flatpickr.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 18:32:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 18:32:17 +0000
commitbe6ff9c3f973040ba90b9c6b1dbcf3e60cc22aeb (patch)
treee934c4fb45e6a75fede1393150ef312c4b1c19e9 /python-django-flatpickr.spec
parent1c94d7a8dd7f4775830c27b3788ff63b8516e9a7 (diff)
automatic import of python-django-flatpickropeneuler20.03
Diffstat (limited to 'python-django-flatpickr.spec')
-rw-r--r--python-django-flatpickr.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-django-flatpickr.spec b/python-django-flatpickr.spec
index 8ae6ef1..de687d6 100644
--- a/python-django-flatpickr.spec
+++ b/python-django-flatpickr.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Flatpickr based DatePickerInput, TimePickerInput and DateTimePickerInput with date-range-picker functionality for django >= 2.0
License: MIT
URL: https://github.com/monim67/django-flatpickr
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/84/ff/f9662985fbd46e465eb0f84fd2cf18206693df5297e8412620c9e422cf63/django_flatpickr-2.0.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/84/ff/f9662985fbd46e465eb0f84fd2cf18206693df5297e8412620c9e422cf63/django_flatpickr-2.0.0.tar.gz
BuildArch: noarch
Requires: python3-Django
@@ -52,7 +52,7 @@ configured easily for date-range selection. For Bootstrap date-picker see
| |flatpickr-red-theme| |flatpickr-default-theme| |flatpickr-dark-theme|
%prep
-%autosetup -n django-flatpickr-2.0.0
+%autosetup -n django_flatpickr-2.0.0
%build
%py3_build
@@ -66,20 +66,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 .
@@ -92,5 +92,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