update to 0.107, noarch pkg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Deep?expand=0&rev=10
This commit is contained in:
parent
5d0caacf59
commit
b64361c712
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3fe0809e47d05eebccee38e3ffd8b5cd814107b44919537f737edfce00c20dd6
|
||||
size 28612
|
3
Test-Deep-0.107.tar.bz2
Normal file
3
Test-Deep-0.107.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9beb1f2231ba14dbfaae6a27c50d08ae3e259e2b37dbf34b5778d31960c68602
|
||||
size 29004
|
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-Test-Deep (Version 0.106)
|
||||
# spec file for package perl-Test-Deep (Version 0.107)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -17,65 +17,72 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Test-Deep
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
%define cpan_name Test-Deep
|
||||
Summary: Extremely flexible deep comparison
|
||||
Version: 0.106
|
||||
Release: 2
|
||||
License: Artistic
|
||||
Version: 0.107
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://cpan.org/
|
||||
Source: http://cpan.org/modules/by-module/Test/%{cpan_name}-%{version}.tar.bz2
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
#BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Test::More) >= 0
|
||||
BuildRequires: perl(Test::Tester) >= 0.107
|
||||
BuildRequires: perl(Test::NoWarnings) >= 0.02
|
||||
# other not perl || perl-base
|
||||
BuildRequires: perl(Scalar::Util) >= 1.09
|
||||
%endif
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(List::Util) >= 1.09
|
||||
BuildRequires: perl(Scalar::Util) >= 1.09
|
||||
BuildRequires: perl(Test::NoWarnings) >= 0.02
|
||||
BuildRequires: perl(Test::Tester) >= 0.04
|
||||
Requires: perl = %{perl_version}
|
||||
# other not perl || perl-base
|
||||
Requires: perl(Test::Tester) >= 0.107
|
||||
Requires: perl(Test::NoWarnings) >= 0.02
|
||||
Requires: perl(Scalar::Util) >= 1.09
|
||||
Requires: perl(List::Util) >= 1.09
|
||||
Requires: perl(Scalar::Util) >= 1.09
|
||||
Requires: perl(Test::NoWarnings) >= 0.02
|
||||
Requires: perl(Test::Tester) >= 0.04
|
||||
|
||||
%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.
|
||||
|
||||
%{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>
|
||||
Authors:
|
||||
--------
|
||||
Fergal Daly <fergal@esatclear.ie>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
# 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_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf ${RPM_BUILD_ROOT}
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
# normally you only need to check for doc files
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES README
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES README TODO
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user