From 8ab6b0dfae4c4188adaf11b3432a463277581223 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Apr 20 2024 19:13:20 +0000 Subject: Conditionalize the python-lxml change to allow merging back to stable releases If we do end up updating python-lxml in f40 (or f39) we need to adjust this. For now it should work for f40. Signed-off-by: Kevin Fenzi --- diff --git a/calibre.spec b/calibre.spec index 876f70f..a403621 100644 --- a/calibre.spec +++ b/calibre.spec @@ -50,7 +50,9 @@ BuildRequires: optipng BuildRequires: python3dist(apsw) BuildRequires: python3dist(mechanize) BuildRequires: python3dist(lxml) +%if %{fedora} > 40 BuildRequires: python3dist(lxml-html-clean) +%endif BuildRequires: python3dist(python-dateutil) BuildRequires: python3dist(pillow) BuildRequires: python3dist(css-parser)