forked from pool/perl-Graph
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-Graph?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
aa79916916
commit
1b1e7adee9
@@ -31,10 +31,9 @@ Url: http://search.cpan.org/dist/Graph/
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
%if %{with pod}
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
||||
@@ -47,7 +46,6 @@ BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Safe)
|
||||
BuildRequires: perl(Storable) >= 2.05
|
||||
#
|
||||
%{perl_requires}
|
||||
Requires: perl(List::Util)
|
||||
Requires: perl(Math::Complex)
|
||||
Requires: perl(Scalar::Util)
|
||||
|
Reference in New Issue
Block a user