sed “s/%VERSION%/1.5/” docs/man/man1/ansible-pull.1.asciidoc.in > docs/man/man1/ansible-pull.1.asciidoc
ERROR: AsciiDoc ‘a2x’ command is not installed but is required to build docs/man/man1/ansible.1 docs/man/man1/ansible-playbook.1 docs/man/man1/ansible-pull.1 docs/man/man1/ansible-doc.1
make: *** [docs/man/man1/ansible-pull.1] Error 1
rm docs/man/man1/ansible-pull.1.asciidoc
Asciidoc produces no results on what platform? Confused by your apt-file command above.
It could be added to BuildRequires, though this is more for packaging relative to the tarball.
The build system will attempt to do this prior to building the RPM (and we are ok with this, because RPM is only one of many things we use and should not drive the build system)
We do “make rpm” from checkout, which calls the docs target.
This is because there are pre-build steps that happen before the package build step.
Adding it to BuildRequires hurts nothing, but it would not build the docs (which is ok, as they are in the release tarball that the RPM build references).