# # spec file for package perl-Config-Model-Tester # # Copyright (c) 2016 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-Config-Model-Tester Version: 2.053 Release: 0 %define cpan_name Config-Model-Tester Summary: Test framework for Config::Model License: LGPL-2.1+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Config-Model-Tester/ Source0: http://www.cpan.org/authors/id/D/DD/DDUMONT/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(File::Copy::Recursive) BuildRequires: perl(Log::Log4perl) >= 1.11 BuildRequires: perl(Module::Build) >= 0.340000 BuildRequires: perl(Path::Tiny) BuildRequires: perl(Test::Differences) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::File::Contents) BuildRequires: perl(Test::Memory::Cycle) BuildRequires: perl(Test::Warn) Requires: perl(File::Copy::Recursive) Requires: perl(Log::Log4perl) >= 1.11 Requires: perl(Path::Tiny) Requires: perl(Test::Differences) Requires: perl(Test::Exception) Requires: perl(Test::File::Contents) Requires: perl(Test::Memory::Cycle) Requires: perl(Test::Warn) %{perl_requires} %description This class provides a way to test configuration models with tests files. This class was designed to tests several models and several tests cases per model. A specific layout for test files must be followed. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check ./Build test %install ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes LICENSE %changelog