diff --git a/alexandria.spec b/alexandria.spec index 00f4d53..e1eb702 100644 --- a/alexandria.spec +++ b/alexandria.spec @@ -91,7 +91,9 @@ BuildRequires: intltool BuildRequires: rubygem(rspec) # Needed since Ruby 3.0. # https://github.com/mvz/alexandria-book-collection-manager/issues/124 +%if 0%{?fedora} >= 34 BuildRequires: rubygem(rexml) +%endif # Amazon AWS v3 -> v4 switch # AWS v4 is supported by alexandria itself @@ -131,7 +133,9 @@ Requires: rubygem(gtk3) Requires: rubygem(syck) # Needed since Ruby 3.0. # https://github.com/mvz/alexandria-book-collection-manager/issues/124 +%if 0%{?fedora} >= 34 Requires: rubygem(rexml) +%endif Requires(pre): GConf2 Requires(post): GConf2