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-HTML-Mason?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
483242a713
commit
7ea79ad0c2
@@ -29,11 +29,10 @@ Url: http://search.cpan.org/dist/HTML-Mason/
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build)
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Cache::Cache) >= 1
|
||||
BuildRequires: perl(CGI) >= 2.46
|
||||
BuildRequires: perl(Class::Container) >= 0.07
|
||||
@@ -42,7 +41,6 @@ BuildRequires: perl(File::Spec) >= 0.8
|
||||
BuildRequires: perl(HTML::Entities)
|
||||
BuildRequires: perl(Params::Validate) >= 0.7
|
||||
BuildRequires: perl(Scalar::Util) >= 1.01
|
||||
%{perl_requires}
|
||||
Requires: perl(Cache::Cache) >= 1
|
||||
Requires: perl(CGI) >= 2.46
|
||||
Requires: perl(Class::Container) >= 0.07
|
||||
|
Reference in New Issue
Block a user