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:
Stephan Kulow 2010-12-03 14:50:47 +00:00 committed by Git OBS Bridge
parent 443be763c0
commit 0020473f87

View File

@ -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: %{cpan_name}-%{version}.tar.bz2
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
%endif
BuildRequires: perl(Test::More)
%{perl_requires}
%description
Sub::Identify allows you to retrieve the real name of code references.