forked from pool/perl-Package-DeprecationManager
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-Package-DeprecationManager?expand=0&rev=11
This commit is contained in:
parent
3328a1cebd
commit
a163ca5793
@ -31,10 +31,9 @@ Source: %{cpan_name}-%{version}.tar.bz2
|
|||||||
Patch: %{cpan_name}-0.10-Build_n_Test.patch
|
Patch: %{cpan_name}-0.10-Build_n_Test.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{perl_requires}
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
%if 0%{?suse_version} < 1120
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
|
||||||
BuildRequires: perl(Test::Fatal)
|
BuildRequires: perl(Test::Fatal)
|
||||||
BuildRequires: perl(Test::Requires)
|
BuildRequires: perl(Test::Requires)
|
||||||
%if 0%{?suse_version} >= 1130
|
%if 0%{?suse_version} >= 1130
|
||||||
@ -49,7 +48,6 @@ BuildRequires: perl(Carp)
|
|||||||
BuildRequires: perl(List::MoreUtils)
|
BuildRequires: perl(List::MoreUtils)
|
||||||
BuildRequires: perl(Params::Util)
|
BuildRequires: perl(Params::Util)
|
||||||
BuildRequires: perl(Sub::Install)
|
BuildRequires: perl(Sub::Install)
|
||||||
%{perl_requires}
|
|
||||||
Requires: perl(Carp)
|
Requires: perl(Carp)
|
||||||
Requires: perl(List::MoreUtils)
|
Requires: perl(List::MoreUtils)
|
||||||
Requires: perl(Params::Util)
|
Requires: perl(Params::Util)
|
||||||
|
Loading…
Reference in New Issue
Block a user