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-ExtUtils-CBuilder?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
c9367697e2
commit
345c68e425
@@ -32,17 +32,15 @@ Patch2: %{cpan_name}-0.2701_0.2702.patch
|
||||
Patch3: %{cpan_name}-0.2702_0.2703.patch
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(IO::File)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Text::ParseWords)
|
||||
%{perl_requires}
|
||||
Requires: perl(Cwd)
|
||||
Requires: perl(File::Basename)
|
||||
Requires: perl(File::Spec)
|
||||
|
Reference in New Issue
Block a user