summaryrefslogtreecommitdiff
path: root/python-pytest-eradicate.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 05:33:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 05:33:56 +0000
commit9f6c072a8acb4ca4a2d87023ee41286f68870dea (patch)
treec7e25aa8cd49f329bdcd82ee4f79aa9c58ab57c0 /python-pytest-eradicate.spec
parentf40a743aab36a8033ece287c9ec25511c33bd1ae (diff)
automatic import of python-pytest-eradicateopeneuler20.03
Diffstat (limited to 'python-pytest-eradicate.spec')
-rw-r--r--python-pytest-eradicate.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-pytest-eradicate.spec b/python-pytest-eradicate.spec
index bacf943..24e4e65 100644
--- a/python-pytest-eradicate.spec
+++ b/python-pytest-eradicate.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: pytest plugin to check for commented out code
License: MIT license
URL: https://github.com/aequitas/pytest-eradicate
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/43/5d/781449036522eb75964cd1ff0a5af022f57627c53640668a9c5ade6d1453/pytest-eradicate-0.0.5.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/43/5d/781449036522eb75964cd1ff0a5af022f57627c53640668a9c5ade6d1453/pytest-eradicate-0.0.5.tar.gz
BuildArch: noarch
Requires: python3-pytest-cache
@@ -45,20 +45,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 .
@@ -71,5 +71,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.5-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.5-1
- Package Spec generated