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-clean?expand=0&rev=4
This commit is contained in:
parent
f9b1391b66
commit
de2501968e
@ -33,10 +33,9 @@ Patch0: %{name}_Build_n_Test.patch
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.07
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Exporter)
|
||||
@ -44,7 +43,6 @@ BuildRequires: perl(Package::Stash) >= 0.03
|
||||
BuildRequires: perl(Sub::Identify) >= 0.04
|
||||
BuildRequires: perl(Sub::Name) >= 0.04
|
||||
BuildRequires: perl(vars)
|
||||
%{perl_requires}
|
||||
Requires: perl(B::Hooks::EndOfScope) >= 0.07
|
||||
Requires: perl(Package::Stash) >= 0.03
|
||||
Requires: perl(Sub::Identify) >= 0.04
|
||||
|
Loading…
Reference in New Issue
Block a user