From 4d0fc069f4d780636d5fa411192502d463a1c7e32272f771ca89ba7c59a020a8 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:45:36 +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-Params-Util?expand=0&rev=12 --- perl-Params-Util.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Params-Util.spec b/perl-Params-Util.spec index ec692de..9bbf53d 100644 --- a/perl-Params-Util.spec +++ b/perl-Params-Util.spec @@ -27,14 +27,12 @@ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Params-Util Source: %{cpan_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} BuildRequires: perl -%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -%endif BuildRequires: perl(Scalar::Util) >= 1.18 BuildRequires: perl(Test::More) >= 0.42 BuildRequires: perl(File::Spec) >= 0.80 -%{perl_requires} Requires: perl(Scalar::Util) >= 1.18 Requires: perl(Test::More) >= 0.42 Requires: perl(File::Spec) >= 0.80