Name: perl-Menlo-Legacy Version: 1.9022 Release: 1%{?dist} Summary: Legacy internal and client support for Menlo License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Menlo-Legacy/ Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Menlo-Legacy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.008001 BuildRequires: perl(ExtUtils::MakeMaker) 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 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description 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. %prep %setup -q -n Menlo-Legacy-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes cpanfile dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Jul 10 2018 Dave Cross 1.9022-1 - Specfile autogenerated by cpanspec 1.78.