Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1972711 Details for
Bug 2217636
Please branch build build xtl for EPEL
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh89 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for building xtl against EPEL 8
xtl-epel8.patch (text/plain), 2.03 KB, created by
Scott K Logan
on 2023-06-26 18:52:16 UTC
(
hide
)
Description:
Patch for building xtl against EPEL 8
Filename:
MIME Type:
Creator:
Scott K Logan
Created:
2023-06-26 18:52:16 UTC
Size:
2.03 KB
patch
obsolete
>diff --git a/0001-Fix-build-with-sphinx-4.patch b/0001-Fix-build-with-sphinx-4.patch >new file mode 100644 >index 000000000000..34697caba34f >--- /dev/null >+++ b/0001-Fix-build-with-sphinx-4.patch >@@ -0,0 +1,35 @@ >+From 1fd2aef4fcaabddcb533ffe2f999e55d1e3ce7fe Mon Sep 17 00:00:00 2001 >+From: Elliott Sales de Andrade <quantum.analyst@gmail.com> >+Date: Sun, 11 Jul 2021 17:54:54 -0400 >+Subject: [PATCH] Fix build with Sphinx 4. >+ >+`add_stylesheet` was deprecated in 1.8 and removed in 4.0 [1]. The >+replacement, `add_css_file` was added in 1.0, which is older than any >+version required by `breathe`. >+ >+[1] https://www.sphinx-doc.org/en/master/extdev/deprecated.html?highlight=add_stylesheet >+--- >+ docs/source/conf.py | 5 +++-- >+ 1 file changed, 3 insertions(+), 2 deletions(-) >+ >+diff --git a/docs/source/conf.py b/docs/source/conf.py >+index 333b75c..242e3fd 100644 >+--- a/docs/source/conf.py >++++ b/docs/source/conf.py >+@@ -15,8 +15,10 @@ >+ >+ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] >+ >++ >+ def setup(app): >+- app.add_stylesheet("main_stylesheet.css") >++ app.add_css_file("main_stylesheet.css") >++ >+ >+ extensions = ['breathe'] >+ breathe_projects = { 'xtl': '../xml' } >+@@ -35,4 +37,3 @@ def setup(app): >+ pygments_style = 'sphinx' >+ todo_include_todos = False >+ htmlhelp_basename = 'xtldoc' >+- >diff --git a/xtl.spec b/xtl.spec >index 6f1fab0c2cac..c158daa07d39 100644 >--- a/xtl.spec >+++ b/xtl.spec >@@ -9,6 +9,8 @@ Summary: QuantStack tools library > Url: https://github.com/QuantStack/xtl > Source0: https://github.com/QuantStack/%{name}/archive/%{version}/%{name}-%{version}.tar.gz > >+Patch0: 0001-Fix-build-with-sphinx-4.patch >+ > BuildRequires: binutils > BuildRequires: cmake > BuildRequires: doctest-devel >@@ -41,7 +43,11 @@ Documentation files for %{name} library. > > > %prep >-%autosetup -p1 >+%autosetup -p1 -N >+ >+%if 0%{?rhel} && 0%{?rhel} < 9 >+%patch -P0 -p1 -R >+%endif > > > %build >@@ -59,7 +65,7 @@ popd > > > %check >-make -C "%{_vpath_builddir}" xtest >+make -C "%{__cmake_builddir}" xtest > > > %files devel
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2217636
: 1972711