Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:voegelas
perl-Test-MockObject
perl-Test-MockObject.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Test-MockObject.spec of Package perl-Test-MockObject
# # spec file for package perl-Test-MockObject # # Copyright (c) 2022 Andreas Vögele <andreas@andreasvoegele.com> # # 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 send bugfixes or comments to the author. # Name: perl-Test-MockObject Version: 1.20200122 Release: 0 Summary: Perl extension for emulating troublesome interfaces License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/dist/Test-MockObject Source: https://cpan.metacpan.org/authors/id/C/CH/CHROMATIC/Test-MockObject-%{version}.tar.gz BuildArch: noarch AutoProv: 1 AutoReq: 0 # Build: BuildRequires: coreutils BuildRequires: make BuildRequires: perl %if 0%{?fedora} > 0 || 0%{?rhel} > 0 BuildRequires: perl-generators Requires: perl-libs %endif BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Runtime: BuildRequires: perl(Carp) BuildRequires: perl(Devel::Peek) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::Builder) BuildRequires: perl(constant) # Tests: %if %{undefined rhel} BuildRequires: perl(Test::More) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::Warn) BuildRequires: perl(UNIVERSAL::can) BuildRequires: perl(UNIVERSAL::isa) %endif Requires: perl(Carp) Requires: perl(Devel::Peek) Requires: perl(Scalar::Util) Requires: perl(Test::Builder) Requires: perl(constant) Requires: perl(strict) Requires: perl(warnings) %{?perl_requires} %{?perl_default_filter} %description Test::MockObject is a highly polymorphic testing object, capable of looking like all sorts of objects. This makes white-box testing much easier, as you can concentrate on what the code being tested sends to and receives from the mocked object, instead of worrying about faking up your own data. (Another option is not to test difficult things. Now you have no excuse.) %prep %autosetup -n Test-MockObject-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %install %{make_install} %{_fixperms} %{buildroot}/* find %{buildroot} \ \( -name perllocal.pod -o -name .packlist -o -type d -empty \) \ -delete %check %if %{undefined rhel} make test %endif %files %defattr(-, root, root) %license LICENSE %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %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