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/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-PPIx-Utilities.spec b/SPECS/perl-PPIx-Utilities.spec new file mode 100644 index 0000000..199a020 --- /dev/null +++ b/SPECS/perl-PPIx-Utilities.spec @@ -0,0 +1,87 @@ +Name: perl-PPIx-Utilities +Version: 1.001000 +Release: 7%{?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 +* 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