From d884689727bd6e1c22aa9d0dde26bdb85f900577b680d6ce7e319c8fa0885590 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 29 Nov 2010 20:53:49 +0000 Subject: [PATCH 1/3] sync with O:F OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Sub-Identify?expand=0&rev=5 From 443be763c0b871649ec65a40ea584173688d20c56d25c6d135859123b8f71c84 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 1 Dec 2010 13:54:49 +0000 Subject: [PATCH 2/3] siwtch to perl_requires macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Sub-Identify?expand=0&rev=6 --- perl-Sub-Identify.changes | 5 +++++ perl-Sub-Identify.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-Sub-Identify.changes b/perl-Sub-Identify.changes index 15c453a..3028a98 100644 --- a/perl-Sub-Identify.changes +++ b/perl-Sub-Identify.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 1 13:35:20 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + ------------------------------------------------------------------- Thu Nov 11 17:34:39 UTC 2010 - chris@computersalat.de diff --git a/perl-Sub-Identify.spec b/perl-Sub-Identify.spec index 2b85c51..0ddfa07 100644 --- a/perl-Sub-Identify.spec +++ b/perl-Sub-Identify.spec @@ -38,7 +38,7 @@ BuildRequires: perl-macros BuildRequires: perl(Test::Pod) >= 1.14 %endif BuildRequires: perl(Test::More) -Requires: perl = %{perl_version} +%{perl_requires} %description Sub::Identify allows you to retrieve the real name of code references. From 0020473f871b9d835cc8210dd0e8cd96d1b35774b947251fb1637e05b85e6723 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:50:47 +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-Sub-Identify?expand=0&rev=7 --- perl-Sub-Identify.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Sub-Identify.spec b/perl-Sub-Identify.spec index 0ddfa07..6c7b2e8 100644 --- a/perl-Sub-Identify.spec +++ b/perl-Sub-Identify.spec @@ -30,15 +30,13 @@ Url: http://search.cpan.org/dist/Sub-Identify/ #Source: http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Sub-Identify-0.04.tar.gz Source: %{cpan_name}-%{version}.tar.bz2 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) >= 1.14 %endif BuildRequires: perl(Test::More) -%{perl_requires} %description Sub::Identify allows you to retrieve the real name of code references.