diff --git a/python-sphinx-bootstrap-theme.spec b/python-sphinx-bootstrap-theme.spec index 196d463..6319b6a 100644 --- a/python-sphinx-bootstrap-theme.spec +++ b/python-sphinx-bootstrap-theme.spec @@ -4,13 +4,13 @@ Name: python-sphinx-bootstrap-theme Version: 0.4.13 -Release: 10 +Release: 11 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 BuildArch: noarch -BuildRequires: web-assets-devel +BuildRequires: epel-rpm-macros %description This Sphinx theme integrates the Bootstrap CSS/JavaScript framework with various layout options, @@ -20,7 +20,7 @@ and can use any number of different Bootswatch CSS themes. %package -n python2-sphinx-bootstrap-theme Summary: Sphinx Bootstrap Theme BuildRequires: python2-setuptools python2-devel -Requires: glyphicons-halflings-fonts js-jquery1 python2-sphinx +Requires: python2-sphinx %{?python_provide:%python_provide python2-sphinx-bootstrap-theme} %description -n python2-sphinx-bootstrap-theme @@ -31,7 +31,7 @@ and can use any number of different Bootswatch CSS themes. %package -n python3-sphinx-bootstrap-theme Summary: Sphinx Bootstrap Theme BuildRequires: python3-devel python3-setuptools -Requires: glyphicons-halflings-fonts js-jquery1 python3-sphinx +Requires: python3-sphinx %{?python_provide:%python_provide python3-sphinx-bootstrap-theme} %description -n python3-sphinx-bootstrap-theme @@ -56,14 +56,6 @@ Help documentation for sphinx-bootstrap-theme. %install %py2_install %py3_install -for d in %{python2_sitelib} %{?with_py3:%{python3_sitelib}}; do - %{__rm} -f %{buildroot}${d}/sphinx_bootstrap_theme/bootstrap/static/js/jquery-1.11.0.min.js - %{__ln_s} -f %{_webassetdir}/jquery/1/jquery.min.js \ - %{buildroot}${d}/sphinx_bootstrap_theme/bootstrap/static/js/jquery-1.11.0.min.js - %{__rm} -f %{buildroot}${d}/sphinx_bootstrap_theme/bootstrap/static/bootstrap-3.3.6/fonts/glyphicons-halflings-regular.ttf - %{__ln_s} -f %{_datadir}/fonts/glyphicons-halflings/glyphicons-halflings-regular.ttf \ - %{buildroot}${d}/sphinx_bootstrap_theme/bootstrap/static/bootstrap-3.3.6/fonts/glyphicons-halflings-regular.ttf -done %files -n python2-sphinx-bootstrap-theme %license LICENSE.txt @@ -79,5 +71,8 @@ done %doc PKG-INFO *.rst %changelog +* Sat Mar 14 2020 likexin - 0.4.13-11 +- Remove some requires + * Wed Mar 11 2020 shijian - 0.4.13-10 - Package init