From 8e179bb20db9b8391e98c345bf5d53a666ed44f3 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 01 2019 20:18:00 +0000 Subject: import perl-PPIx-Utilities-1.001000-8.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cf7bd6a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/PPIx-Utilities-1.001000.tar.gz diff --git a/.perl-PPIx-Utilities.metadata b/.perl-PPIx-Utilities.metadata new file mode 100644 index 0000000..3dcaa23 --- /dev/null +++ b/.perl-PPIx-Utilities.metadata @@ -0,0 +1 @@ +f38d357bcf24c1ad9062b38a77fba1c0f7a787f3 SOURCES/PPIx-Utilities-1.001000.tar.gz diff --git a/SPECS/perl-PPIx-Utilities.spec b/SPECS/perl-PPIx-Utilities.spec new file mode 100644 index 0000000..fe4a0bf --- /dev/null +++ b/SPECS/perl-PPIx-Utilities.spec @@ -0,0 +1,90 @@ +Name: perl-PPIx-Utilities +Version: 1.001000 +Release: 8%{?dist} +Summary: Extensions to PPI +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/PPIx-Utilities/ +Source0: http://search.cpan.org/CPAN/authors/id/E/EL/ELLIOTJS/PPIx-Utilities-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(Exception::Class) +BuildRequires: perl(Exporter) +BuildRequires: perl(PPI) >= 1.208 +BuildRequires: perl(PPI::Document::Fragment) >= 1.208 +BuildRequires: perl(Readonly) +BuildRequires: perl(Scalar::Util) +# Tests: +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(PPI::Document) >= 1.208 +BuildRequires: perl(PPI::Dumper) >= 1.208 +BuildRequires: perl(Task::Weaken) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This is a collection of functions for dealing with PPI objects, many of +which originated in Perl::Critic. They are organized into modules by the +kind of PPI class they relate to, by replacing the "PPI" at the front of +the module name with "PPIx::Utilities", e.g. functionality related to +PPI::Nodes is in PPIx::Utilities::Node. + +%prep +%setup -q -n PPIx-Utilities-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot} + +%check +make test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/PPIx/ +%{_mandir}/man3/PPIx::Utilities.3pm* +%{_mandir}/man3/PPIx::Utilities::Exception::Bug.3pm* +%{_mandir}/man3/PPIx::Utilities::Node.3pm* +%{_mandir}/man3/PPIx::Utilities::Statement.3pm* + +%changelog +* Fri Dec 27 2013 Daniel Mach - 1.001000-8 +- Mass rebuild 2013-12-27 + +* Thu Oct 25 2012 Petr Pisar - 1.001000-7 +- Specify all dependencies + +* Fri Jul 20 2012 Fedora Release Engineering - 1.001000-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 19 2012 Petr Pisar - 1.001000-5 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.001000-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Jun 29 2011 Marcela Mašláňová - 1.001000-3 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.001000-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 2 2010 Paul Howarth - 1.001000-1 +- Update to 1.001000 + - Add support for Const::Fast to PPIx::Utilities::Statement + +* Thu Jul 29 2010 Paul Howarth - 1.000001-2 +- Re-jig for Fedora submission + +* Wed Jun 23 2010 Paul Howarth - 1.000001-1 +- Initial RPM version