From 44f09203eb5b0e88a7ea6a89f167ee82649cc360eaa9fea9957d02af9ba6038b Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 1 Dec 2010 06:57:33 +0000 Subject: [PATCH 1/2] siwtch to perl_requires macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Warn?expand=0&rev=7 --- perl-Test-Warn.changes | 5 +++++ perl-Test-Warn.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-Test-Warn.changes b/perl-Test-Warn.changes index bb36c9a..e889213 100644 --- a/perl-Test-Warn.changes +++ b/perl-Test-Warn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 1 06:55:45 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + ------------------------------------------------------------------- Mon Sep 13 14:05:56 CEST 2010 - anicka@suse.cz diff --git a/perl-Test-Warn.spec b/perl-Test-Warn.spec index 837a052..852f4f6 100644 --- a/perl-Test-Warn.spec +++ b/perl-Test-Warn.spec @@ -37,7 +37,7 @@ BuildRequires: perl(Test::Builder::Tester) >= 1.02 BuildRequires: perl(Test::Builder) >= 0.13 BuildRequires: perl(Sub::Uplevel) >= 0.12 BuildRequires: perl(Tree::DAG_Node) -Requires: perl = %{perl_version} +%{perl_requires} Requires: perl(Test::Builder) >= 0.13 Requires: perl(Sub::Uplevel) >= 0.12 Requires: perl(Tree::DAG_Node) From 936b533486177da99a353e09456caec4f9b49d306ac205ba2fd5f2e28b80ac21 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:53:18 +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-Warn?expand=0&rev=8 --- perl-Test-Warn.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-Test-Warn.spec b/perl-Test-Warn.spec index 852f4f6..8eea08a 100644 --- a/perl-Test-Warn.spec +++ b/perl-Test-Warn.spec @@ -28,6 +28,7 @@ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-Warn Source: %{cpan_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::Pod) >= 1.14 @@ -37,7 +38,6 @@ BuildRequires: perl(Test::Builder::Tester) >= 1.02 BuildRequires: perl(Test::Builder) >= 0.13 BuildRequires: perl(Sub::Uplevel) >= 0.12 BuildRequires: perl(Tree::DAG_Node) -%{perl_requires} Requires: perl(Test::Builder) >= 0.13 Requires: perl(Sub::Uplevel) >= 0.12 Requires: perl(Tree::DAG_Node)