From 52689a49675e5272694e39c9a0ed70ee86f5279f82ff3fb781a7d12f816d9444 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:02:13 +0000 Subject: [PATCH] always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit) OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBI?expand=0&rev=24 --- perl-DBI.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-DBI.spec b/perl-DBI.spec index a771364..7dbfc99 100644 --- a/perl-DBI.spec +++ b/perl-DBI.spec @@ -30,10 +30,9 @@ Url: http://search.cpan.org/dist/DBI/ #Source: http://www.cpan.org/modules/by-module/DBI/DBI-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} BuildRequires: perl -%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -%endif BuildRequires: perl(Test::Simple) >= 0.90 # %if %{with opt} @@ -45,7 +44,6 @@ BuildRequires: perl(RPC::PlServer) >= 0.2001 BuildRequires: perl(SQL::Statement) >= 1.28 %endif # -%{perl_requires} %if 0%{?suse_version} > 0 Recommends: perl(Clone) >= 0.31 Recommends: perl(DB_File)