From 0020473f871b9d835cc8210dd0e8cd96d1b35774b947251fb1637e05b85e6723 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:50:47 +0000 Subject: [PATCH] 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 --- perl-Sub-Identify.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Sub-Identify.spec b/perl-Sub-Identify.spec index 0ddfa07..6c7b2e8 100644 --- a/perl-Sub-Identify.spec +++ b/perl-Sub-Identify.spec @@ -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.