f4d17450 |
# Got the intial spec from Fedora and modified it
Summary: Provide the stuff missing in List::Util
Name: perl-List-MoreUtils |
af96e9e3 |
Version: 0.428 |
1530757e |
Release: 2%{?dist} |
f4d17450 |
License: GPL+ or Artistic |
af96e9e3 |
Group: Development/Libraries |
f4d17450 |
URL: http://search.cpan.org/dist/List-MoreUtils/ |
af96e9e3 |
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-%{version}.tar.gz
%define sha1 List-MoreUtils=fe63dcadb0e2a6ae3ce981d6913a19e96fc56a98 |
f4d17450 |
Vendor: VMware, Inc.
Distribution: Photon |
78a75439 |
BuildArch: noarch |
af96e9e3 |
BuildRequires: perl >= 5.28.0
Requires: perl >= 5.28.0 |
f4d17450 |
BuildRequires: perl-Exporter-Tiny
Requires: perl-Exporter-Tiny
%description
List::MoreUtils provides some trivial but commonly needed functionality
on lists that is not going to go into List::Util.
%prep
%setup -q -n List-MoreUtils-%{version}
%build |
78a75439 |
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 |
f4d17450 |
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
find %{buildroot} -name 'perllocal.pod' -delete |
78a75439 |
%{_fixperms} -c %{buildroot} |
f4d17450 |
%check |
1530757e |
# Install required module List::MoreUtils::XS for maketest
export PERL_MM_USE_DEFAULT=1
echo "yes" | cpan -a
cpan -i List::MoreUtils::XS |
f4d17450 |
make test
%files |
78a75439 |
%{perl_vendorlib}/List/ |
f4d17450 |
%{_mandir}/man3/List::MoreUtils.3*
%{_mandir}/man3/List::MoreUtils::PP.3* |
53e778c7 |
%{_mandir}/man3/List::MoreUtils::Contributing.3.gz |
f4d17450 |
%changelog |
1530757e |
* Mon Dec 03 2018 Dweep Advani <dadvani@vmware.com> 0.428-2
- Fix makecheck tests |
af96e9e3 |
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 0.428-1
- Update to version 0.428 |
78a75439 |
* Wed Apr 05 2017 Robert Qi <qij@vmware.com> 0.418-1
- Update version to 0.418 |
af96e9e3 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.413-2
- GA - Bump release of all rpms |
53e778c7 |
* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 0.413-1
- Updated to version 0.413 |
af96e9e3 |
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 0.410-1
- Initial version. |