summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 23:06:44 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 23:06:44 +0000
commit64477cef954287f356e9f22a11a386c6f0e98c2e (patch)
treead378e68632fc170803873b1f18740d9b8787768
parent21a2c38bee3082f51b5da8b632092ff99055d294 (diff)
automatic import of python-openstf-dbcopeneuler20.03
-rw-r--r--python-openstf-dbc.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-openstf-dbc.spec b/python-openstf-dbc.spec
index e6e5709..6d75aee 100644
--- a/python-openstf-dbc.spec
+++ b/python-openstf-dbc.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Database Connection for OpenSTF
License: MPL-2.0
URL: https://github.com/alliander-opensource/openstf-dbc
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7a/c7/93da3be3f52523af90cbfec8a48d8ee6c79e5a9a0503331594ca5a06cb4d/openstf_dbc-2.2.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/7a/c7/93da3be3f52523af90cbfec8a48d8ee6c79e5a9a0503331594ca5a06cb4d/openstf_dbc-2.2.0.tar.gz
BuildArch: noarch
Requires: python3-geopy
@@ -204,7 +204,7 @@ korte.termijn.prognoses@alliander.com
%prep
-%autosetup -n openstf-dbc-2.2.0
+%autosetup -n openstf_dbc-2.2.0
%build
%py3_build
@@ -218,20 +218,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 .
@@ -244,5 +244,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.0-1
- Package Spec generated