summaryrefslogtreecommitdiff
path: root/python-dbaas-zabbix.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 21:05:39 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 21:05:39 +0000
commitb6d40ec3fd848e64503de1fc645c744b35275f6e (patch)
treeb058dfda63b9adbe20e83a8f61874d6af38f5a70 /python-dbaas-zabbix.spec
parenta133b03449d54cb27ff8d0a8ace49253413347fc (diff)
automatic import of python-dbaas-zabbixopeneuler20.03
Diffstat (limited to 'python-dbaas-zabbix.spec')
-rw-r--r--python-dbaas-zabbix.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-dbaas-zabbix.spec b/python-dbaas-zabbix.spec
index 498af66..9d8871e 100644
--- a/python-dbaas-zabbix.spec
+++ b/python-dbaas-zabbix.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A Zabbix Integration for DBaaS.
License: BSD
URL: https://github.com/globocom/dbaas-zabbix
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e2/29/812ce6489236eec7a4fcdd99cff05892565137cd1835c92668a0b8c7a7a5/dbaas_zabbix-0.7.11.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/e2/29/812ce6489236eec7a4fcdd99cff05892565137cd1835c92668a0b8c7a7a5/dbaas_zabbix-0.7.11.tar.gz
BuildArch: noarch
Requires: python3-pyzabbix
@@ -29,7 +29,7 @@ Provides: python3-dbaas-zabbix-doc
%prep
-%autosetup -n dbaas-zabbix-0.7.11
+%autosetup -n dbaas_zabbix-0.7.11
%build
%py3_build
@@ -43,20 +43,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 .
@@ -69,5 +69,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.11-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.11-1
- Package Spec generated