Name: perl-Devel-OverrideGlobalRequire Version: 0.001 Release: 1%{?dist} Summary: Override CORE::GLOBAL::require safely License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Devel-OverrideGlobalRequire/ Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Devel-OverrideGlobalRequire-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Temp) BuildRequires: perl(List::Util) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module overrides CORE::GLOBAL::require with a code reference in a way that plays nice with any existing overloading and ensures the right calling package is in scope. %prep %setup -q -n Devel-OverrideGlobalRequire-%{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 CONTRIBUTING dist.ini LICENSE META.json perlcritic.rc README tidyall.ini %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat May 20 2017 Dave Cross 0.001-1 - Specfile autogenerated by cpanspec 1.78.