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:
parent
48f4613fcc
commit
a45a84949c
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user