From bffc3c9aedc2cc48ccb82274f2fc95b9be7e8f4f6c8d9434fec22f0f7e732f7e Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 30 Nov 2010 19:23:37 +0000 Subject: [PATCH 1/2] siwtch to perl_requires macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Algorithm-C3?expand=0&rev=5 --- perl-Algorithm-C3.changes | 5 +++++ perl-Algorithm-C3.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-Algorithm-C3.changes b/perl-Algorithm-C3.changes index da514a3..a52439f 100644 --- a/perl-Algorithm-C3.changes +++ b/perl-Algorithm-C3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 30 19:19:49 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + ------------------------------------------------------------------- Thu Nov 11 18:53:32 UTC 2010 - chris@computersalat.de diff --git a/perl-Algorithm-C3.spec b/perl-Algorithm-C3.spec index a87184a..e98b901 100644 --- a/perl-Algorithm-C3.spec +++ b/perl-Algorithm-C3.spec @@ -43,7 +43,7 @@ BuildRequires: perl(Test::Pod::Coverage) >= 1.04 BuildRequires: perl(Test::More) >= 0.47 # BuildRequires: perl(Carp) >= 0.01 -Requires: perl = %{perl_version} +%{perl_requires} Requires: perl(Carp) >= 0.01 %description From fc8a56e9c000aa8bab7599cf5269a3e0686ed854471872f0e91a08673aee8a31 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 13:54:16 +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-Algorithm-C3?expand=0&rev=6 --- perl-Algorithm-C3.changes | 5 ----- perl-Algorithm-C3.spec | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/perl-Algorithm-C3.changes b/perl-Algorithm-C3.changes index a52439f..da514a3 100644 --- a/perl-Algorithm-C3.changes +++ b/perl-Algorithm-C3.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Tue Nov 30 19:19:49 UTC 2010 - coolo@novell.com - -- switch to perl_requires macro - ------------------------------------------------------------------- Thu Nov 11 18:53:32 UTC 2010 - chris@computersalat.de diff --git a/perl-Algorithm-C3.spec b/perl-Algorithm-C3.spec index e98b901..33b23c7 100644 --- a/perl-Algorithm-C3.spec +++ b/perl-Algorithm-C3.spec @@ -31,11 +31,10 @@ Url: http://search.cpan.org/dist/Algorithm-C3/ Source: %{cpan_name}-%{version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} BuildRequires: perl BuildRequires: perl(Module::Build) -%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -%endif %if %{with pod} BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod::Coverage) >= 1.04 @@ -43,7 +42,6 @@ BuildRequires: perl(Test::Pod::Coverage) >= 1.04 BuildRequires: perl(Test::More) >= 0.47 # BuildRequires: perl(Carp) >= 0.01 -%{perl_requires} Requires: perl(Carp) >= 0.01 %description