Files
perl-Dist-Zilla-Util-Test-K…/perl-Dist-Zilla-Util-Test-KENTNL.spec
2025-08-12 18:13:47 +02:00

99 lines
3.2 KiB
RPMSpec

#
# spec file for package perl-Dist-Zilla-Util-Test-KENTNL
#
# Copyright (c) 2025 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-Util-Test-KENTNL
Name: perl-Dist-Zilla-Util-Test-KENTNL
Version: 1.5.14
Release: 0
# 1.005014 -> normalize -> 1.5.14
%define cpan_version 1.005014
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: KENTNL's DZil plugin testing tool
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/K/KE/KENTNL/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
BuildRequires: perl(Data::DPath)
BuildRequires: perl(Dist::Zilla::App::Command::authordeps)
BuildRequires: perl(Dist::Zilla::App::Tester)
BuildRequires: perl(Dist::Zilla::Tester)
BuildRequires: perl(Dist::Zilla::Util)
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Module::Runtime)
BuildRequires: perl(Moo)
BuildRequires: perl(Path::Tiny) >= 0.50
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Test::DZil)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(recommended)
Requires: perl(Data::DPath)
Requires: perl(Dist::Zilla::App::Tester)
Requires: perl(Dist::Zilla::Tester)
Requires: perl(Dist::Zilla::Util)
Requires: perl(Module::Runtime)
Requires: perl(Moo)
Requires: perl(Path::Tiny) >= 0.50
Requires: perl(Sub::Exporter)
Requires: perl(Test::DZil)
Requires: perl(Test::Fatal)
Requires: perl(Test::More) >= 0.96
Requires: perl(Try::Tiny)
Requires: perl(recommended)
Provides: perl(Dist::Zilla::Util::Test::KENTNL) = %{version}
Provides: perl(Dist::Zilla::Util::Test::KENTNL::dztest) = %{version}
%undefine __perllib_provides
Recommends: perl(Moo) >= 1.0.8
Recommends: perl(Path::Tiny) >= 0.58
Recommends: perl(Test::Differences)
Recommends: perl(Test::More) >= 0.99
Recommends: perl(Test::TempDir::Tiny)
%{perl_requires}
%description
This module is KENTNL's kit for testing Dist::Zilla.
Most of his modules should be moving to using the `dztest` model instead
which is more flexible source side.
%prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%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
%license LICENSE
%changelog