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:
parent
f6dd55d724
commit
c97fef220f
@ -29,15 +29,13 @@ Url: http://search.cpan.org/dist/Spreadsheet-ParseExcel/
|
|||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{perl_requires}
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
%if 0%{?suse_version} < 1120
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
|
||||||
BuildRequires: perl(IO::File)
|
BuildRequires: perl(IO::File)
|
||||||
BuildRequires: perl(IO::Scalar)
|
BuildRequires: perl(IO::Scalar)
|
||||||
BuildRequires: perl(OLE::Storage_Lite) >= 0.19
|
BuildRequires: perl(OLE::Storage_Lite) >= 0.19
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(Scalar::Util)
|
||||||
%{perl_requires}
|
|
||||||
Requires: perl(IO::File)
|
Requires: perl(IO::File)
|
||||||
Requires: perl(IO::Scalar)
|
Requires: perl(IO::Scalar)
|
||||||
Requires: perl(OLE::Storage_Lite) >= 0.19
|
Requires: perl(OLE::Storage_Lite) >= 0.19
|
||||||
|
Loading…
Reference in New Issue
Block a user