Half-hearted attempt to make the tutorial build again

See https://bugzilla.redhat.com/show_bug.cgi?id=1557351
This commit is contained in:
Petr Viktorin 2018-03-16 14:30:58 +01:00
parent 2579d9cbaa
commit 1d740a2694
2 changed files with 37 additions and 0 deletions

32
remove-html-sty.patch Normal file
View File

@ -0,0 +1,32 @@
diff -rU3 systemtap-3.3-orig/doc/tutorial.tex systemtap-3.3/doc/tutorial.tex
--- systemtap-3.3-orig/doc/tutorial.tex 2018-03-16 14:18:53.733971819 +0100
+++ systemtap-3.3/doc/tutorial.tex 2018-03-16 14:25:08.135947602 +0100
@@ -5,7 +5,6 @@
% later version.
\documentclass[compatible]{article}
-\usepackage{html}
\usepackage{graphicx}
% \usepackage{moreverb}
\usepackage{fancyvrb}
@@ -18,8 +17,8 @@
\usepackage{charter}
\newenvironment{boxedminipage}%% Boxed minipage
- {\begin{makeimage}\begin{center}\begin{Sbox}\begin{minipage}}%
- {\end{minipage}\end{Sbox}\fbox{\TheSbox}\end{center}\end{makeimage}}
+ {\begin{center}\begin{Sbox}\begin{minipage}}%
+ {\end{minipage}\end{Sbox}\fbox{\TheSbox}\end{center}}
\newcommand{\nomenclature}[2]{}
@@ -1109,9 +1108,6 @@
\section{Glossary}
% \renewcommand{\nomname}{}
% \printglossary
-% \begin{htmlonly}
-{\em Sorry, no glossary available.}
-% \end{htmlonly}
\section{Errors}

View File

@ -114,6 +114,8 @@ License: GPLv2+
URL: http://sourceware.org/systemtap/
Source: %{name}-%{version}-0.20180315gitc2585f2b58cd.tar.gz
Patch0: remove-html-sty.patch
# Build*
BuildRequires: gcc-c++
BuildRequires: gettext-devel
@ -473,6 +475,8 @@ systemtap-runtime-virthost machine to execute systemtap scripts.
%prep
%setup -q %{?setup_elfutils}
%patch0 -p1
%if %{with_bundled_elfutils}
cd elfutils-%{elfutils_version}
%patch1 -p1
@ -1170,6 +1174,7 @@ done
%changelog
* Fri Mar 16 2018 Petr Viktorin <pviktori@redhat.com> - 3.3-0.20180316gitc2585f2b58cd
- Drop Python 2 subpackage in future systems
- Half-hearted attempt to make the tutorial build again (RHBZ#1557351)
* Thu Mar 15 2018 Frank Ch. Eigler <fche@redhat.com> - 3.3-0.20180315gitc2585f2b58cd
- Automated weekly rawhide release