From 4eb6c1020081abf2a566b4290fd5ad625fd3be7f47e5108bdf96062e8c3f60c1 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 1 Dec 2010 09:46:13 +0000 Subject: [PATCH 1/2] siwtch to perl_requires macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Deep?expand=0&rev=14 --- perl-Test-Deep.changes | 5 +++++ perl-Test-Deep.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-Test-Deep.changes b/perl-Test-Deep.changes index c393985..d4b03e4 100644 --- a/perl-Test-Deep.changes +++ b/perl-Test-Deep.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 1 09:44:38 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + ------------------------------------------------------------------- Sat Oct 16 09:30:53 UTC 2010 - chris@computersalat.de diff --git a/perl-Test-Deep.spec b/perl-Test-Deep.spec index 9b4447f..c383cd3 100644 --- a/perl-Test-Deep.spec +++ b/perl-Test-Deep.spec @@ -40,7 +40,7 @@ BuildRequires: perl(Test::More) BuildRequires: perl(Test::NoWarnings) >= 0.02 BuildRequires: perl(Test::Tester) >= 0.04 # -Requires: perl = %{perl_version} +%{perl_requires} Requires: perl(List::Util) >= 1.09 Requires: perl(Scalar::Util) >= 1.09 Requires: perl(Test::More) From be385e52255e15cb3093302689bb502687e90d7689e4dbd9b44ce725b4e6f71d Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:51:57 +0000 Subject: [PATCH 2/2] 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-Deep?expand=0&rev=15 --- perl-Test-Deep.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Test-Deep.spec b/perl-Test-Deep.spec index c383cd3..b5981b4 100644 --- a/perl-Test-Deep.spec +++ b/perl-Test-Deep.spec @@ -30,17 +30,15 @@ Url: http://search.cpan.org/dist/Test-Deep/ 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(List::Util) >= 1.09 BuildRequires: perl(Scalar::Util) >= 1.09 BuildRequires: perl(Test::More) BuildRequires: perl(Test::NoWarnings) >= 0.02 BuildRequires: perl(Test::Tester) >= 0.04 # -%{perl_requires} Requires: perl(List::Util) >= 1.09 Requires: perl(Scalar::Util) >= 1.09 Requires: perl(Test::More)