From 40552105a346b6602b2f2d9ce0498e913852c1af Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Sun, 5 Dec 2021 12:24:05 +0100 Subject: [PATCH] Fix Fedora configuration not being found The configuration file is installed as `/etc/latexmk.conf` while the new upstream change looks for `/etc/latexmkrc`. --- latexmk-README.fedora | 4 +--- latexmk.spec | 9 ++++++--- latexmk.conf => latexmkrc | 0 3 files changed, 7 insertions(+), 6 deletions(-) rename latexmk.conf => latexmkrc (100%) diff --git a/latexmk-README.fedora b/latexmk-README.fedora index 0bd4dd6..d7dfaf7 100644 --- a/latexmk-README.fedora +++ b/latexmk-README.fedora @@ -3,9 +3,7 @@ I. CHANGES FROM UPSTREAM Latexmk almost works out of the box. Two changes have been made to conform to Fedora conventions. First, the default DVI, PostScript, and PDF previewers have been changed to 'xdg-open'; see below for more -information. Second, the site-wide configuration file is -/etc/latexmk.conf only, as opposed to the list of names searched by the -original latexmk. +information. II. PREVIEWERS diff --git a/latexmk.spec b/latexmk.spec index 6edc635..3a1ef7f 100644 --- a/latexmk.spec +++ b/latexmk.spec @@ -1,6 +1,6 @@ Name: latexmk Version: 4.76 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A make-like utility for LaTeX files %global upstreamver %(sed 's/\\.//' <<< %{version}) @@ -8,7 +8,7 @@ Summary: A make-like utility for LaTeX files License: GPLv2+ URL: http://personal.psu.edu/jcc8/software/latexmk-jcc/ Source0: http://personal.psu.edu/jcc8/software/latexmk-jcc/%{name}-%{upstreamver}.zip -Source1: latexmk.conf +Source1: latexmkrc Source2: latexmk-README.fedora BuildArch: noarch @@ -57,12 +57,15 @@ rm -f extra-scripts/*.bat %files %{_bindir}/* %{_mandir}/man1/* -%config(noreplace) %{_sysconfdir}/latexmk.conf +%config(noreplace) %{_sysconfdir}/latexmkrc %doc CHANGES README README.fedora extra-scripts example_rcfiles %doc latexmk.pdf %license COPYING %changelog +* Sun Dec 05 2021 Michael Kuhn - 4.76-2 +- Fix Fedora configuration not being found + * Wed Nov 24 2021 Jerry James - 4.76-1 - Update to 4.76 - Drop upstreamed -conf patch diff --git a/latexmk.conf b/latexmkrc similarity index 100% rename from latexmk.conf rename to latexmkrc