summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 07:33:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 07:33:08 +0000
commit542059562b9ba667b8f8dc5d1d7dde34cc21476b (patch)
treeb35b0f213f5a2745457b2bc95bf52a94e429024d
parentdc8eed43e0603035a7da9f69ab565a430628e2c6 (diff)
automatic import of python-rst-includeopeneuler20.03
-rw-r--r--python-rst-include.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-rst-include.spec b/python-rst-include.spec
index db6508f..515fc7b 100644
--- a/python-rst-include.spec
+++ b/python-rst-include.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: commandline tool to resolve RST File includes
License: MIT License
URL: https://github.com/bitranox/rst_include
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/85/4d/ca19c4a0e9e0a0fea07dc21f45eaf7644b1cc0207fb1448076f1daff7339/rst_include-2.1.2.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/85/4d/ca19c4a0e9e0a0fea07dc21f45eaf7644b1cc0207fb1448076f1daff7339/rst_include-2.1.2.2.tar.gz
BuildArch: noarch
Requires: python3-click
@@ -72,7 +72,7 @@ This has many advantages like :
- commandline or programmatic interface, You can even use it in the travis.yml
%prep
-%autosetup -n rst-include-2.1.2.2
+%autosetup -n rst_include-2.1.2.2
%build
%py3_build
@@ -86,20 +86,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 .
@@ -112,5 +112,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.2.2-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.2.2-1
- Package Spec generated