From 160e5706ba16960780fd6837b6687c268faeef62c59aaca6bf2fc421fbf24583 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 29 Nov 2010 20:54:31 +0000 Subject: [PATCH 1/3] prepare_spec OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Package-DeprecationManager?expand=0&rev=9 From 3328a1cebd599094e90483a7760813e1e572a68580c712b7e831980653f4e51d Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 1 Dec 2010 13:51:50 +0000 Subject: [PATCH 2/3] siwtch to perl_requires macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Package-DeprecationManager?expand=0&rev=10 --- perl-Package-DeprecationManager.changes | 5 +++++ perl-Package-DeprecationManager.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-Package-DeprecationManager.changes b/perl-Package-DeprecationManager.changes index ae269b9..78304b5 100644 --- a/perl-Package-DeprecationManager.changes +++ b/perl-Package-DeprecationManager.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 1 13:34:16 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + ------------------------------------------------------------------- Thu Nov 11 19:43:05 UTC 2010 - chris@computersalat.de diff --git a/perl-Package-DeprecationManager.spec b/perl-Package-DeprecationManager.spec index af7cda0..526f19e 100644 --- a/perl-Package-DeprecationManager.spec +++ b/perl-Package-DeprecationManager.spec @@ -49,7 +49,7 @@ BuildRequires: perl(Carp) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Params::Util) BuildRequires: perl(Sub::Install) -Requires: perl = %{perl_version} +%{perl_requires} Requires: perl(Carp) Requires: perl(List::MoreUtils) Requires: perl(Params::Util) From a163ca57938226881d780d63b212f43013c26a13edfdef39f93599e367d015e7 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:45:14 +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-Package-DeprecationManager?expand=0&rev=11 --- perl-Package-DeprecationManager.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Package-DeprecationManager.spec b/perl-Package-DeprecationManager.spec index 526f19e..db8eaef 100644 --- a/perl-Package-DeprecationManager.spec +++ b/perl-Package-DeprecationManager.spec @@ -31,10 +31,9 @@ Source: %{cpan_name}-%{version}.tar.bz2 Patch: %{cpan_name}-0.10-Build_n_Test.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} BuildRequires: perl -%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -%endif BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Requires) %if 0%{?suse_version} >= 1130 @@ -49,7 +48,6 @@ BuildRequires: perl(Carp) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Params::Util) BuildRequires: perl(Sub::Install) -%{perl_requires} Requires: perl(Carp) Requires: perl(List::MoreUtils) Requires: perl(Params::Util)