!7 Upgrade to 2023.2

From: @starlet-dx 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2023-10-13 07:49:37 +00:00 committed by Gitee
commit a42c9b4a3a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 6 additions and 43 deletions

View File

@ -1,11 +0,0 @@
--- latex2html-2002-2-1/config/config.pl.gsfont 2002-09-28 07:15:01.000000000 +0200
+++ latex2html-2002-2-1/config/config.pl 2005-03-16 10:50:17.392513136 +0100
@@ -1176,7 +1176,7 @@
push(@right_paths,L2hos->path2os($testpath));
$gs_lib = 1;
}
- $testpath .= "${dd}fonts" unless($testpath =~ /\Q$dd\Efonts$/i);
+ $testpath .= "${dd}fonts" unless($testpath =~ /\Q$dd\Efonts/i);
if(!$gs_fonts && -d $testpath) {
push(@right_paths,L2hos->path2os($testpath));
$gs_fonts = 1;

BIN
latex2html-2023.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,26 +0,0 @@
--- latex2html-2K.1beta/versions/table.pl.tabularx Fri Nov 14 11:10:52 1997
+++ latex2html-2K.1beta/versions/table.pl Wed Jan 24 15:11:01 2001
@@ -121,6 +121,10 @@
$htmlcolspec .= "<COL ALIGN=RIGHT>";
push(@colspec,"$cellopen=RIGHT NOWRAP>$content_mark$cellclose");
$cols++;
+ } elsif ( $char eq "X" ) {
+ $htmlcolspec .= "<COL ALIGN=JUSTIFY>";
+ push(@colspec,"$cellopen=LEFT>$content_mark$cellclose");
+ $cols++;
} elsif ( $char eq "p" ) {
$colspec =~ s/$next_pair_rx//;
($pts,$len) = &convert_length($2);
@@ -170,7 +174,11 @@
local($_) = @_;
s/$next_pair_rx//;
local($pts,$len) = &convert_length($2);
- &do_env_tabular($_," width=$pts");
+ if ($pts != "") {
+ &do_env_tabular($_," width=$pts");
+ } else {
+ &do_env_tabular($_);
+ }
}
sub do_env_tabular {

View File

@ -1,17 +1,14 @@
Name: latex2html Name: latex2html
Version: 2018.3 Version: 2023.2
Release: 3 Release: 1
Summary: A utility that converts LaTeX documents to web pages in HTML Summary: A utility that converts LaTeX documents to web pages in HTML
License: GPLv2+ License: GPLv2+
URL: http://www.latex2html.org/ URL: http://www.latex2html.org/
Source0: https://github.com/latex2html/latex2html/archive/v%{version}.tar.gz Source0: https://github.com/latex2html/latex2html/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: latex2html.1 Source1: latex2html.1
Source2: pstoimg.1 Source2: pstoimg.1
Source3: texexpand.1 Source3: texexpand.1
Patch0: latex2html-2K.1beta-tabularx.patch
Patch1: latex2html-2002-2-1-gsfont.patch
BuildRequires: perl-interpreter perl-generators ghostscript netpbm-progs tex(latex) BuildRequires: perl-interpreter perl-generators ghostscript netpbm-progs tex(latex)
Requires: tex(latex) tex(dvips) tex(url.sty) netpbm-progs Requires: tex(latex) tex(dvips) tex(url.sty) netpbm-progs
BuildArch: noarch BuildArch: noarch
@ -170,5 +167,8 @@ make check
%{_mandir}/man1/pstoimg.1.gz %{_mandir}/man1/pstoimg.1.gz
%changelog %changelog
* Fri Oct 13 2023 yaoxin <yao_xin001@hoperun.com> - 2023.2-1
- Upgrade to 2023.2
* Thu Feb 20 2020 lihao <lihao129@huawei.com> - 2018.3-3 * Thu Feb 20 2020 lihao <lihao129@huawei.com> - 2018.3-3
- Package init - Package init

Binary file not shown.