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-File-Slurp?expand=0&rev=11
This commit is contained in:
parent
8b35639a52
commit
59e3afaead
@ -31,15 +31,13 @@ Url: http://search.cpan.org/dist/File-Slurp/
|
||||
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
|
||||
%if %{with pod}
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
%endif
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This module provides subs that allow you to read or write entire files with
|
||||
|
Loading…
x
Reference in New Issue
Block a user