remove some requires
This commit is contained in:
parent
71829b25ff
commit
10afad7284
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
Name: python-sphinx-bootstrap-theme
|
Name: python-sphinx-bootstrap-theme
|
||||||
Version: 0.4.13
|
Version: 0.4.13
|
||||||
Release: 10
|
Release: 11
|
||||||
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/sphinx-bootstrap-theme
|
||||||
Source0: https://files.pythonhosted.org/packages/source/s/sphinx-bootstrap-theme/sphinx-bootstrap-theme-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/s/sphinx-bootstrap-theme/sphinx-bootstrap-theme-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: web-assets-devel
|
BuildRequires: epel-rpm-macros
|
||||||
|
|
||||||
%description
|
%description
|
||||||
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,
|
||||||
@ -20,7 +20,7 @@ and can use any number of different Bootswatch CSS themes.
|
|||||||
%package -n python2-sphinx-bootstrap-theme
|
%package -n python2-sphinx-bootstrap-theme
|
||||||
Summary: Sphinx Bootstrap Theme
|
Summary: Sphinx Bootstrap Theme
|
||||||
BuildRequires: python2-setuptools python2-devel
|
BuildRequires: python2-setuptools python2-devel
|
||||||
Requires: glyphicons-halflings-fonts js-jquery1 python2-sphinx
|
Requires: python2-sphinx
|
||||||
%{?python_provide:%python_provide python2-sphinx-bootstrap-theme}
|
%{?python_provide:%python_provide python2-sphinx-bootstrap-theme}
|
||||||
|
|
||||||
%description -n 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
|
%package -n python3-sphinx-bootstrap-theme
|
||||||
Summary: Sphinx Bootstrap Theme
|
Summary: Sphinx Bootstrap Theme
|
||||||
BuildRequires: python3-devel python3-setuptools
|
BuildRequires: python3-devel python3-setuptools
|
||||||
Requires: glyphicons-halflings-fonts js-jquery1 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-sphinx-bootstrap-theme
|
||||||
@ -56,14 +56,6 @@ Help documentation for sphinx-bootstrap-theme.
|
|||||||
%install
|
%install
|
||||||
%py2_install
|
%py2_install
|
||||||
%py3_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
|
%files -n python2-sphinx-bootstrap-theme
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
@ -79,5 +71,8 @@ done
|
|||||||
%doc PKG-INFO *.rst
|
%doc PKG-INFO *.rst
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 14 2020 likexin <likexin4@huawei.com> - 0.4.13-11
|
||||||
|
- Remove some requires
|
||||||
|
|
||||||
* Wed Mar 11 2020 shijian <shijian16@huawei.com> - 0.4.13-10
|
* Wed Mar 11 2020 shijian <shijian16@huawei.com> - 0.4.13-10
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user