# # spec file for package perl-CPAN-Reporter # # 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 CPAN-Reporter Name: perl-CPAN-Reporter Version: 1.202.0 Release: 0 # 1.2020 -> normalize -> 1.202.0 %define cpan_version 1.2020 License: Apache-2.0 Summary: Adds CPAN Testers reporting to CPAN.pm URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/G/GA/GARU/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Archive::Tar) >= 1.54 BuildRequires: perl(CPAN) >= 1.94 BuildRequires: perl(CPAN::Version) BuildRequires: perl(Capture::Tiny) BuildRequires: perl(Config::Tiny) >= 2.08 BuildRequires: perl(Devel::Autoflush) >= 0.40.0 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36 BuildRequires: perl(File::HomeDir) >= 0.58 BuildRequires: perl(File::Spec) >= 3.19 BuildRequires: perl(File::pushd) >= 0.32 BuildRequires: perl(IPC::Cmd) >= 0.76 BuildRequires: perl(Parse::CPAN::Meta) BuildRequires: perl(Probe::Perl) BuildRequires: perl(Test::Reporter) >= 1.540 Requires: perl(CPAN) >= 1.94 Requires: perl(CPAN::Version) Requires: perl(Capture::Tiny) Requires: perl(Config::Tiny) >= 2.08 Requires: perl(Devel::Autoflush) >= 0.40.0 Requires: perl(ExtUtils::MakeMaker) >= 6.36 Requires: perl(File::HomeDir) >= 0.58 Requires: perl(File::Spec) >= 3.19 Requires: perl(IPC::Cmd) >= 0.76 Requires: perl(Parse::CPAN::Meta) Requires: perl(Probe::Perl) Requires: perl(Test::Reporter) >= 1.540 Provides: perl(CPAN::Reporter) = %{version} Provides: perl(CPAN::Reporter::API) = %{version} Provides: perl(CPAN::Reporter::Config) = %{version} Provides: perl(CPAN::Reporter::FAQ) = %{version} Provides: perl(CPAN::Reporter::History) = %{version} Provides: perl(CPAN::Reporter::PrereqCheck) = %{version} %undefine __perllib_provides %{perl_requires} %description The CPAN Testers project captures and analyzes detailed results from building and testing CPAN distributions on multiple operating systems and multiple versions of Perl. This provides valuable feedback to module authors and potential users to identify bugs or platform compatibility issues and improves the overall quality and value of CPAN. One way individuals can contribute is to send a report for each module that they test or install. CPAN::Reporter is an add-on for the CPAN.pm module to send the results of building and testing modules to the CPAN Testers project. Full support for CPAN::Reporter is available in CPAN.pm as of version 1.92. %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 CONTRIBUTING.mkdn examples README Todo %license LICENSE %changelog