From 5219939313148fef66b117c46d214e1dd995b16e Mon Sep 17 00:00:00 2001 From: Dario Faggioli Date: Mon, 7 Aug 2023 19:36:34 +0200 Subject: [PATCH] [openSUSE][spec] Use discount instead of perl-Text-Markdown perl-Text-Markdown is not always available (e.g., in SLE/Leap). Use discount instead, as the provider of the 'markdown' binary. Signed-off-by: Dario Faggioli --- rpm/qemu.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpm/qemu.spec b/rpm/qemu.spec index 09be2f735a..5ea089ed4f 100644 --- a/rpm/qemu.spec +++ b/rpm/qemu.spec @@ -194,7 +194,7 @@ BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: meson BuildRequires: ninja >= 1.7 -BuildRequires: perl-Text-Markdown +BuildRequires: discount BuildRequires: python3-base >= 3.6 BuildRequires: python3-setuptools %if %{kvm_available} @@ -781,7 +781,7 @@ for f in *.md do b="${f%.md}" # Ensure the correct media type - Markdown.pl "${f}" >"${b}.html" + markdown "${f}" >"${b}.html" # Links to b.md will be rendered as to b ln -Ts "${b}.html" "${b}" done -- 2.51.1