From 94fef67f8790856bf6dd8a274f808f86d74f95d4d90a1b5a4d2da0044e37b285 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:01:43 +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-Format-Strptime?expand=0&rev=7 --- perl-DateTime-Format-Strptime.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-DateTime-Format-Strptime.spec b/perl-DateTime-Format-Strptime.spec index e06b4a7..3dc7875 100644 --- a/perl-DateTime-Format-Strptime.spec +++ b/perl-DateTime-Format-Strptime.spec @@ -30,15 +30,13 @@ Source: %{cpan_name}-%{version}.tar.bz2 Patch: %{cpan_name}-1.5000-deps.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} BuildRequires: perl -%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -%endif BuildRequires: perl(DateTime) >= 0.44 BuildRequires: perl(DateTime::Locale) >= 0.45 BuildRequires: perl(DateTime::TimeZone) >= 0.79 BuildRequires: perl(Params::Validate) >= 0.64 -%{perl_requires} Requires: perl(DateTime) >= 0.44 Requires: perl(DateTime::Locale) >= 0.45 Requires: perl(DateTime::TimeZone) >= 0.79