parent
01d06befa2
commit
0654566515
@ -0,0 +1 @@
|
|||||||
|
/PPIx-Utils-0.003.tar.gz
|
@ -0,0 +1,65 @@
|
|||||||
|
Name: perl-PPIx-Utils
|
||||||
|
Version: 0.003
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Utility functions for PPI
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
|
||||||
|
URL: https://metacpan.org/release/PPIx-Utils/
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/D/DB/DBOOK/PPIx-Utils-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: %{__make}
|
||||||
|
BuildRequires: perl-interpreter >= 0:5.008005
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
|
||||||
|
BuildRequires: perl >= 0:5.006
|
||||||
|
BuildRequires: perl(B::Keywords) >= 1.09
|
||||||
|
BuildRequires: perl(Data::Dumper)
|
||||||
|
BuildRequires: perl(Exporter)
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(File::Spec)
|
||||||
|
BuildRequires: perl(PPI) >= 1.250
|
||||||
|
BuildRequires: perl(PPI::Dumper)
|
||||||
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
|
|
||||||
|
Requires: perl(B::Keywords) >= 1.09
|
||||||
|
Requires: perl(PPI) >= 1.250
|
||||||
|
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
# Filter duplicate unversioned requires
|
||||||
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(B::Keywords\\)$
|
||||||
|
|
||||||
|
%description
|
||||||
|
PPIx::Utils is a collection of utility functions for working with PPI
|
||||||
|
documents. The functions are organized into submodules, and may be imported
|
||||||
|
from the appropriate submodule or via this module.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n PPIx-Utils-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||||
|
%{make_build}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{make_install}
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue May 04 2021 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.003-1
|
||||||
|
- Reflect review.
|
||||||
|
|
||||||
|
* Tue Apr 27 2021 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.003-1
|
||||||
|
- Initial Fedora package.
|
Loading…
Reference in new issue