From eb9c1719f676a86e70a32f87361ebf094c76ef2e58005b463558c04ed0350438 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 15 Nov 2010 08:57:25 +0000 Subject: [PATCH 1/3] prepare_spec OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-CSV?expand=0&rev=8 From ce27da063ae0a8c7bcce28f84e4e4e58f7b43586d51d1312163fce1dccccc6f1 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 1 Dec 2010 13:56:14 +0000 Subject: [PATCH 2/3] siwtch to perl_requires macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-CSV?expand=0&rev=9 --- perl-Text-CSV.changes | 5 +++++ perl-Text-CSV.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-Text-CSV.changes b/perl-Text-CSV.changes index 9be8063..9a47563 100644 --- a/perl-Text-CSV.changes +++ b/perl-Text-CSV.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 1 13:35:43 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + ------------------------------------------------------------------- Wed Nov 3 13:16:04 CET 2010 - dmueller@suse.de diff --git a/perl-Text-CSV.spec b/perl-Text-CSV.spec index c10c722..9d502e7 100644 --- a/perl-Text-CSV.spec +++ b/perl-Text-CSV.spec @@ -40,7 +40,7 @@ BuildRequires: perl(Test::Pod) %endif BuildRequires: perl(Test::More) BuildRequires: perl(IO::Handle) -Requires: perl = %{perl_version} +%{perl_requires} Requires: perl(IO::Handle) %description From 52a33877ebc4e6d551c1fb03fe5a9e799a2265d8c674dbcfd6e89c4962596915 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:53:38 +0000 Subject: [PATCH 3/3] 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-Text-CSV?expand=0&rev=10 --- perl-Text-CSV.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Text-CSV.spec b/perl-Text-CSV.spec index 9d502e7..05953b6 100644 --- a/perl-Text-CSV.spec +++ b/perl-Text-CSV.spec @@ -31,16 +31,14 @@ Url: http://search.cpan.org/dist/Text-CSV/ 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 %if %{with pod} BuildRequires: perl(Test::Pod) %endif BuildRequires: perl(Test::More) BuildRequires: perl(IO::Handle) -%{perl_requires} Requires: perl(IO::Handle) %description