Adrian Schröter 2021-05-21 08:58:16 +00:00 committed by Git OBS Bridge
parent 98bf757d7b
commit bfe8dae3af

View File

@ -1,5 +1,5 @@
# #
# spec file for package obs-build # spec file for package build
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
@ -50,7 +50,7 @@ BuildRequires: tar
# For testcases # For testcases
BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::Harness)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
%if 0%{?fedora} || 0%{?centos_version} %if 0%{?fedora} || 0%{?centos_version} || 0%{?almalinux_version}
Requires: perl-MD5 Requires: perl-MD5
Requires: perl-TimeDate Requires: perl-TimeDate
BuildRequires: perl-TimeDate BuildRequires: perl-TimeDate
@ -60,8 +60,8 @@ BuildRequires: perl(Date::Parse)
Conflicts: bsdtar < 2.5.5 Conflicts: bsdtar < 2.5.5
BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::Harness)
BuildRequires: perl(Test::More) 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 %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. # None of them are actually required for core features.
# Perl helper scripts use them. # Perl helper scripts use them.
Recommends: perl(Date::Language) Recommends: perl(Date::Language)