From bfe8dae3af5d9573c8e35a2de129f01f20c5f3bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 21 May 2021 08:58:16 +0000 Subject: [PATCH] test OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=433 --- build.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.spec b/build.spec index c942314..7bd82c7 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)