File crypto-policies-asciidoc.patch of Package crypto-policies.36476

Index: fedora-crypto-policies-20210917.c9d86d1/Makefile
===================================================================
--- fedora-crypto-policies-20210917.c9d86d1.orig/Makefile
+++ fedora-crypto-policies-20210917.c9d86d1/Makefile
@@ -10,6 +10,7 @@ SCRIPTS=update-crypto-policies fips-fini
 NUM_PROCS = $$(getconf _NPROCESSORS_ONLN)
 PYVERSION = -3
 DIFFTOOL?=meld
+ASCIIDOC?=asciidoc
 
 all: build
 
@@ -106,8 +107,8 @@ clean:
 	rm -rf output
 
 %: %.txt
-	asciidoc.py -v -d manpage -b docbook $<
-	xsltproc --nonet -o $@ /usr/share/asciidoc/docbook-xsl/manpage.xsl $@.xml
+	$(ASCIIDOC) -v -d manpage -b docbook $<
+	xsltproc --nonet -o $@ /etc/asciidoc/docbook-xsl/manpage.xsl $@.xml
 
 dist:
 	rm -rf crypto-policies && git clone . crypto-policies && rm -rf crypto-policies/.git/ && tar -czf crypto-policies-git$(VERSION).tar.gz crypto-policies && rm -rf crypto-policies
openSUSE Build Service is sponsored by