summaryrefslogtreecommitdiff
path: root/python-gds-metrics.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 17:02:49 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 17:02:49 +0000
commitabb47b8d749be5624a45021e2648e47b3df6a876 (patch)
treede5fb9cd5cb556261914b53090a8539b3c19a493 /python-gds-metrics.spec
parentc6dd8a639a01cee2ac8c9a4331a68bdf2f0a2efa (diff)
automatic import of python-gds-metricsopeneuler20.03
Diffstat (limited to 'python-gds-metrics.spec')
-rw-r--r--python-gds-metrics.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-gds-metrics.spec b/python-gds-metrics.spec
index 0339c4a..847207c 100644
--- a/python-gds-metrics.spec
+++ b/python-gds-metrics.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Library for Prometheus instrumentation in Python/Flask based apps
License: MIT
URL: https://github.com/alphagov/gds_metrics_python
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9e/01/1c5f78ad0bc7a8387f96c6ce7adb2b705eb2178208c9f9d03905b6e68cbf/gds-metrics-0.2.4.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/9e/01/1c5f78ad0bc7a8387f96c6ce7adb2b705eb2178208c9f9d03905b6e68cbf/gds-metrics-0.2.4.tar.gz
BuildArch: noarch
Requires: python3-prometheus-client
@@ -57,20 +57,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 .
@@ -83,5 +83,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.4-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.4-1
- Package Spec generated