summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 21:39:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 21:39:08 +0000
commit662726db46cbda3cd74e21741ea763f12c41c24c (patch)
treef646142b4a110b1b8a6ac1652243624a739903fb
parent73d9d80a3176b421eaf50d6595b3ef21e9c3d6ff (diff)
automatic import of python-coverage-python-versionopeneuler20.03
-rw-r--r--python-coverage-python-version.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-coverage-python-version.spec b/python-coverage-python-version.spec
index f1b6274..0e9abe6 100644
--- a/python-coverage-python-version.spec
+++ b/python-coverage-python-version.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A coverage.py plugin to facilitate exclusions based on Python version
License: MIT
URL: https://github.com/jayclassless/coverage_python_version
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/54/45/01131385fe66e3748030bb3dad267dd6b0a48f71b66c5632f99b23d61afb/coverage_python_version-0.2.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/54/45/01131385fe66e3748030bb3dad267dd6b0a48f71b66c5632f99b23d61afb/coverage_python_version-0.2.0.tar.gz
BuildArch: noarch
Requires: python3-coverage
@@ -35,7 +35,7 @@ basic means for you to exclude code from your coverage measurements based on
the version of Python that it is executed on.
%prep
-%autosetup -n coverage-python-version-0.2.0
+%autosetup -n coverage_python_version-0.2.0
%build
%py3_build
@@ -49,20 +49,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 .
@@ -75,5 +75,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.0-1
- Package Spec generated