summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 05:01:54 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 05:01:54 +0000
commit26310f620e6f66146591936fc9463f56a0d8a4aa (patch)
tree3ae922e942c375f33e23e98981ce5695c25cb040
parent0f96a50d48e2ec22bbd1101523920ad5578f63f4 (diff)
automatic import of python-flask-prometheus-metricsopeneuler20.03
-rw-r--r--python-flask-prometheus-metrics.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-flask-prometheus-metrics.spec b/python-flask-prometheus-metrics.spec
index c48d6b5..f3558a4 100644
--- a/python-flask-prometheus-metrics.spec
+++ b/python-flask-prometheus-metrics.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Prometheus Metrics for Flask Web App
License: MIT
URL: https://github.com/pilosus/flask_prometheus_metrics/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/74/a2/83a59fb33c2024dff49d6a493cced94c34d57fbfe6ee1fa5e90faf86df90/flask_prometheus_metrics-1.0.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/74/a2/83a59fb33c2024dff49d6a493cced94c34d57fbfe6ee1fa5e90faf86df90/flask_prometheus_metrics-1.0.0.tar.gz
BuildArch: noarch
Requires: python3-prometheus-client
@@ -501,7 +501,7 @@ in order to make Flask's ``test_client()`` work properly.
%prep
-%autosetup -n flask-prometheus-metrics-1.0.0
+%autosetup -n flask_prometheus_metrics-1.0.0
%build
%py3_build
@@ -515,20 +515,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 .
@@ -541,5 +541,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0-1
- Package Spec generated