From 7ea79ad0c2f3ff1c4e40b65f5e3f25f7b3ec7b87df7ca2940e34c19102d81abb Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:37:28 +0000 Subject: [PATCH] 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 --- perl-HTML-Mason.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-HTML-Mason.spec b/perl-HTML-Mason.spec index d030270..cc6351e 100644 --- a/perl-HTML-Mason.spec +++ b/perl-HTML-Mason.spec @@ -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