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-Which?expand=0&rev=12
This commit is contained in:
parent
fced4eed29
commit
be14d53c03
@ -30,16 +30,14 @@ Url: http://search.cpan.org/dist/File-Which/
|
||||
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(Exporter)
|
||||
BuildRequires: perl(File::Spec) >= 0.60
|
||||
BuildRequires: perl(Getopt::Std)
|
||||
BuildRequires: perl(Test::Script) >= 1.05
|
||||
#
|
||||
%{perl_requires}
|
||||
Requires: perl(Exporter)
|
||||
Requires: perl(File::Spec) >= 0.60
|
||||
Requires: perl(Getopt::Std)
|
||||
|
Loading…
x
Reference in New Issue
Block a user