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-Test-Memory-Cycle?expand=0&rev=4
This commit is contained in:
parent
256bcf810c
commit
77893f3a0b
@ -30,10 +30,9 @@ Url: http://search.cpan.org/dist/Test-Memory-Cycle/
|
|||||||
Source: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-1.04.tar.gz
|
Source: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-1.04.tar.gz
|
||||||
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
|
|
||||||
%if %{with pod}
|
%if %{with pod}
|
||||||
BuildRequires: perl(Test::Pod) >= 1.14
|
BuildRequires: perl(Test::Pod) >= 1.14
|
||||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||||
@ -42,7 +41,6 @@ BuildRequires: perl(Devel::Cycle) >= 1.07
|
|||||||
BuildRequires: perl(Getopt::Long)
|
BuildRequires: perl(Getopt::Long)
|
||||||
BuildRequires: perl(PadWalker)
|
BuildRequires: perl(PadWalker)
|
||||||
BuildRequires: perl(Test::Simple) >= 0.62
|
BuildRequires: perl(Test::Simple) >= 0.62
|
||||||
%{perl_requires}
|
|
||||||
Requires: perl(Devel::Cycle) >= 1.07
|
Requires: perl(Devel::Cycle) >= 1.07
|
||||||
Requires: perl(Getopt::Long)
|
Requires: perl(Getopt::Long)
|
||||||
Requires: perl(PadWalker)
|
Requires: perl(PadWalker)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user