summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 14:11:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 14:11:23 +0000
commit01a5cab540f214a8afe3db118b5ec06e7bf0b30b (patch)
treefeda8309a5e826b320b707b03a0c176e1ea92a26
parent4642d91e0f067031e8a5315ea80b2d55435771f6 (diff)
automatic import of python-statsd-pythonopeneuler20.03
-rw-r--r--python-statsd-python.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-statsd-python.spec b/python-statsd-python.spec
index b8d5eee..696ab32 100644
--- a/python-statsd-python.spec
+++ b/python-statsd-python.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: please add a summary manually as the author left a blank one
License: MIT
URL: https://github.com/lirsacc/statsd_client_python
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/63/41/708b3e9c752e93e64a988ecce45c81c439df2cf2a217c451242e54b1b1f5/statsd_python-0.5.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/63/41/708b3e9c752e93e64a988ecce45c81c439df2cf2a217c451242e54b1b1f5/statsd_python-0.5.0.tar.gz
BuildArch: noarch
@@ -34,7 +34,7 @@ This is an implementation of a [Statsd](https://github.com/statsd/statsd) client
For usage see [documentation](./docs/source/docs.rst).
%prep
-%autosetup -n statsd-python-0.5.0
+%autosetup -n statsd_python-0.5.0
%build
%py3_build
@@ -48,20 +48,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 .
@@ -74,5 +74,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1
- Package Spec generated