%define upstream_name ExtUtils-MakeMaker %define upstream_version 6.59 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 4 Summary: Writes Makefiles for extensions License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/ExtUtils/%{upstream_name}-%{upstream_version}.tar.gz Patch0: ExtUtils-MakeMaker-6.59-prevent-bundled-copies.patch BuildRequires: perl(CPAN::Meta) BuildRequires: perl(CPAN::Meta::YAML) BuildRequires: perl(Data::Dumper) BuildRequires: perl(DirHandle) BuildRequires: perl(ExtUtils::Command) BuildRequires: perl(ExtUtils::Install) BuildRequires: perl(ExtUtils::Manifest) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Copy::Recursive) BuildRequires: perl(File::Spec) >= 0.800.0 BuildRequires: perl(File::Temp) BuildRequires: perl(JSON::PP) BuildRequires: perl(JSON::PP::Compat5006) BuildRequires: perl(List::Util) BuildRequires: perl(Parse::CPAN::Meta) BuildRequires: perl(Pod::Man) BuildRequires: perl(Scalar::Util) BuildRequires: perl(version) BuildRequires: perl(Version::Requirements) BuildRequires: perl-devel BuildArch: noarch %description Include all the modules bundled with MakeMaker in @INC so ExtUtils::MakeMaker will load. This is for bootstrapping the process of deciding how much of the bundles we need. copy_bundles() copies the contents of each bundle, if necessary, into inc/ as a flattened module directory that MakeMaker can install. %prep %setup -q -n %{upstream_name}-%{upstream_version} %patch0 -b .nobundled %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %buildroot %makeinstall_std mv %{buildroot}/%{_bindir}/instmodsh %{buildroot}/%{_bindir}/instmodsh.%{upstream_version} mv %{buildroot}/%{_mandir}/man1/instmodsh.1 %{buildroot}/%{_mandir}/man1/instmodsh.%{upstream_version}.1 %files %doc Changes INSTALL META.json META.yml NOTES PATCHING README TODO %{_mandir}/man3/* %perl_vendorlib/* %{_bindir}/* %{_mandir}/man1/*