diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-08 22:14:10 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 22:14:10 +0000 |
commit | 307ed218faa6d0f816440d1efc3f798c677943cb (patch) | |
tree | 73591b2c3edde0511d610f4373e2929c09b10380 | |
parent | 4f11d6c566c9cab48625cf18e1e6c2ba2a280959 (diff) |
automatic import of python-friendly-stylesopeneuler20.03
-rw-r--r-- | python-friendly-styles.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-friendly-styles.spec b/python-friendly-styles.spec index 4b30e67..39e4e33 100644 --- a/python-friendly-styles.spec +++ b/python-friendly-styles.spec @@ -5,7 +5,7 @@ Release: 1 Summary: Pygments styles designed for friendly/friendly-traceback License: MIT URL: https://github.com/friendly-traceback/friendly_styles -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a7/e1/d15b6919142e4788076ef0dcac5de006fd36273336b9871e95298fb79c30/friendly_styles-0.2.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/a7/e1/d15b6919142e4788076ef0dcac5de006fd36273336b9871e95298fb79c30/friendly_styles-0.2.tar.gz BuildArch: noarch Requires: python3-pygments @@ -68,7 +68,7 @@ or done by Pygments. %prep -%autosetup -n friendly-styles-0.2 +%autosetup -n friendly_styles-0.2 %build %py3_build @@ -82,20 +82,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 . @@ -108,5 +108,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2-1 - Package Spec generated |