# Got the intial spec from Fedora and modified it # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Devel::PPPort|ExtUtils::MakeMaker|File::Remove|File::Spec|YAML::Tiny)\\)$ Summary: Standalone, extensible Perl module installer Name: perl-Module-Install Version: 1.16 Release: 2%{?dist} License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Module-Install/ Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Install-%{version}.tar.gz %define sha1 Module-Install=fd0ad651247e6fb932925f4d7e270ec442a066e1 Vendor: VMware, Inc. Distribution: Photon BuildArch: noarch BuildRequires: perl BuildRequires: perl-YAML-Tiny Requires: perl-YAML-Tiny Requires: perl %description Module::Install is a package for writing installers for CPAN (or CPAN-like) distributions that are clean, simple, minimalist, act in a strictly correct manner with ExtUtils::MakeMaker, and will run on any Perl installation version 5.005 or newer. %prep %setup -q -n Module-Install-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; rm -rf %{buildroot}/blib/lib/auto/share/dist/Module-Install/dist_file.txt %{_fixperms} %{buildroot}/* %check make test AUTOMATED_TESTING=1 %files %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.16-2 - GA - Bump release of all rpms * Thu Feb 25 2016 Anish Swaminathan <anishs@vmware.com> 1.16-1 - Upgrade version to 1.16 * Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 1.14-1 - Initial version.