Accepting request 49881 from devel:languages:perl

checked in (request 49881)

OBS-URL: https://build.opensuse.org/request/show/49881
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Deep?expand=0&rev=11
This commit is contained in:
OBS User autobuild 2010-10-06 20:47:28 +00:00 committed by Git OBS Bridge
parent b64361c712
commit 83869beeb7
4 changed files with 36 additions and 58 deletions

3
Test-Deep-0.106.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3fe0809e47d05eebccee38e3ffd8b5cd814107b44919537f737edfce00c20dd6
size 28612

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9beb1f2231ba14dbfaae6a27c50d08ae3e259e2b37dbf34b5778d31960c68602
size 29004

View File

@ -1,18 +1,3 @@
-------------------------------------------------------------------
Thu Sep 30 19:38:55 UTC 2010 - chris@computersalat.de
- update to 0.107
o New maintainer: Ricardo Signes (rjbs)
o On 5.10.0 and newer perl, install to the "site" directory, not the
core perl directory in @INC. (Prior to 5.10.0, @INC ordering was
unfortunate, and fixing the install target would make upgrading
difficult.)
o cope with new stringification of qr{} objects in 5.13.x+ (thanks,
ANDK)
o fix Pod escaping errors (thanks, FWIE)
- noarch pkg
- recreated by cpanspec 1.78
-------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de

View File

@ -1,5 +1,5 @@
#
# spec file for package perl-Test-Deep (Version 0.107)
# spec file for package perl-Test-Deep (Version 0.106)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,72 +17,65 @@
# norootforbuild
Name: perl-Test-Deep
%define cpan_name Test-Deep
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Extremely flexible deep comparison
Version: 0.107
Release: 1
License: GPL+ or Artistic
Version: 0.106
Release: 2
License: Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Deep/
#Source: http://www.cpan.org/modules/by-module/Test/Test-Deep-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
Url: http://cpan.org/
Source: http://cpan.org/modules/by-module/Test/%{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Test::More)
BuildRequires: perl(List::Util) >= 1.09
BuildRequires: perl(Scalar::Util) >= 1.09
#BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::More) >= 0
BuildRequires: perl(Test::Tester) >= 0.107
BuildRequires: perl(Test::NoWarnings) >= 0.02
BuildRequires: perl(Test::Tester) >= 0.04
# other not perl || perl-base
BuildRequires: perl(Scalar::Util) >= 1.09
BuildRequires: perl(List::Util) >= 1.09
Requires: perl = %{perl_version}
Requires: perl(List::Util) >= 1.09
Requires: perl(Scalar::Util) >= 1.09
# other not perl || perl-base
Requires: perl(Test::Tester) >= 0.107
Requires: perl(Test::NoWarnings) >= 0.02
Requires: perl(Test::Tester) >= 0.04
Requires: perl(Scalar::Util) >= 1.09
Requires: perl(List::Util) >= 1.09
%description
If you don't know anything about automated testing in Perl then you should
probably read about Test::Simple and Test::More before preceding.
Test::Deep uses the Test::Builder framework.
Test::Deep gives you very flexible ways to check that the result you got
is the result you were expecting. At it's simplest it compares two
structures by going through each level, ensuring that the values match,
that arrays and hashes have the same elements and that references are
blessed into the correct class. It also handles circular data structures
without getting caught in an infinite loop.
Authors:
--------
Fergal Daly <fergal@esatclear.ie>
%{cpan_name} module for perl
Test::Deep gives you very flexible ways to check that the result you got is the
result you were expecting. At it's simplest it compares two structures by
going through each level, ensuring that the values match, that arrays and
hashes have the same elements and that references are blessed into the
correct class. It also handles circular data structures without
getting caught in an infinite loop.
Author: Fergal Daly <fergal@esatclear.ie>
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make} %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%{__rm} -rf ${RPM_BUILD_ROOT}
%files -f %{name}.files
%defattr(-,root,root,-)
%doc CHANGES README TODO
# normally you only need to check for doc files
%defattr(-,root,root)
%doc CHANGES README
%changelog