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-Number-Compare?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2010-12-03 14:45:08 +00:00 committed by Git OBS Bridge
parent 48f4613fcc
commit a45a84949c

View File

@ -4,14 +4,15 @@ Name: perl-%cpan_name
Version: 0.01
Release: 1
Provides: %cpan_name
%{perl_requires}
Group: Development/Libraries/Perl
License: Artistic
URL: http://search.cpan.org/dist/Number-Compare/
Summary: Numeric comparisons
Source: %cpan_name-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%description
Number::Compare compiles a simple comparison to an anonymous subroutine, which you can call with a value to be tested again.