9
0

Accepting request 34953 from devel:languages:perl

Copy from devel:languages:perl/perl-Log-Log4perl based on submit request 34953 from user coolo

OBS-URL: https://build.opensuse.org/request/show/34953
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Log-Log4perl?expand=0&rev=11
This commit is contained in:
OBS User autobuild
2010-03-17 13:21:57 +00:00
committed by Git OBS Bridge
parent 5dd371f30f
commit 08c5d617b3
4 changed files with 25 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package perl-Log-Log4perl (Version 1.27)
# spec file for package perl-Log-Log4perl (Version 1.28)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -21,17 +21,21 @@
Name: perl-Log-Log4perl
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Log4j implementation for Perl
Version: 1.27
Version: 1.28
Release: 1
License: Artistic License ..
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Log-Log4perl
Source: %{cpan_name}-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
# for running all tests:
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
BuildRequires: perl(Test::More)
%endif
BuildRequires: perl(Test::More) >= 0.45
BuildRequires: perl(File::Spec) >= 0.82
# other not perl || perl-base
BuildRequires: perl(DBI) >= 1.607
BuildRequires: perl(DBD::CSV) >= 0.22
BuildRequires: perl(IO::Socket::INET)
@@ -64,7 +68,7 @@ Authors:
find -type f -exec chmod 0644 {} \;
%build
perl Makefile.PL
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{?jobs:-j%jobs}
%check