From 06ee67e6fc25333b493d744e4cb2a449081c89454f1db246f5c4f4af85a25ed6 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:01:49 +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-DateTime-TimeZone?expand=0&rev=18 --- perl-DateTime-TimeZone.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-DateTime-TimeZone.spec b/perl-DateTime-TimeZone.spec index d455066..e68b9bb 100644 --- a/perl-DateTime-TimeZone.spec +++ b/perl-DateTime-TimeZone.spec @@ -31,11 +31,10 @@ Url: http://search.cpan.org/dist/DateTime-TimeZone/ 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 %if %{with test} BuildRequires: perl(DateTime) >= 0.16 %endif @@ -44,7 +43,6 @@ BuildRequires: perl(Class::Singleton) >= 1.03 BuildRequires: perl(Cwd) >= 3 BuildRequires: perl(Params::Validate) >= 0.72 # -%{perl_requires} Requires: perl(Class::Singleton) >= 1.03 Requires: perl(Cwd) >= 3 Requires: perl(Params::Validate) >= 0.72