From b631eee98ebdb4e01446bb4c146e5b5310df44e7cb3cad0dd5232b7071e1d3ad Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:42:00 +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-Math-BigInt-FastCalc?expand=0&rev=7 --- perl-Math-BigInt-FastCalc.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Math-BigInt-FastCalc.spec b/perl-Math-BigInt-FastCalc.spec index 46e0520..fec0da4 100644 --- a/perl-Math-BigInt-FastCalc.spec +++ b/perl-Math-BigInt-FastCalc.spec @@ -28,14 +28,12 @@ Url: http://search.cpan.org/dist/Math-BigInt-FastCalc/ #Source: http://www.cpan.org/modules/by-module/Math/Math-BigInt-FastCalc-%{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(Math::BigInt) >= 1.88 BuildRequires: perl(Test::More) >= 0.62 # -%{perl_requires} Requires: perl(Math::BigInt) >= 1.88 %description