Files
perl-Config-Model-Tester/perl-Config-Model-Tester.spec
Dirk Stoecker 1dacb22af0 Accepting request 748582 from devel:languages:perl:autoupdate
- updated to 4.004
   see /usr/share/doc/packages/perl-Config-Model-Tester/Changes
  4.004 2019-11-10
  
    Main change:
    * test setup can now create symlink to actual files.

OBS-URL: https://build.opensuse.org/request/show/748582
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Config-Model-Tester?expand=0&rev=25
2019-11-14 17:01:37 +00:00

81 lines
2.6 KiB
RPMSpec

#
# spec file for package perl-Config-Model-Tester
#
# Copyright (c) 2019 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 https://bugs.opensuse.org/
#
Name: perl-Config-Model-Tester
Version: 4.004
Release: 0
%define cpan_name Config-Model-Tester
Summary: Test framework for Config::Model
License: LGPL-2.1-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.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::Log::Log4perl)
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::Log::Log4perl)
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 run 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 LICENSE
%changelog