summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 08:56:26 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 08:56:26 +0000
commitda431dcaa3229b030bc27e9483f86be6798e18cf (patch)
tree76a4640c9de6f1b1f2067eb44f3bd695fa1e67a6
parent0b42f9bff8e64511150052ba5c82e480a2d0069c (diff)
automatic import of python-osm-humanized-opening-hoursopeneuler20.03
-rw-r--r--python-osm-humanized-opening-hours.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-osm-humanized-opening-hours.spec b/python-osm-humanized-opening-hours.spec
index 52d0991..a365e50 100644
--- a/python-osm-humanized-opening-hours.spec
+++ b/python-osm-humanized-opening-hours.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A parser for the opening_hours fields from OpenStreetMap.
License: GNU Affero General Public License v3
URL: http://github.com/rezemika/humanized_opening_hours
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8a/96/2df7dd71ed3a00cc9ac765d262c229ed83127354e3f789686b34388c7ee2/osm_humanized_opening_hours-0.6.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/8a/96/2df7dd71ed3a00cc9ac765d262c229ed83127354e3f789686b34388c7ee2/osm_humanized_opening_hours-0.6.2.tar.gz
BuildArch: noarch
Requires: python3-pytz
@@ -169,7 +169,7 @@ Can take a datetime.datetime moment to check for another time.
True
%prep
-%autosetup -n osm-humanized-opening-hours-0.6.2
+%autosetup -n osm_humanized_opening_hours-0.6.2
%build
%py3_build
@@ -183,20 +183,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 .
@@ -209,5 +209,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.2-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.2-1
- Package Spec generated