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
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

View File

@ -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 <suraia@fedoraproject.org> - 4.76-2
- Fix Fedora configuration not being found
* Wed Nov 24 2021 Jerry James <loganjerry@gmail.com> - 4.76-1
- Update to 4.76
- Drop upstreamed -conf patch