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-Sub-Identify?expand=0&rev=7
This commit is contained in:
parent
443be763c0
commit
0020473f87
@ -30,15 +30,13 @@ Url: http://search.cpan.org/dist/Sub-Identify/
|
|||||||
#Source: http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Sub-Identify-0.04.tar.gz
|
#Source: http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Sub-Identify-0.04.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
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
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
%{perl_requires}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Sub::Identify allows you to retrieve the real name of code references.
|
Sub::Identify allows you to retrieve the real name of code references.
|
||||||
|
Loading…
Reference in New Issue
Block a user