forked from pool/perl-Data-Section
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-Data-Section?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
fc1389077c
commit
0448750e9c
@@ -31,6 +31,7 @@ Source: http://www.cpan.org/modules/by-module/Data/Data-Section-%{versio
|
||||
Patch0: %{cpan_name}-0.101620-Build_n_Test.patch
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
%if 0%{?suse_version} >= 1120
|
||||
@@ -39,7 +40,6 @@ BuildRequires: perl(Test::More) => 0.88
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
|
||||
BuildRequires: perl(MRO::Compat) >= 0.09
|
||||
BuildRequires: perl(Sub::Exporter) >= 0.979
|
||||
%{perl_requires}
|
||||
Requires: perl(MRO::Compat) >= 0.09
|
||||
Requires: perl(Sub::Exporter) >= 0.979
|
||||
|
||||
|
Reference in New Issue
Block a user