From 26eb4cea0bb55600bf023553789b1e45c67b7fee34fc5fe494371051b2f8deb3 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Tue, 27 Sep 2016 14:18:30 +0000 Subject: [PATCH 1/2] Updating link to change in Publishing:TeXLive/texlive-specs revision 112.0 OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-specs-b?expand=0&rev=baebd9bf92752d66abc75245f094d93c --- latexpand_perl.dif | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 latexpand_perl.dif diff --git a/latexpand_perl.dif b/latexpand_perl.dif new file mode 100644 index 0000000..9aa6978 --- /dev/null +++ b/latexpand_perl.dif @@ -0,0 +1,34 @@ +! Fix boo#983823 + +--- texmf-dist/scripts/latexpand/latexpand ++++ texmf-dist/scripts/latexpand/latexpand 2016-09-27 14:38:19.280920000 +0200 +@@ -123,7 +123,7 @@ sub process_file + # ignored by LaTeX, but we don't allow anything before + # to avoid e.g. \verb|\end{document}| from terminating + # the file. +- if (!$keep_comments && $line =~ /^[ \t]*\\end{document}/) { ++ if (!$keep_comments && $line =~ /^[ \t]*\\end\{document\}/) { + last; + } + } +@@ -131,9 +131,11 @@ sub process_file + return $in_comment; + } + ++no warnings; + sub process_line + { +- my ($_, $prefix, $file) = @_; ++ my ($line, $prefix, $file) = @_; ++ $_ = "$line"; + # Consider \makeatletter only in preamble, because we do want + # to warn on \someCommand{\makeatletter\command@with@arobase}. + if ($in_preamble && /^[^%]*\\makeatletter/) { +@@ -241,6 +243,7 @@ sub process_line + } + print; + } ++use warnings; + + # search $1 in $TEXINPUTS, with possible extensions in $2 + sub find_tex_file From d48c5fa7e35d518fd2d09c5555bcdc3824340b2f6925ff933b55f2ffdbbd7da0 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 27 Sep 2016 14:39:43 +0000 Subject: [PATCH 2/2] boo#983823 OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-specs-b?expand=0&rev=62 --- latexpand_perl.dif | 34 ---------------------------------- texlive-specs-b.changes | 6 ++++++ texlive-specs-b.spec | 2 +- 3 files changed, 7 insertions(+), 35 deletions(-) delete mode 100644 latexpand_perl.dif diff --git a/latexpand_perl.dif b/latexpand_perl.dif deleted file mode 100644 index 9aa6978..0000000 --- a/latexpand_perl.dif +++ /dev/null @@ -1,34 +0,0 @@ -! Fix boo#983823 - ---- texmf-dist/scripts/latexpand/latexpand -+++ texmf-dist/scripts/latexpand/latexpand 2016-09-27 14:38:19.280920000 +0200 -@@ -123,7 +123,7 @@ sub process_file - # ignored by LaTeX, but we don't allow anything before - # to avoid e.g. \verb|\end{document}| from terminating - # the file. -- if (!$keep_comments && $line =~ /^[ \t]*\\end{document}/) { -+ if (!$keep_comments && $line =~ /^[ \t]*\\end\{document\}/) { - last; - } - } -@@ -131,9 +131,11 @@ sub process_file - return $in_comment; - } - -+no warnings; - sub process_line - { -- my ($_, $prefix, $file) = @_; -+ my ($line, $prefix, $file) = @_; -+ $_ = "$line"; - # Consider \makeatletter only in preamble, because we do want - # to warn on \someCommand{\makeatletter\command@with@arobase}. - if ($in_preamble && /^[^%]*\\makeatletter/) { -@@ -241,6 +243,7 @@ sub process_line - } - print; - } -+use warnings; - - # search $1 in $TEXINPUTS, with possible extensions in $2 - sub find_tex_file diff --git a/texlive-specs-b.changes b/texlive-specs-b.changes index 812f81c..e885914 100644 --- a/texlive-specs-b.changes +++ b/texlive-specs-b.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 27 12:42:09 UTC 2016 - werner@suse.de + +- Add patch latexpand_perl.dif to fix boo#983823 -- + latexpand does not work anymore after Tumbleweed update + ------------------------------------------------------------------- Wed Aug 10 11:48:01 UTC 2016 - werner@suse.de diff --git a/texlive-specs-b.spec b/texlive-specs-b.spec index e0eb635..e73d87e 100644 --- a/texlive-specs-b.spec +++ b/texlive-specs-b.spec @@ -19,7 +19,7 @@ %define texlive_version 2016 %define texlive_previous 2015 %define texlive_release 20160523 -%define texlive_noarch 110 +%define texlive_noarch 111 #!BuildIgnore: texlive