Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Test-Is
perl-Test-Is.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Test-Is.spec of Package perl-Test-Is
# # spec file for package perl-Test-Is # # Copyright (c) 2015 SUSE LINUX 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/ # Name: perl-Test-Is Version: 20140823.1 Release: 0 %define cpan_name Test-Is Summary: Skip test in a declarative way, following the Lancaster Consensus License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-Is/ Source: http://www.cpan.org/authors/id/D/DO/DOLMEN/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::More) >= 0.88 Requires: perl(Test::More) >= 0.88 %{perl_requires} %description This module is a simple way of following the https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancaster -consensus.md#environment-variables-for-testing-contexts variables available for Perl tests as defined as one of the "https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancaste r-consensus.md" at Perl QA Hackathon 2013. Those variables ('NONINTERACTIVE_TESTING', 'EXTENDED_TESTING') define which tests should be skipped. If the environment does not match what the author of the test expected, the complete test is skipped (in the same way as 'use the Test::More manpage skip_all => ...'). As an author, you can also expect that you will automatically benefit of later evolutions of this specification just by upgrading the module. As a CPAN toolchain author (CPAN client, smoker...) you may want to ensure at runtime that the installed version of this module matches the environment you set yourself. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes LICENSE 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