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