Update to 4.76. Drop upstreamed -conf patch.
This commit is contained in:
parent
aff4bc3ede
commit
264c0a4b3c
9
README.md
Normal file
9
README.md
Normal file
@ -0,0 +1,9 @@
|
||||
[Latexmk](http://personal.psu.edu/jcc8/software/latexmk-jcc/) is a perl script
|
||||
for running LaTeX the correct number of times to resolve cross references,
|
||||
etc.; it also runs auxiliary programs (bibtex, makeindex if necessary, and
|
||||
dvips and/or a previewer as requested). It has a number of other useful
|
||||
capabilities, for example to start a previewer and then run latex whenever the
|
||||
source files are updated, so that the previewer gives an up-to-date view of
|
||||
the document. The script runs on both UNIX and MS-WINDOWS (95, ME, XP, etc).
|
||||
This script is a corrected and improved version of the original version of
|
||||
latexmk.
|
@ -1,29 +0,0 @@
|
||||
--- latexmk.1.orig 2020-01-31 18:36:20.000000000 -0700
|
||||
+++ latexmk.1 2020-03-12 14:27:58.608672219 -0600
|
||||
@@ -1452,6 +1452,7 @@ system RC file, in the following order,
|
||||
"/opt/local/share/latexmk/LatexMk",
|
||||
"/usr/local/share/latexmk/LatexMk",
|
||||
"/usr/local/lib/latexmk/LatexMk".
|
||||
+ On a Fedora system, it only looks for "/etc/latexmk.conf".
|
||||
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 the first it finds of
|
||||
--- latexmk.pl.orig 2020-02-07 17:38:36.000000000 -0700
|
||||
+++ latexmk.pl 2020-03-12 14:27:58.638671730 -0600
|
||||
@@ -998,13 +998,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.
|
||||
- @rc_system_files = ();
|
||||
- foreach ( 'LatexMk', 'latexmkrc' ) {
|
||||
- push @rc_system_files,
|
||||
- ( "/opt/local/share/latexmk/$_",
|
||||
- "/usr/local/share/latexmk/$_",
|
||||
- "/usr/local/lib/latexmk/$_" );
|
||||
- }
|
||||
+ ## Fedora change: only look in /etc
|
||||
+ @rc_system_files = ( '/etc/latexmk.conf' );
|
||||
+
|
||||
$search_path_separator = ':'; # Separator of elements in search_path
|
||||
|
||||
$dvi_update_signal = $signo{USR1}
|
19
latexmk.spec
19
latexmk.spec
@ -1,5 +1,5 @@
|
||||
Name: latexmk
|
||||
Version: 4.75
|
||||
Version: 4.76
|
||||
Release: 1%{?dist}
|
||||
Summary: A make-like utility for LaTeX files
|
||||
|
||||
@ -10,11 +10,7 @@ URL: http://personal.psu.edu/jcc8/software/latexmk-jcc/
|
||||
Source0: http://personal.psu.edu/jcc8/software/latexmk-jcc/%{name}-%{upstreamver}.zip
|
||||
Source1: latexmk.conf
|
||||
Source2: latexmk-README.fedora
|
||||
# Change the system-wide configuration file to /etc/latexmk.conf and fix the
|
||||
# man page accordingly. This patch has not been submitted upstream, as
|
||||
# upstream needs to be backwards compatible with previous versions of latexmk.
|
||||
# Fedora has only ever used /etc/latexmk.conf.
|
||||
Patch0: latexmk-conf.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-generators
|
||||
|
||||
@ -40,13 +36,6 @@ fixtimestamp() {
|
||||
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
|
||||
fixtimestamp latexmk.pl
|
||||
@ -74,6 +63,10 @@ rm -f extra-scripts/*.bat
|
||||
%license COPYING
|
||||
|
||||
%changelog
|
||||
* Wed Nov 24 2021 Jerry James <loganjerry@gmail.com> - 4.76-1
|
||||
- Update to 4.76
|
||||
- Drop upstreamed -conf patch
|
||||
|
||||
* Mon Sep 27 2021 Jerry James <loganjerry@gmail.com> - 4.75-1
|
||||
- Update to 4.75
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (latexmk-475.zip) = 3160f2c8adc410118b99d12aa21b3d1325e12d71e4fc83de8b8d15ca31fc9eaced75e40ddc0edbdded5a44eedd2e59c0424458d14d657876ac814b5be1a010e6
|
||||
SHA512 (latexmk-476.zip) = 2483d09a931a636dd0aedd365d66480997c820a39988407b121d367288d41c33e86c69b7faa4c3ef865535863e70d12058b0be3ba7f8284530a4f1d1ac730a48
|
||||
|
Loading…
Reference in New Issue
Block a user