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
This commit is contained in:
Stephan Kulow
2010-12-03 14:42:00 +00:00
committed by Git OBS Bridge
parent e962561cf4
commit b631eee98e

View File

@@ -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