Don't build-require files outside of permitted directories
The xmlto-tex package has been present on Fedora for a while, so there's no need to use a file require in this case. Packaging guidelines only allow dependencies on files in /usr/bin, /usr/sbin and /etc. Guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies Relates: https://fedoraproject.org/wiki/Changes/BuildWithDNF5 Relates: https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5
This commit is contained in:
parent
2783b620ad
commit
a74ef89ca6
1 changed files with 1 additions and 4 deletions
|
|
@ -197,10 +197,7 @@ BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf
|
|||
BuildRequires: tex(fullpage.sty) tex(fancybox.sty) tex(bchr7t.tfm) tex(graphicx.sty)
|
||||
%endif
|
||||
%if %{with_htmldocs}
|
||||
# On F10, xmlto's pdf support was broken off into a sub-package,
|
||||
# called 'xmlto-tex'. To avoid a specific F10 BuildReq, we'll do a
|
||||
# file-based buildreq on '/usr/share/xmlto/format/fo/pdf'.
|
||||
BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf
|
||||
BuildRequires: xmlto xmlto-tex
|
||||
%endif
|
||||
%endif
|
||||
%if %{with_emacsvim}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue