# # spec file for package perl-Dist-Zilla-Plugin-ReportVersions-Tiny # # Copyright (c) 2024 SUSE LLC # # 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/ # %define cpan_name Dist-Zilla-Plugin-ReportVersions-Tiny Name: perl-Dist-Zilla-Plugin-ReportVersions-Tiny Version: 1.120.0 Release: 0 # 1.12 -> normalize -> 1.120.0 %define cpan_version 1.12 License: Artistic-1.0 OR GPL-1.0-or-later Summary: (DEPRECATED) reports dependency versions during testing URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DO/DOLMEN/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Dist::Zilla) >= 3.101390 BuildRequires: perl(Dist::Zilla::File::FromCode) BuildRequires: perl(Dist::Zilla::Role::FileGatherer) BuildRequires: perl(Dist::Zilla::Role::PrereqSource) BuildRequires: perl(Dist::Zilla::Role::TextTemplate) BuildRequires: perl(Moose) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::MockObject) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Warn) BuildRequires: perl(version) >= 0.9901 Requires: perl(Dist::Zilla) >= 3.101390 Requires: perl(Dist::Zilla::File::FromCode) Requires: perl(Dist::Zilla::Role::FileGatherer) Requires: perl(Dist::Zilla::Role::PrereqSource) Requires: perl(Dist::Zilla::Role::TextTemplate) Requires: perl(Moose) Requires: perl(version) >= 0.9901 Provides: perl(Dist::Zilla::Plugin::ReportVersions::Tiny) = %{version} %undefine __perllib_provides %{perl_requires} %description This module integrates with Dist::Zilla to automatically add an additional test to your released software. Rather than testing features of the software, this reports the versions of all static module dependencies, and of Perl, at the time the tests are run. The value of this is that when someone submits a test failure report you can see which versions of the modules were installed and, hopefully, be able to reproduce problems that are dependent on a specific set of module versions. %prep %autosetup -n %{cpan_name}-%{cpan_version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes README README.mkdn %license LICENSE %changelog