Name: perl-Module-Install-AuthorRequires Version: 0.02 Release: 32%{?dist} Summary: Declare author-only dependencies License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Module-Install-AuthorRequires Source0: https://cpan.metacpan.org/authors/id/F/FL/FLORA/Module-Install-AuthorRequires-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(inc::Module::Install) BuildRequires: perl(Module::Install) # Run-time: BuildRequires: perl(base) BuildRequires: perl(Module::Install::Base) # Tests: BuildRequires: perl(Test::More) %description Modules often have optional requirements, for example dependencies that are useful for (optional) tests, but not required for the module to work properly. Simply using this module "author_requires" command allows to specify such developer specific dependencies in a proper way. %prep %setup -q -n Module-Install-AuthorRequires-%{version} # Remove bundled module rm -r inc sed -i -e '/^inc/ d' MANIFEST %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*