Fix Fedora configuration not being found

The configuration file is installed as `/etc/latexmk.conf` while the new
upstream change looks for `/etc/latexmkrc`.
This commit is contained in:
Michael Kuhn 2021-12-05 12:24:05 +01:00
parent 264c0a4b3c
commit 40552105a3
3 changed files with 7 additions and 6 deletions

View File

@ -3,9 +3,7 @@ I. CHANGES FROM UPSTREAM
Latexmk almost works out of the box. Two changes have been made to Latexmk almost works out of the box. Two changes have been made to
conform to Fedora conventions. First, the default DVI, PostScript, and conform to Fedora conventions. First, the default DVI, PostScript, and
PDF previewers have been changed to 'xdg-open'; see below for more PDF previewers have been changed to 'xdg-open'; see below for more
information. Second, the site-wide configuration file is information.
/etc/latexmk.conf only, as opposed to the list of names searched by the
original latexmk.
II. PREVIEWERS II. PREVIEWERS

View File

@ -1,6 +1,6 @@
Name: latexmk Name: latexmk
Version: 4.76 Version: 4.76
Release: 1%{?dist} Release: 2%{?dist}
Summary: A make-like utility for LaTeX files Summary: A make-like utility for LaTeX files
%global upstreamver %(sed 's/\\.//' <<< %{version}) %global upstreamver %(sed 's/\\.//' <<< %{version})
@ -8,7 +8,7 @@ Summary: A make-like utility for LaTeX files
License: GPLv2+ License: GPLv2+
URL: http://personal.psu.edu/jcc8/software/latexmk-jcc/ URL: http://personal.psu.edu/jcc8/software/latexmk-jcc/
Source0: http://personal.psu.edu/jcc8/software/latexmk-jcc/%{name}-%{upstreamver}.zip Source0: http://personal.psu.edu/jcc8/software/latexmk-jcc/%{name}-%{upstreamver}.zip
Source1: latexmk.conf Source1: latexmkrc
Source2: latexmk-README.fedora Source2: latexmk-README.fedora
BuildArch: noarch BuildArch: noarch
@ -57,12 +57,15 @@ rm -f extra-scripts/*.bat
%files %files
%{_bindir}/* %{_bindir}/*
%{_mandir}/man1/* %{_mandir}/man1/*
%config(noreplace) %{_sysconfdir}/latexmk.conf %config(noreplace) %{_sysconfdir}/latexmkrc
%doc CHANGES README README.fedora extra-scripts example_rcfiles %doc CHANGES README README.fedora extra-scripts example_rcfiles
%doc latexmk.pdf %doc latexmk.pdf
%license COPYING %license COPYING
%changelog %changelog
* Sun Dec 05 2021 Michael Kuhn <suraia@fedoraproject.org> - 4.76-2
- Fix Fedora configuration not being found
* Wed Nov 24 2021 Jerry James <loganjerry@gmail.com> - 4.76-1 * Wed Nov 24 2021 Jerry James <loganjerry@gmail.com> - 4.76-1
- Update to 4.76 - Update to 4.76
- Drop upstreamed -conf patch - Drop upstreamed -conf patch