Name: perl-Module-Package Version: 0.30 Release: 33%{?dist} Summary: Postmodern Perl Module Packaging License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Module-Package Source: https://cpan.metacpan.org/authors/id/I/IN/INGY/Module-Package-%{version}.tar.gz # Fix building on Perl without "." in @INC, CPAN RT#121748 Patch: Module-Package-0.30-Fix-building-on-Perl-without-.-in-INC.patch BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: BuildRequires: perl(Cwd) BuildRequires: perl(Data::Dumper) BuildRequires: perl(File::Path) BuildRequires: perl(IO::All) >= 0.41 BuildRequires: perl(Module::Install) >= 1.01 BuildRequires: perl(Module::Install::AuthorRequires) >= 0.02 BuildRequires: perl(Module::Install::Base) BuildRequires: perl(Module::Install::ManifestSkip) BuildRequires: perl(Moo) >= 0.009008 # Tests: BuildRequires: perl(Test::More) Requires: perl(Data::Dumper) Requires: perl(File::Path) %description This module is a drop-in replacement for Module::Install. It does everything Module::Install does, but just a bit better. %prep %setup -q -n Module-Package-%{version} %patch0 -p1 # XXX: Do not unbundle ./inc/ because of bootstrap %build %{__perl} Makefile.PL INSTALLDIRS=vendor TEST_VERBOSE=1 make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %files %license LICENSE %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*