summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 05:42:43 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 05:42:43 +0000
commit8a4c89cffd3ce2205ba009f48b234983eaaad763 (patch)
treee9cd2a31a3bb15b0f6dc2191f0fb68f1b2469a1c
parent0093678fbce1a0d3706a68d525e586281c4cb6e1 (diff)
automatic import of python-ecoindex-cliopeneuler20.03
-rw-r--r--python-ecoindex-cli.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-ecoindex-cli.spec b/python-ecoindex-cli.spec
index a85c3bd..db5d8c1 100644
--- a/python-ecoindex-cli.spec
+++ b/python-ecoindex-cli.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: `ecoindex-cli` is a CLI tool that let you make ecoindex tests on given pages
License: MIT
URL: https://www.ecoindex.fr
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/41/f9/c2fad65e3db4381a69c03673c7fbd3338f19175b630b10288d2966588dd9/ecoindex_cli-2.20.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/41/f9/c2fad65e3db4381a69c03673c7fbd3338f19175b630b10288d2966588dd9/ecoindex_cli-2.20.1.tar.gz
BuildArch: noarch
Requires: python3-typer[all]
@@ -1109,7 +1109,7 @@ Please also refer to the mentions provided in the code files for specifics on th
%prep
-%autosetup -n ecoindex-cli-2.20.1
+%autosetup -n ecoindex_cli-2.20.1
%build
%py3_build
@@ -1123,20 +1123,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 .
@@ -1149,5 +1149,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 2.20.1-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2.20.1-1
- Package Spec generated