From 5a328d30796d3806c1a8bde93cca5c452b466e2b Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 26 Jun 2023 17:07:05 -0400 Subject: [PATCH] Adapt to asciidoc 10 changes asciidoc 10 includes a number of packaging changes, including the removal of asciidoc.py aliases and the relocation of resources. Instead of trying to manage the latter in a compatible way, use xmlto instead for the xml-to-man conversion. --- ca-certificates.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ca-certificates.spec b/ca-certificates.spec index 39e2fa5..740428e 100644 --- a/ca-certificates.spec +++ b/ca-certificates.spec @@ -81,7 +81,7 @@ BuildRequires: perl-interpreter BuildRequires: python3 BuildRequires: openssl BuildRequires: asciidoc -BuildRequires: libxslt +BuildRequires: xmlto %description This package contains the set of CA certificates chosen by the @@ -170,12 +170,12 @@ popd #manpage cp %{SOURCE10} %{name}/update-ca-trust.8.txt -asciidoc.py -v -d manpage -b docbook %{name}/update-ca-trust.8.txt -xsltproc --nonet -o %{name}/update-ca-trust.8 /usr/share/asciidoc/docbook-xsl/manpage.xsl %{name}/update-ca-trust.8.xml +asciidoc -v -d manpage -b docbook %{name}/update-ca-trust.8.txt +xmlto -v -o %{name} man %{name}/update-ca-trust.8.xml cp %{SOURCE9} %{name}/ca-legacy.8.txt -asciidoc.py -v -d manpage -b docbook %{name}/ca-legacy.8.txt -xsltproc --nonet -o %{name}/ca-legacy.8 /usr/share/asciidoc/docbook-xsl/manpage.xsl %{name}/ca-legacy.8.xml +asciidoc -v -d manpage -b docbook %{name}/ca-legacy.8.txt +xmlto -v -o %{name} man %{name}/ca-legacy.8.xml %install