@@ -45,7 +45,7 @@ AM_CONDITIONAL([ENABLE_DOCS], [test "x$enable_docs" = "xyes"])
AC_ARG_ENABLE([asciidoctor],
AS_HELP_STRING([--enable-asciidoctor],
[use asciidoctor for documentation build]),
- [], enable_asciidoctor=no)
+ [], enable_asciidoctor=yes)
AM_CONDITIONAL([USE_ASCIIDOCTOR], [test "x$enable_asciidoctor" = "xyes"])
if test "x$enable_asciidoctor" = "xyes"; then
asciidoc="asciidoctor"
@@ -10,7 +10,7 @@ Source0: https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{v
Requires: LNAME%{?_isa} = %{version}-%{release}
Requires: DAX_LNAME%{?_isa} = %{version}-%{release}
BuildRequires: autoconf
-BuildRequires: asciidoc
+BuildRequires: rubygem-asciidoctor
BuildRequires: xmlto
BuildRequires: automake
BuildRequires: libtool
The asciidoc built documentation has several formatting artifacts (e.g. Using asciidoctor for the build fixes this, so switch to it as the default. This can still be disabled during configure using "--disable-asciidoctor" Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> --- configure.ac | 2 +- ndctl.spec.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) v2: update the build dependency in the spec file