From 4b6ef7649f39f7cf26ff49f45d7def64323beba4ecb42e4f9e61291d3600f35b Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 1 Dec 2010 13:51:34 +0000 Subject: [PATCH 1/2] siwtch to perl_requires macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-SSLeay?expand=0&rev=9 --- perl-Net-SSLeay.changes | 5 +++++ perl-Net-SSLeay.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-Net-SSLeay.changes b/perl-Net-SSLeay.changes index a2825d4..d63e3e6 100644 --- a/perl-Net-SSLeay.changes +++ b/perl-Net-SSLeay.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 1 13:34:11 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + ------------------------------------------------------------------- Tue Jul 13 15:08:17 UTC 2010 - chris@computersalat.de diff --git a/perl-Net-SSLeay.spec b/perl-Net-SSLeay.spec index 0593e1c..c21aea7 100644 --- a/perl-Net-SSLeay.spec +++ b/perl-Net-SSLeay.spec @@ -45,7 +45,7 @@ BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) %endif # -Requires: perl = %{perl_version} +%{perl_requires} %description There is a related module called Net::SSLeay::Handle included in this From 0221f10b253355150681b8d9b08fc738896f06edb5c5d2621a1dd53a1ad5c6bb Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:44:53 +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-Net-SSLeay?expand=0&rev=10 --- perl-Net-SSLeay.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Net-SSLeay.spec b/perl-Net-SSLeay.spec index c21aea7..6db7b91 100644 --- a/perl-Net-SSLeay.spec +++ b/perl-Net-SSLeay.spec @@ -32,11 +32,10 @@ Source: %{cpan_name}-%{version}.tar.bz2 Patch0: %{name}-%{version}.diff Patch1: %{name}-%{version}-undefined.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} BuildRequires: openssl openssl-devel BuildRequires: perl -%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -%endif %if %{with test} BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::NoWarnings) @@ -45,7 +44,6 @@ BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) %endif # -%{perl_requires} %description There is a related module called Net::SSLeay::Handle included in this