# This file is licensed under the terms of GNU GPLv2+. # Run optional tests #%{bcond_without perl_Module_Runtime_enables_optional_test} Name: perl-Module-Runtime Version: 0.016 Release: 1%{?dist} Summary: Runtime module handling License: GPL+ or Artistic URL: http://search.cpan.org/dist/Module-Runtime/ Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Module-Runtime-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators #BuildRequires: perl-interpreter #BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.63 # Tests: #BuildRequires: perl(Math::BigInt) #BuildRequires: perl(strict) #BuildRequires: perl(Test::More) >= 0.41 #BuildRequires: perl(warnings) #%if %{with perl_Module_Runtime_enables_optional_test} # Optional tests: #BuildRequires: perl(Test::Pod) >= 1.00 #BuildRequires: perl(Test::Pod::Coverage) #%endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description The functions exported by this module deal with runtime handling of Perl modules, which are normally handled at compile time. %prep %setup -q -n Module-Runtime-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} make manifypods %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete %{_fixperms} %{buildroot} %check #make test %files %doc Changes README %{perl_vendorlib}/Module/ %{_mandir}/man3/*.3* %changelog * Thu Feb 08 2018 Fedora Release Engineering - 0.016-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild