From 40965eb00d63aa715f2882698a759d2d755c9fe3 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Thu, 25 Feb 2016 19:26:10 -0700 Subject: [PATCH] Update to 4.44. --- .gitignore | 2 +- latexmk-conf.patch | 12 ++++++------ latexmk.spec | 24 +++++++++++++++++++++--- sources | 2 +- 4 files changed, 29 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 5ffb9cb..0bb0750 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -/latexmk-442.zip /latexmk-443a.zip +/latexmk-444.zip diff --git a/latexmk-conf.patch b/latexmk-conf.patch index 9be7999..87885e3 100644 --- a/latexmk-conf.patch +++ b/latexmk-conf.patch @@ -1,6 +1,6 @@ ---- ./latexmk.1.orig 2015-03-09 10:01:22.000000000 -0600 -+++ ./latexmk.1 2015-11-26 15:48:36.358568318 -0700 -@@ -986,6 +986,7 @@ system RC file, in the following order, +--- latexmk.1.orig 2016-02-24 10:28:22.000000000 -0700 ++++ latexmk.1 2016-02-25 19:19:08.175799405 -0700 +@@ -998,6 +998,7 @@ system RC file, in the following order, "/opt/local/share/latexmk/LatexMk", "/usr/local/share/latexmk/LatexMk", "/usr/local/lib/latexmk/LatexMk". @@ -8,9 +8,9 @@ On a MS-WINDOWS system it looks for "C:\\latexmk\\LatexMk". On a cygwin system (i.e., a MS-Windows system in which Perl is that of cygwin), \fIlatexmk\fR reads for the first it finds of ---- ./latexmk.pl.orig 2015-02-05 17:00:50.000000000 -0700 -+++ ./latexmk.pl 2015-11-26 15:48:36.370567346 -0700 -@@ -936,13 +936,9 @@ else { +--- latexmk.pl.orig 2016-02-24 09:05:16.000000000 -0700 ++++ latexmk.pl 2016-02-25 19:19:08.181798924 -0700 +@@ -947,13 +947,9 @@ else { ## /usr/local/share, depending on the local conventions. ## But /usr/local/lib/latexmk is put in the list for ## compatibility with older versions of latexmk. diff --git a/latexmk.spec b/latexmk.spec index 1c752c0..5f3ceee 100644 --- a/latexmk.spec +++ b/latexmk.spec @@ -1,6 +1,6 @@ Name: latexmk -Version: 4.43a -Release: 2%{?dist} +Version: 4.44 +Release: 1%{?dist} Summary: A make-like utility for LaTeX files %global upstreamver %(sed 's/\\.//' <<< %{version}) @@ -36,9 +36,21 @@ Before using a previewer, read the file README.fedora. %setup -q -n %{name} %patch0 +fixtimestamp() { + touch -r $1.orig $1 + rm -f $1.orig +} + +# Fix encoding +pushd example_rcfiles +mv texinfo-latexmkrc texinfo-latexmkrc.orig +iconv -f iso8859-1 -t utf-8 texinfo-latexmkrc.orig > texinfo-latexmkrc +fixtimestamp texinfo-latexmkrc +popd + # Invoke perl directly sed -i.orig "s|^#\!/usr/bin/env perl|#\!/usr/bin/perl -w|" latexmk.pl -touch -r latexmk.pl.orig latexmk.pl +fixtimestamp latexmk.pl %build cp -p %{SOURCE2} README.fedora @@ -51,6 +63,9 @@ install -m 0755 -p latexmk.pl $RPM_BUILD_ROOT%{_bindir}/latexmk install -m 0644 -p latexmk.1 $RPM_BUILD_ROOT%{_mandir}/man1 install -m 0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir} +# Remove files we don't want in the docs +rm -f extra-scripts/*.bat + %files %{_bindir}/* %{_mandir}/man1/* @@ -60,6 +75,9 @@ install -m 0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir} %license COPYING %changelog +* Thu Feb 25 2016 Jerry James - 4.44-1 +- Update to 4.44 + * Thu Feb 04 2016 Fedora Release Engineering - 4.43a-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index e156e38..29cbffd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -374209a46fe38bc0bbef884491e01b61 latexmk-443a.zip +3ab4aabd9919e2c7772938aad91380ec latexmk-444.zip