From 9d74576365ca56ca0caca63f4cff66ee5f10c22eb62d5bef8122e943b9b14856 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:52:47 +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-Pod?expand=0&rev=29 --- perl-Test-Pod.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Test-Pod.spec b/perl-Test-Pod.spec index eef1265..d62d65f 100644 --- a/perl-Test-Pod.spec +++ b/perl-Test-Pod.spec @@ -28,17 +28,15 @@ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-Pod/ Source: http://www.cpan.org/modules/by-module/Test/Test-Pod-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} BuildArch: noarch BuildRequires: perl BuildRequires: perl(Module::Build) -%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -%endif BuildRequires: perl(File::Spec) BuildRequires: perl(Pod::Simple) >= 3.05 BuildRequires: perl(Test::More) >= 0.62 # -%{perl_requires} Requires: perl(File::Spec) Requires: perl(Pod::Simple) >= 3.05 Requires: perl(Test::Builder::Tester) >= 1.02