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-Module-Build?expand=0&rev=7
This commit is contained in:
parent
bbb093a06e
commit
80dcf47475
@ -30,13 +30,12 @@ Url: http://search.cpan.org/dist/Module-Build/
|
|||||||
Source: %{cpan_name}-%{_version}.tar.bz2
|
Source: %{cpan_name}-%{_version}.tar.bz2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{_version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{_version}-build
|
||||||
|
%{perl_requires}
|
||||||
# for rename
|
# for rename
|
||||||
BuildRequires: util-linux
|
BuildRequires: util-linux
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
%if 0%{?suse_version} < 1120
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
|
||||||
BuildRequires: perl(File::Temp) >= 0.15
|
BuildRequires: perl(File::Temp) >= 0.15
|
||||||
BuildRequires: perl(Test::More) >= 0.49
|
BuildRequires: perl(Test::More) >= 0.49
|
||||||
BuildRequires: perl(Test::Harness) >= 3.16
|
BuildRequires: perl(Test::Harness) >= 3.16
|
||||||
@ -55,7 +54,6 @@ BuildRequires: perl(Text::Abbrev)
|
|||||||
BuildRequires: perl(Text::ParseWords)
|
BuildRequires: perl(Text::ParseWords)
|
||||||
#BuildRequires: perl(version) >= 0.74
|
#BuildRequires: perl(version) >= 0.74
|
||||||
##################################################
|
##################################################
|
||||||
%{perl_requires}
|
|
||||||
Requires: perl(Cwd)
|
Requires: perl(Cwd)
|
||||||
Requires: perl(Data::Dumper)
|
Requires: perl(Data::Dumper)
|
||||||
Requires: perl(File::Basename)
|
Requires: perl(File::Basename)
|
||||||
|
Loading…
Reference in New Issue
Block a user