Name: perl-Perl-Command Version: 0.01 Release: 1%{?dist} Summary: Return an ARGV for running this perl License: GPL+ or Artistic Group: Development/Libraries URL: https://search.cpan.org/dist/Perl-Command/ Source0: https://www.cpan.org/authors/id/S/SA/SAMV/Perl-Command-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description This module exports one symbol - @PERL, which is very similar to $^X (see "$^X" in perlvar), except it also contains a list of commands which will give the sub-perl all of the same @INC paths as this one. %prep %setup -q -n Perl-Command-%{version} %build export PERL_USE_UNSAFE_INC=1 %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install export PERL_USE_UNSAFE_INC=1 rm -rf %{buildroot} 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 export PERL_USE_UNSAFE_INC=1 make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc SubmittingPatches %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Feb 03 2023 yaroslav@fedevych.name 0.01-1 - Specfile autogenerated by cpanspec 1.78.