forked from pool/perl-Test-Deep
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:
committed by
Git OBS Bridge
parent
b64361c712
commit
83869beeb7
3
Test-Deep-0.106.tar.bz2
Normal file
3
Test-Deep-0.106.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3fe0809e47d05eebccee38e3ffd8b5cd814107b44919537f737edfce00c20dd6
|
||||||
|
size 28612
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9beb1f2231ba14dbfaae6a27c50d08ae3e259e2b37dbf34b5778d31960c68602
|
|
||||||
size 29004
|
|
||||||
@@ -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
|
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@@ -17,72 +17,65 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Test-Deep
|
Name: perl-Test-Deep
|
||||||
%define cpan_name Test-Deep
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
Summary: Extremely flexible deep comparison
|
Summary: Extremely flexible deep comparison
|
||||||
Version: 0.107
|
Version: 0.106
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPL+ or Artistic
|
License: Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Test-Deep/
|
Url: http://cpan.org/
|
||||||
#Source: http://www.cpan.org/modules/by-module/Test/Test-Deep-%{version}.tar.gz
|
Source: http://cpan.org/modules/by-module/Test/%{cpan_name}-%{version}.tar.bz2
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
%if 0%{?suse_version} < 1120
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
#BuildRequires: perl(Module::Build)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More) >= 0
|
||||||
BuildRequires: perl(List::Util) >= 1.09
|
BuildRequires: perl(Test::Tester) >= 0.107
|
||||||
BuildRequires: perl(Scalar::Util) >= 1.09
|
|
||||||
BuildRequires: perl(Test::NoWarnings) >= 0.02
|
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 = %{perl_version}
|
||||||
Requires: perl(List::Util) >= 1.09
|
# other not perl || perl-base
|
||||||
Requires: perl(Scalar::Util) >= 1.09
|
Requires: perl(Test::Tester) >= 0.107
|
||||||
Requires: perl(Test::NoWarnings) >= 0.02
|
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
|
%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:
|
%{cpan_name} module for perl
|
||||||
--------
|
Test::Deep gives you very flexible ways to check that the result you got is the
|
||||||
Fergal Daly <fergal@esatclear.ie>
|
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
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
# do not perl_process_packlist (noarch)
|
%perl_process_packlist
|
||||||
# remove .packlist file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
||||||
# remove perllocal.pod file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
# normally you only need to check for doc files
|
||||||
%doc CHANGES README TODO
|
%defattr(-,root,root)
|
||||||
|
%doc CHANGES README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user