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-namespace-autoclean?expand=0&rev=4
This commit is contained in:
parent
fd8d6d5bc3
commit
adcbae1be6
@ -7,15 +7,16 @@ Group: Development/Libraries/Perl
|
||||
URL: http://search.cpan.org/dist/namespace-autoclean/
|
||||
Source0: http://www.cpan.org/modules/by-module/namespace/namespace-autoclean-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
%{perl_requires}
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.07
|
||||
BuildRequires: perl(Class::MOP) >= 0.80
|
||||
BuildRequires: perl(List::Util)
|
||||
BuildRequires: perl(namespace::clean) >= 0.11
|
||||
BuildRequires: perl(Try::Tiny)
|
||||
BuildRequires: perl(Package::DeprecationManager)
|
||||
%{perl_requires}
|
||||
Requires: perl(B::Hooks::EndOfScope) >= 0.07
|
||||
Requires: perl(Class::MOP) >= 0.80
|
||||
Requires: perl(List::Util)
|
||||
|
Loading…
Reference in New Issue
Block a user