diff --git a/perl-Package-DeprecationManager.spec b/perl-Package-DeprecationManager.spec index 526f19e..db8eaef 100644 --- a/perl-Package-DeprecationManager.spec +++ b/perl-Package-DeprecationManager.spec @@ -31,10 +31,9 @@ Source: %{cpan_name}-%{version}.tar.bz2 Patch: %{cpan_name}-0.10-Build_n_Test.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} BuildRequires: perl -%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -%endif BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Requires) %if 0%{?suse_version} >= 1130 @@ -49,7 +48,6 @@ BuildRequires: perl(Carp) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Params::Util) BuildRequires: perl(Sub::Install) -%{perl_requires} Requires: perl(Carp) Requires: perl(List::MoreUtils) Requires: perl(Params::Util)