From c97fef220f7bf039f7d49f23da3e4b1e9dfd880d70fecbc7259773018283dc59 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:50:15 +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-Spreadsheet-ParseExcel?expand=0&rev=5 --- perl-Spreadsheet-ParseExcel.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Spreadsheet-ParseExcel.spec b/perl-Spreadsheet-ParseExcel.spec index b72d833..91859b4 100644 --- a/perl-Spreadsheet-ParseExcel.spec +++ b/perl-Spreadsheet-ParseExcel.spec @@ -29,15 +29,13 @@ Url: http://search.cpan.org/dist/Spreadsheet-ParseExcel/ 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(IO::File) BuildRequires: perl(IO::Scalar) BuildRequires: perl(OLE::Storage_Lite) >= 0.19 BuildRequires: perl(Scalar::Util) -%{perl_requires} Requires: perl(IO::File) Requires: perl(IO::Scalar) Requires: perl(OLE::Storage_Lite) >= 0.19