Upgrade 3.0.0
Signed-off-by: cherry530 <xuping33@huawei.com>
This commit is contained in:
parent
88355c9df8
commit
0a9efb4284
@ -1,42 +1,48 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-sphinxcontrib-blockdiag
|
Name: python-sphinxcontrib-blockdiag
|
||||||
Version: 2.0.0
|
Version: 3.0.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Sphinx "blockdiag" extension
|
Summary: Sphinx "blockdiag" extension
|
||||||
License: BSD
|
License: BSD-2-Clause
|
||||||
URL: https://github.com/blockdiag/sphinxcontrib-blockdiag
|
URL: https://github.com/blockdiag/sphinxcontrib-blockdiag
|
||||||
Source0: https://files.pythonhosted.org/packages/ad/7a/d9e57607522d414e1a089f8da982750ded0e100b1bfc210b17f0fe98db47/sphinxcontrib-blockdiag-2.0.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/42/83/0624c9f694fd942b9c11dbd3d6694bb9b10a68b22f65b1623b4657f4b7ac/sphinxcontrib-blockdiag-3.0.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
A sphinx extension for embedding block diagram using blockdiag.
|
||||||
|
|
||||||
%package -n python3-sphinxcontrib-blockdiag
|
%package -n python3-sphinxcontrib-blockdiag
|
||||||
Summary: Sphinx "blockdiag" extension
|
Summary: Sphinx "blockdiag" extension
|
||||||
Provides: python-sphinxcontrib-blockdiag
|
Provides: python-sphinxcontrib-blockdiag
|
||||||
BuildRequires: python3-devel
|
# Base build requires
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-blockdiag
|
BuildRequires: python3-pbr
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
# General requires
|
||||||
|
BuildRequires: python3-blockdiag
|
||||||
|
BuildRequires: python3-sphinx
|
||||||
|
# General requires
|
||||||
|
Requires: python3-blockdiag
|
||||||
|
Requires: python3-sphinx
|
||||||
%description -n python3-sphinxcontrib-blockdiag
|
%description -n python3-sphinxcontrib-blockdiag
|
||||||
|
A sphinx extension for embedding block diagram using blockdiag.
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Development documents and examples for sphinxcontrib-blockdiag
|
Summary: Sphinx "blockdiag" extension
|
||||||
Provides: python3-sphinxcontrib-blockdiag-doc
|
Provides: python3-sphinxcontrib-blockdiag-doc
|
||||||
%description help
|
%description help
|
||||||
|
A sphinx extension for embedding block diagram using blockdiag.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n sphinxcontrib-blockdiag-2.0.0
|
%autosetup -n sphinxcontrib-blockdiag-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%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
|
||||||
@ -44,25 +50,26 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
|||||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
pushd %{buildroot}
|
pushd %{buildroot}
|
||||||
if [ -d usr/lib ]; then
|
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
|
fi
|
||||||
if [ -d usr/lib64 ]; then
|
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
|
fi
|
||||||
if [ -d usr/bin ]; then
|
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
|
fi
|
||||||
if [ -d usr/sbin ]; then
|
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
|
fi
|
||||||
touch doclist.lst
|
touch doclist.lst
|
||||||
if [ -d usr/share/man ]; then
|
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
|
fi
|
||||||
popd
|
popd
|
||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-sphinxcontrib-blockdiag -f filelist.lst
|
%files -n python3-sphinxcontrib-blockdiag -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
@ -70,5 +77,8 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 27 2022 xu_ping <xuping33@h-partners.com> - 3.0.0-1
|
||||||
|
- Upgrade package python3-sphinxcontrib-blockdiag to version 3.0.0
|
||||||
|
|
||||||
* Mon Feb 01 2021 Python_Bot <Python_Bot@openeuler.org>
|
* Mon Feb 01 2021 Python_Bot <Python_Bot@openeuler.org>
|
||||||
- Package Spec generated
|
- Package Spec generated
|
||||||
|
|||||||
Binary file not shown.
BIN
sphinxcontrib-blockdiag-3.0.0.tar.gz
Normal file
BIN
sphinxcontrib-blockdiag-3.0.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user