From c37aa2d65ffe369ddea691859283f7dfd735ff55f66e44b6a8254304778c10ae Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 1 Dec 2010 13:43:32 +0000 Subject: [PATCH 1/2] siwtch to perl_requires macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Devel-Leak?expand=0&rev=13 --- perl-Devel-Leak.changes | 5 +++++ perl-Devel-Leak.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-Devel-Leak.changes b/perl-Devel-Leak.changes index c6ca3ac..9f62271 100644 --- a/perl-Devel-Leak.changes +++ b/perl-Devel-Leak.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 1 13:32:00 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + ------------------------------------------------------------------- Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de diff --git a/perl-Devel-Leak.spec b/perl-Devel-Leak.spec index bcd3ad6..7215b4f 100644 --- a/perl-Devel-Leak.spec +++ b/perl-Devel-Leak.spec @@ -30,7 +30,7 @@ Source: %{cpan_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -Requires: perl = %{perl_version} +%{perl_requires} %description From 4c87fb990c5d451706c8fbb8497a4e0c2ff51afc796f3c48be3ed73b3dd3173a Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:02:45 +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-Devel-Leak?expand=0&rev=14 --- perl-Devel-Leak.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-Devel-Leak.spec b/perl-Devel-Leak.spec index 7215b4f..d5d8254 100644 --- a/perl-Devel-Leak.spec +++ b/perl-Devel-Leak.spec @@ -28,9 +28,9 @@ Group: Development/Libraries/Perl Url: http://search.cpan.org/~ni-s/Devel-Leak-0.03 Source: %{cpan_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} BuildRequires: perl BuildRequires: perl-macros -%{perl_requires} %description