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.
This commit is contained in:
parent
baa0ace302
commit
5a328d3079
@ -81,7 +81,7 @@ BuildRequires: perl-interpreter
|
|||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
BuildRequires: openssl
|
BuildRequires: openssl
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: libxslt
|
BuildRequires: xmlto
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the set of CA certificates chosen by the
|
This package contains the set of CA certificates chosen by the
|
||||||
@ -170,12 +170,12 @@ popd
|
|||||||
|
|
||||||
#manpage
|
#manpage
|
||||||
cp %{SOURCE10} %{name}/update-ca-trust.8.txt
|
cp %{SOURCE10} %{name}/update-ca-trust.8.txt
|
||||||
asciidoc.py -v -d manpage -b docbook %{name}/update-ca-trust.8.txt
|
asciidoc -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
|
xmlto -v -o %{name} man %{name}/update-ca-trust.8.xml
|
||||||
|
|
||||||
cp %{SOURCE9} %{name}/ca-legacy.8.txt
|
cp %{SOURCE9} %{name}/ca-legacy.8.txt
|
||||||
asciidoc.py -v -d manpage -b docbook %{name}/ca-legacy.8.txt
|
asciidoc -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
|
xmlto -v -o %{name} man %{name}/ca-legacy.8.xml
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user