diff --git a/perl-Log-Log4perl.spec b/perl-Log-Log4perl.spec index 0b9b395..8d471d6 100644 --- a/perl-Log-Log4perl.spec +++ b/perl-Log-Log4perl.spec @@ -31,10 +31,9 @@ Url: http://search.cpan.org/dist/Log-Log4perl/ Source: %{cpan_name}-%{version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} BuildRequires: perl -%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -%endif %if %{with test} # fix build cycle, do not enable BuildRequires: perl(Log::Dispatch::FileRotate) >= 1.10 @@ -48,7 +47,6 @@ BuildRequires: perl(File::Spec) >= 0.82 #BuildRequires: perl(DBI) >= 1.607 #BuildRequires: perl(DBD::CSV) >= 0.22 #BuildRequires: perl(IO::Socket::INET) -%{perl_requires} Requires: perl(DBI) >= 1.607 Requires: perl(IO::Socket::INET) Requires: perl(Log::Dispatch)