!5 remove python2
From: @jlwwlsqc Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
e0e3660f69
@ -1,6 +1,6 @@
|
|||||||
name: python-sphinx-theme-alabaster
|
name: python-sphinx-theme-alabaster
|
||||||
Version: 0.7.12
|
Version: 0.7.12
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Configurable sidebar-enabled Sphinx theme
|
Summary: Configurable sidebar-enabled Sphinx theme
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -8,7 +8,6 @@ URL: https://pypi.python.org/pypi/alabaster
|
|||||||
Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f83c4d5463a7614cb1d078ad7ae890c9143edebbf072/alabaster-0.7.12.tar.gz
|
Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f83c4d5463a7614cb1d078ad7ae890c9143edebbf072/alabaster-0.7.12.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel python2-setuptools
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This theme is a modified "Kr" Sphinx theme from @kennethreitz (especially as
|
This theme is a modified "Kr" Sphinx theme from @kennethreitz (especially as
|
||||||
@ -16,15 +15,6 @@ used in his Requests project), which was itself originally based on @mitsuhiko's
|
|||||||
theme used for Flask & related projects.
|
theme used for Flask & related projects.
|
||||||
|
|
||||||
|
|
||||||
%package -n python2-sphinx-theme-alabaster
|
|
||||||
Summary: Configurable sidebar-enabled Sphinx theme
|
|
||||||
%{?python_provide:%python_provide python2-sphinx-theme-alabaster}
|
|
||||||
|
|
||||||
%description -n python2-sphinx-theme-alabaster
|
|
||||||
Alabaster is a visually (c)lean, responsive, configurable theme for the Sphinx documentation system.
|
|
||||||
It is Python 2+3 compatible.
|
|
||||||
|
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-sphinx-theme-alabaster
|
%package -n python%{python3_pkgversion}-sphinx-theme-alabaster
|
||||||
Summary: Configurable sidebar-enabled Sphinx theme
|
Summary: Configurable sidebar-enabled Sphinx theme
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -44,19 +34,11 @@ rm -rf alabaster.egg-info
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
|
||||||
%files -n python2-sphinx-theme-alabaster
|
|
||||||
%doc LICENSE README.rst
|
|
||||||
%{python2_sitelib}/alabaster-%{version}-py%{python2_version}.egg-info/
|
|
||||||
%{python2_sitelib}/alabaster/
|
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-sphinx-theme-alabaster
|
%files -n python%{python3_pkgversion}-sphinx-theme-alabaster
|
||||||
%doc LICENSE README.rst
|
%doc LICENSE README.rst
|
||||||
%{python3_sitelib}/alabaster-%{version}-py%{python3_version}.egg-info/
|
%{python3_sitelib}/alabaster-%{version}-py%{python3_version}.egg-info/
|
||||||
@ -64,6 +46,12 @@ rm -rf alabaster.egg-info
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 2 2020 wangjie<wangjie294@huawei.com> -0.7.12-2
|
||||||
|
- Type:NA
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove python2
|
||||||
|
|
||||||
* Fri Jul 24 2020 xinghe <xinghe1@huawei.com> - 0.7.12-1
|
* Fri Jul 24 2020 xinghe <xinghe1@huawei.com> - 0.7.12-1
|
||||||
- update version to 0.7.12
|
- update version to 0.7.12
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user