Fix broken links in the bundled underscore.js library

Resolves: rhbz#1985219
This commit is contained in:
Charalampos Stratakis 2021-10-06 15:47:10 +02:00
parent c5eb986af7
commit eeaad96bd9

View File

@ -28,7 +28,7 @@ Name: python-sphinx
#global prerel ...
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 5%{?dist}
Release: 6%{?dist}
Epoch: 1
Summary: Python documentation generator
@ -256,6 +256,9 @@ sed -i '/typed_ast/d' setup.py
# unwanted dependency in RHEL, https://bugzilla.redhat.com/show_bug.cgi?id=1945182
sed -i '/html5lib/d' setup.py
# Fix broken links in the bundled underscore.js library
sed -i 's|http://documentcloud.github.com/underscore|https://underscorejs.org|' \
./sphinx/themes/basic/static/underscore*
%generate_buildrequires
%pyproject_buildrequires %{?with_tests:-x test}
@ -371,11 +374,15 @@ mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib
%changelog
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com>
* Wed Oct 06 2021 Charalampos Stratakis <cstratak@redhat.com> - 1:3.4.3-6
- Fix broken links in the bundled underscore.js library
Resolves: rhbz#1985219
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:3.4.3-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com>
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:3.4.3-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Mar 31 2021 Miro Hrončok <mhroncok@redhat.com> - 1:3.4.3-3