From 7ec44a8acbba8b4596013fb3450b31b2771cc74a16f1cfe745883f2f28a8814c Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 13:54:56 +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-App-CLI?expand=0&rev=15 --- perl-App-CLI.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/perl-App-CLI.spec b/perl-App-CLI.spec index 04db279..a98b561 100644 --- a/perl-App-CLI.spec +++ b/perl-App-CLI.spec @@ -29,12 +29,10 @@ Group: Development/Libraries/Perl Source: %{cpan_name}-%{version}.tar.bz2 BuildRequires: perl BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch -%if 0%{?suse_version} < 1120 -BuildRequires: perl-macros -%endif -BuildRequires: perl(Getopt::Long) >= 2.35 %{perl_requires} +BuildArch: noarch +BuildRequires: perl-macros +BuildRequires: perl(Getopt::Long) >= 2.35 Requires: perl(Getopt::Long) >= 2.35 %description