From 45c1d48233bb0bb51e4eceb63311a74d8e67c9485f8fc1dcf58d306e50e8bcdf Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:51:55 +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-Test-ClassAPI?expand=0&rev=4 --- perl-Test-ClassAPI.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Test-ClassAPI.spec b/perl-Test-ClassAPI.spec index 272d0b7..79b3ea9 100644 --- a/perl-Test-ClassAPI.spec +++ b/perl-Test-ClassAPI.spec @@ -29,17 +29,15 @@ Url: http://search.cpan.org/dist/Test-ClassAPI/ Source: %{cpan_name}-%{version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} BuildRequires: perl -%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -%endif BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(Class::Inspector) >= 1.12 BuildRequires: perl(Config::Tiny) >= 2.00 BuildRequires: perl(File::Spec) >= 0.83 BuildRequires: perl(Params::Util) >= 1.00 # -%{perl_requires} Requires: perl(Class::Inspector) >= 1.12 Requires: perl(Config::Tiny) >= 2.00 Requires: perl(File::Spec) >= 0.83