summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 10:52:45 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 10:52:45 +0000
commit6ab231a23440df6879a53b81a8c06aeb8dd212bd (patch)
treed48543b9cac28a51290d8f15965de7023ca40543
parentc593e5f4a7ba4c148c48b951e60af89cfa7697d2 (diff)
automatic import of python-sphinx-github-changelogopeneuler20.03
-rw-r--r--python-sphinx-github-changelog.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-sphinx-github-changelog.spec b/python-sphinx-github-changelog.spec
index 61e5a72..141b70c 100644
--- a/python-sphinx-github-changelog.spec
+++ b/python-sphinx-github-changelog.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Build a sphinx changelog from GitHub Releases
License: MIT
URL: https://sphinx-github-changelog.readthedocs.io/en/latest/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/03/a6/d5a172e733b82202010410f4b3777c2b5fa036bad46f53a7cbe18749b8e0/sphinx_github_changelog-1.2.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/03/a6/d5a172e733b82202010410f4b3777c2b5fa036bad46f53a7cbe18749b8e0/sphinx_github_changelog-1.2.1.tar.gz
BuildArch: noarch
Requires: python3-docutils
@@ -35,7 +35,7 @@ Sphinx-github-changelog is a Sphinx_ plugin that builds a changelog section base
a repository's `GitHub Releases`_ content.
%prep
-%autosetup -n sphinx-github-changelog-1.2.1
+%autosetup -n sphinx_github_changelog-1.2.1
%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> - 1.2.1-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.1-1
- Package Spec generated