diff --git a/python-sphinx-bootstrap-theme.spec b/python-sphinx-bootstrap-theme.spec index f2bb722..57da3fc 100644 --- a/python-sphinx-bootstrap-theme.spec +++ b/python-sphinx-bootstrap-theme.spec @@ -1,10 +1,12 @@ -Name: python-sphinx-bootstrap-theme -Version: 0.4.13 -Release: 12 +%global srcname sphinx-bootstrap-theme + +Name: python-%{srcname} +Version: 0.8.1 +Release: 1 Summary: Sphinx Bootstrap Theme License: MIT and ASL 2.0 -URL: http://ryan-roemer.github.com/sphinx-bootstrap-theme -Source0: https://files.pythonhosted.org/packages/source/s/sphinx-bootstrap-theme/sphinx-bootstrap-theme-%{version}.tar.gz +URL: http://ryan-roemer.github.com/%{srcname} +Source0: https://github.com/ryan-roemer/sphinx-bootstrap-theme/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch 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, and can use any number of different Bootswatch CSS themes. -%package -n python3-sphinx-bootstrap-theme +%package -n python3-%{srcname} Summary: Sphinx Bootstrap Theme BuildRequires: python3-devel python3-setuptools Requires: python3-sphinx %{?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, hierarchicalmenunavigation,and mobile-friendly responsive design.It is configurable, extensible, 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. %prep -%{__rm} -rf *.egg-info -%autosetup -n sphinx-bootstrap-theme-%{version} -p1 +%autosetup -n %{srcname}-%{version} -p1 +rm -rf *.egg-info %build %py3_build @@ -40,15 +42,18 @@ Help documentation for sphinx-bootstrap-theme. %install %py3_install -%files -n python3-sphinx-bootstrap-theme +%files -n python3-%{srcname} %license LICENSE.txt %{python3_sitelib}/sphinx_bootstrap_theme %{python3_sitelib}/sphinx_bootstrap_theme-%{version}-py%{python3_version}.egg-info %files help -%doc PKG-INFO *.rst +%doc *.rst %changelog +* Wed Mar 30 2022 yaoxin - 0.8.1-1 +- Upgrade python-sphinx-bootstrap-theme to 0.8.1 to resolve compilation failures. + * Fri Sep 11 2020 wangxiao - 0.4.13-12 - Remove python2 support, fix BuildRequires diff --git a/sphinx-bootstrap-theme-0.4.13.tar.gz b/sphinx-bootstrap-theme-0.4.13.tar.gz deleted file mode 100644 index 4795505..0000000 Binary files a/sphinx-bootstrap-theme-0.4.13.tar.gz and /dev/null differ diff --git a/sphinx-bootstrap-theme-0.8.1.tar.gz b/sphinx-bootstrap-theme-0.8.1.tar.gz new file mode 100644 index 0000000..98040db Binary files /dev/null and b/sphinx-bootstrap-theme-0.8.1.tar.gz differ