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-BioPerl?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
d6d9fff7be
commit
a69a704fdf
@@ -32,11 +32,10 @@ Source: %{cpan_name}-%{version}.tar.bz2
|
||||
Patch0: %{cpan_name}-1.6.1-Build.patch
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build)
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Harness) >= 2.62
|
||||
BuildRequires: perl(Data::Stag) >= 0.11
|
||||
@@ -84,7 +83,6 @@ BuildRequires: perl(XML::Twig)
|
||||
BuildRequires: perl(XML::Writer) >= 0.4
|
||||
%endif
|
||||
#
|
||||
%{perl_requires}
|
||||
Requires: perl(Data::Stag) >= 0.11
|
||||
Requires: perl(ExtUtils::Manifest) >= 1.52
|
||||
Requires: perl(IO::String)
|
||||
|
Reference in New Issue
Block a user