diff --git a/build.spec b/build.spec index c9423143..7bd82c7b 100644 --- a/build.spec +++ b/build.spec @@ -1,5 +1,5 @@ # -# spec file for package obs-build +# spec file for package build # # Copyright (c) 2021 SUSE LLC # @@ -50,7 +50,7 @@ BuildRequires: tar # For testcases BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::More) -%if 0%{?fedora} || 0%{?centos_version} +%if 0%{?fedora} || 0%{?centos_version} || 0%{?almalinux_version} Requires: perl-MD5 Requires: perl-TimeDate BuildRequires: perl-TimeDate @@ -60,8 +60,8 @@ BuildRequires: perl(Date::Parse) Conflicts: bsdtar < 2.5.5 BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::More) -BuildRequires: perl(YAML::LibYAML) %if 0%{?suse_version} > 1000 || 0%{?centos_version} >= 800 || 0%{?rhel_version} >= 800 || 0%{?fedora_version} >= 21 || 0%{?almalinux_version} >= 800 +BuildRequires: perl(YAML::LibYAML) # None of them are actually required for core features. # Perl helper scripts use them. Recommends: perl(Date::Language)