File perl-Menlo-Legacy.spec of Package perl-Menlo-Legacy

# spec file for package perl-Menlo-Legacy
# 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

Name:           perl-Menlo-Legacy
Version:        1.9022
Release:        0
%define cpan_name Menlo-Legacy
Summary:        Legacy internal and client support for Menlo
License:        Artistic-1.0 OR GPL-1.0-or-later
Group:          Development/Libraries/Perl
Url:  {cpan_name}
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Menlo) >= 1.9018
BuildRequires:  perl(Test::More) >= 0.96
BuildRequires:  perl(version) >= 0.9905
Requires:       perl(Menlo) >= 1.9018
Requires:       perl(version) >= 0.9905

Menlo::Legacy is a package to install Menlo::CLI::Compat which is a
compatibility library that implements the classic version of cpanminus
internals and behavios. This is so that existing users of cpanm and API
clients such as Carton, Carmel and App::cpm) can rely on the stable
features and specific behaviors of cpanm.

This way Menlo can evolve and be refactored without the fear of breaking
any downstream clients, including 'cpanm' itself.

%setup -q -n %{cpan_name}-%{version}

perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

make test


%files -f %{name}.files
%doc Changes README
%license LICENSE

openSUSE Build Service is sponsored by