summaryrefslogtreecommitdiff
path: root/python-api-watchdog.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 19:34:35 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 19:34:35 +0000
commit001d19d905656fc31bfba2ac21df9c01d6552acb (patch)
tree7e882ae5b6a1295d219486e6aba66da5520efb83 /python-api-watchdog.spec
parent9d2f22d4e5efdfad3759595d351558c0a6fc7838 (diff)
automatic import of python-api-watchdogopeneuler20.03
Diffstat (limited to 'python-api-watchdog.spec')
-rw-r--r--python-api-watchdog.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-api-watchdog.spec b/python-api-watchdog.spec
index d21f9b9..561d851 100644
--- a/python-api-watchdog.spec
+++ b/python-api-watchdog.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: API watchdog
License: MIT
URL: https://pypi.org/project/api-watchdog/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/36/10/998688ce6ea7b1f8ee50771e831395ed978f47484cb8044d9fdfc0cc15fc/api_watchdog-0.6.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/36/10/998688ce6ea7b1f8ee50771e831395ed978f47484cb8044d9fdfc0cc15fc/api_watchdog-0.6.0.tar.gz
BuildArch: noarch
Requires: python3-pydantic
@@ -425,7 +425,7 @@ An API monitoring utility that aspires to support:
%prep
-%autosetup -n api-watchdog-0.6.0
+%autosetup -n api_watchdog-0.6.0
%build
%py3_build
@@ -439,20 +439,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 .
@@ -465,5 +465,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.0-1
- Package Spec generated