From be79e322f8b938cb5e2d95760228768028fc36555985cf48efb59866ffb0f398 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 30 Nov 2010 19:26:56 +0000 Subject: [PATCH 1/2] siwtch to perl_requires macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Log-Log4perl?expand=0&rev=15 --- perl-Log-Log4perl.changes | 5 +++++ perl-Log-Log4perl.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-Log-Log4perl.changes b/perl-Log-Log4perl.changes index 831cb0c..bf1083e 100644 --- a/perl-Log-Log4perl.changes +++ b/perl-Log-Log4perl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 30 19:20:26 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + ------------------------------------------------------------------- Mon Jul 19 15:08:00 UTC 2010 - chris@computersalat.de diff --git a/perl-Log-Log4perl.spec b/perl-Log-Log4perl.spec index 2ae32c5..0b9b395 100644 --- a/perl-Log-Log4perl.spec +++ b/perl-Log-Log4perl.spec @@ -48,7 +48,7 @@ BuildRequires: perl(File::Spec) >= 0.82 #BuildRequires: perl(DBI) >= 1.607 #BuildRequires: perl(DBD::CSV) >= 0.22 #BuildRequires: perl(IO::Socket::INET) -Requires: perl = %{perl_version} +%{perl_requires} Requires: perl(DBI) >= 1.607 Requires: perl(IO::Socket::INET) Requires: perl(Log::Dispatch) From d853f3c1574d2ff1165339eab4ade321a76d8c4bf4ab48b5d9d21a67bc4d0bdf Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 3 Dec 2010 14:41:18 +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-Log-Log4perl?expand=0&rev=16 --- perl-Log-Log4perl.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-Log-Log4perl.spec b/perl-Log-Log4perl.spec index 0b9b395..8d471d6 100644 --- a/perl-Log-Log4perl.spec +++ b/perl-Log-Log4perl.spec @@ -31,10 +31,9 @@ Url: http://search.cpan.org/dist/Log-Log4perl/ 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 test} # fix build cycle, do not enable BuildRequires: perl(Log::Dispatch::FileRotate) >= 1.10 @@ -48,7 +47,6 @@ BuildRequires: perl(File::Spec) >= 0.82 #BuildRequires: perl(DBI) >= 1.607 #BuildRequires: perl(DBD::CSV) >= 0.22 #BuildRequires: perl(IO::Socket::INET) -%{perl_requires} Requires: perl(DBI) >= 1.607 Requires: perl(IO::Socket::INET) Requires: perl(Log::Dispatch)