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
This commit is contained in:
Stephan Kulow 2010-12-03 14:50:15 +00:00 committed by Git OBS Bridge
parent f6dd55d724
commit c97fef220f

View File

@ -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