Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
perl-Test-Deep
perl-Test-Deep.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Test-Deep.spec of Package perl-Test-Deep
# # spec file for package perl-Test-Deep (Version 0.104) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-Test-Deep %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Extremely flexible deep comparison Version: 0.104 Release: 1 License: Artistic License .. Group: Development/Libraries/Perl Url: http://cpan.org/ Source: http://cpan.org/modules/by-module/Test/%{cpan_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl 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 BuildRequires: perl(List::Util) >= 1.09 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 %description %{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 CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL %{__make} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf ${RPM_BUILD_ROOT} %files -f %{name}.files # normally you only need to check for doc files %defattr(-,root,root) %doc CHANGES README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor