asciidoc/asciidoc.rpmlint
Todd Zullinger baefb1894d Various rpmlint fixes
The remaining errors are:

asciidoc.noarch: E: executable-marked-as-config-file /etc/asciidoc/filters/code/code-filter.py
asciidoc.noarch: E: executable-marked-as-config-file /etc/asciidoc/filters/graphviz/graphviz2png.py
asciidoc.noarch: E: incorrect-fsf-address /usr/share/doc/asciidoc/COPYING
asciidoc.noarch: E: incorrect-fsf-address /usr/share/doc/asciidoc/COPYRIGHT

The executable-marked-as-config-file errors are painful to fix without
listing the contents of /etc/asciidoc/ manually or restructuring the
install layout.  This is left as a future endeavor.

The incorrect-fsf-address errors will need to be addressed upstream.
2018-06-13 22:19:20 -04:00

29 lines
2.4 KiB
Plaintext

from Config import *
# The libxslt dependency is needed for /usr/bin/xsltproc
addFilter('asciidoc.noarch: E: explicit-lib-dependency libxslt')
# a2x.py and asciidoc.py and symlinked from a2x and asciidoc, respectively.
# Both commands have man-pages under their preferred names
addFilter('asciidoc.noarch: W: no-manual-page-for-binary a2x.py')
addFilter('asciidoc.noarch: W: no-manual-page-for-binary asciidoc.py')
# The dangling symlinks are all provided in asciidoc, which asciidoc-doc
# requires
addFilter('asciidoc-doc.noarch: W: dangling-relative-symlink /usr/share/doc/asciidoc/dblatex ../../asciidoc/dblatex')
addFilter('asciidoc-doc.noarch: W: dangling-relative-symlink /usr/share/doc/asciidoc/docbook-xsl ../../asciidoc/docbook-xsl')
addFilter('asciidoc-doc.noarch: W: dangling-relative-symlink /usr/share/doc/asciidoc/examples/website/ASCIIMathML.js ../../javascripts/ASCIIMathML.js')
addFilter('asciidoc-doc.noarch: W: dangling-relative-symlink /usr/share/doc/asciidoc/examples/website/CHANGELOG.txt ../../CHANGELOG.txt')
addFilter('asciidoc-doc.noarch: W: dangling-relative-symlink /usr/share/doc/asciidoc/examples/website/INSTALL.txt ../../INSTALL.txt')
addFilter('asciidoc-doc.noarch: W: dangling-relative-symlink /usr/share/doc/asciidoc/examples/website/LaTeXMathML.js ../../javascripts/LaTeXMathML.js')
addFilter('asciidoc-doc.noarch: W: dangling-relative-symlink /usr/share/doc/asciidoc/examples/website/README.txt ../../README.asciidoc')
addFilter('asciidoc-doc.noarch: W: dangling-relative-symlink /usr/share/doc/asciidoc/examples/website/asciidoc.css ../../stylesheets/asciidoc.css')
addFilter('asciidoc-doc.noarch: W: dangling-relative-symlink /usr/share/doc/asciidoc/examples/website/asciidoc.js ../../javascripts/asciidoc.js')
addFilter('asciidoc-doc.noarch: W: dangling-relative-symlink /usr/share/doc/asciidoc/examples/website/xhtml11-quirks.css ../../stylesheets/xhtml11-quirks.css')
addFilter('asciidoc-doc.noarch: W: dangling-relative-symlink /usr/share/doc/asciidoc/images ../../asciidoc/images')
addFilter('asciidoc-doc.noarch: W: dangling-relative-symlink /usr/share/doc/asciidoc/javascripts ../../asciidoc/javascripts')
addFilter('asciidoc-doc.noarch: W: dangling-relative-symlink /usr/share/doc/asciidoc/stylesheets ../../asciidoc/stylesheets')
# The latex and music subpackages don't have separate documentation
addFilter('asciidoc-(latex|music).noarch: W: no-documentation')