Upgrade python-sphinx-bootstrap-theme to 0.8.1 to resolve compilation failures.

This commit is contained in:
starlet-dx 2022-03-30 16:52:46 +08:00
parent cd68189d04
commit e9490d0c5e
3 changed files with 16 additions and 11 deletions

View File

@ -1,10 +1,12 @@
Name: python-sphinx-bootstrap-theme %global srcname sphinx-bootstrap-theme
Version: 0.4.13
Release: 12 Name: python-%{srcname}
Version: 0.8.1
Release: 1
Summary: Sphinx Bootstrap Theme Summary: Sphinx Bootstrap Theme
License: MIT and ASL 2.0 License: MIT and ASL 2.0
URL: http://ryan-roemer.github.com/sphinx-bootstrap-theme URL: http://ryan-roemer.github.com/%{srcname}
Source0: https://files.pythonhosted.org/packages/source/s/sphinx-bootstrap-theme/sphinx-bootstrap-theme-%{version}.tar.gz Source0: https://github.com/ryan-roemer/sphinx-bootstrap-theme/archive/v%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: web-assets-devel BuildRequires: web-assets-devel
@ -13,13 +15,13 @@ This Sphinx theme integrates the Bootstrap CSS/JavaScript framework with various
hierarchical menu navigation, and mobile-friendly responsive design.It is configurable, extensible, hierarchical menu navigation, and mobile-friendly responsive design.It is configurable, extensible,
and can use any number of different Bootswatch CSS themes. and can use any number of different Bootswatch CSS themes.
%package -n python3-sphinx-bootstrap-theme %package -n python3-%{srcname}
Summary: Sphinx Bootstrap Theme Summary: Sphinx Bootstrap Theme
BuildRequires: python3-devel python3-setuptools BuildRequires: python3-devel python3-setuptools
Requires: python3-sphinx Requires: python3-sphinx
%{?python_provide:%python_provide python3-sphinx-bootstrap-theme} %{?python_provide:%python_provide python3-sphinx-bootstrap-theme}
%description -n python3-sphinx-bootstrap-theme %description -n python3-%{srcname}
This Sphinx theme integrates the Bootstrap CSS/JavaScript framework with various layout options, This Sphinx theme integrates the Bootstrap CSS/JavaScript framework with various layout options,
hierarchicalmenunavigation,and mobile-friendly responsive design.It is configurable, extensible, hierarchicalmenunavigation,and mobile-friendly responsive design.It is configurable, extensible,
and can use any number of different Bootswatch CSS themes. and can use any number of different Bootswatch CSS themes.
@ -31,8 +33,8 @@ Summary: Help documentation for sphinx-bootstrap-theme
Help documentation for sphinx-bootstrap-theme. Help documentation for sphinx-bootstrap-theme.
%prep %prep
%{__rm} -rf *.egg-info %autosetup -n %{srcname}-%{version} -p1
%autosetup -n sphinx-bootstrap-theme-%{version} -p1 rm -rf *.egg-info
%build %build
%py3_build %py3_build
@ -40,15 +42,18 @@ Help documentation for sphinx-bootstrap-theme.
%install %install
%py3_install %py3_install
%files -n python3-sphinx-bootstrap-theme %files -n python3-%{srcname}
%license LICENSE.txt %license LICENSE.txt
%{python3_sitelib}/sphinx_bootstrap_theme %{python3_sitelib}/sphinx_bootstrap_theme
%{python3_sitelib}/sphinx_bootstrap_theme-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/sphinx_bootstrap_theme-%{version}-py%{python3_version}.egg-info
%files help %files help
%doc PKG-INFO *.rst %doc *.rst
%changelog %changelog
* Wed Mar 30 2022 yaoxin <yaoxin30@huawei.com> - 0.8.1-1
- Upgrade python-sphinx-bootstrap-theme to 0.8.1 to resolve compilation failures.
* Fri Sep 11 2020 wangxiao <wangxiao65@huawei.com> - 0.4.13-12 * Fri Sep 11 2020 wangxiao <wangxiao65@huawei.com> - 0.4.13-12
- Remove python2 support, fix BuildRequires - Remove python2 support, fix BuildRequires

Binary file not shown.

Binary file not shown.