!6 Update package
From: @liqiuyu123 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
b6a2e1d94d
@ -1,30 +1,27 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-sphinxcontrib-svg2pdfconverter
|
Name: python-sphinxcontrib-svg2pdfconverter
|
||||||
Version: 1.2.0
|
Version: 1.2.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Sphinx SVG to PDF converter extension
|
Summary: Sphinx SVG to PDF converter extension
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter
|
URL: https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter
|
||||||
Source0: https://files.pythonhosted.org/packages/59/3a/202cfc55f35118e9b2f3d78a5376b38a050f835e30ea9ab6f88828733a47/sphinxcontrib-svg2pdfconverter-1.2.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/01/8d/033ca5a72a35c2bb4bf47ffa2667f1e6d5e76cc5cf5c3ef5b4b74ac68578/sphinxcontrib-svg2pdfconverter-1.2.1.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This extension converts SVG images to PDF in case the builder does not support SVG images natively (e.g. LaTeX).
|
This extension converts SVG images to PDF in case the builder does not support SVG images natively (e.g. LaTeX).
|
||||||
|
|
||||||
%package -n python3-sphinxcontrib-svg2pdfconverter
|
%package -n python3-sphinxcontrib-svg2pdfconverter
|
||||||
Summary: Sphinx SVG to PDF converter extension
|
Summary: Sphinx SVG to PDF converter extension
|
||||||
Provides: python-sphinxcontrib-svg2pdfconverter
|
Provides: python-sphinxcontrib-svg2pdfconverter = %{version}-%{release}
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-pbr
|
BuildRequires: python3-pbr
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel
|
||||||
|
|
||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-sphinx
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%description -n python3-sphinxcontrib-svg2pdfconverter
|
%description -n python3-sphinxcontrib-svg2pdfconverter
|
||||||
This extension converts SVG images to PDF in case the builder does not support SVG images natively (e.g. LaTeX).
|
This extension converts SVG images to PDF in case the builder does not support SVG images natively (e.g. LaTeX).
|
||||||
|
|
||||||
@ -34,6 +31,7 @@ Provides: python3-sphinxcontrib-svg2pdfconverter-doc
|
|||||||
|
|
||||||
%description help
|
%description help
|
||||||
This extension converts SVG images to PDF in case the builder does not support SVG images natively (e.g. LaTeX).
|
This extension converts SVG images to PDF in case the builder does not support SVG images natively (e.g. LaTeX).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n sphinxcontrib-svg2pdfconverter-%{version}
|
%autosetup -n sphinxcontrib-svg2pdfconverter-%{version}
|
||||||
|
|
||||||
@ -42,7 +40,6 @@ This extension converts SVG images to PDF in case the builder does not support S
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
@ -69,16 +66,16 @@ popd
|
|||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-sphinxcontrib-svg2pdfconverter -f filelist.lst
|
%files -n python3-sphinxcontrib-svg2pdfconverter -f filelist.lst
|
||||||
|
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 07 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.2.1-1
|
||||||
|
- Update package to version 1.2.1
|
||||||
|
|
||||||
* Thu Jun 16 2022 OpenStack_SIG <openstack@openeuler.org> - 1.2.0-1
|
* Thu Jun 16 2022 OpenStack_SIG <openstack@openeuler.org> - 1.2.0-1
|
||||||
- Upgrade version for openstack yoga
|
- Upgrade version for openstack yoga
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
sphinxcontrib-svg2pdfconverter-1.2.1.tar.gz
Normal file
BIN
sphinxcontrib-svg2pdfconverter-1.2.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user