parent
ded1f8bfda
commit
1ed8d8df97
@ -0,0 +1 @@
|
||||
/PPIx-QuoteLike-0.005.tar.gz
|
@ -1,5 +0,0 @@
|
||||
# perl-PPIx-QuoteLike
|
||||
|
||||
This Perl class parses Perl string literals and things that are reasonably
|
||||
like string literals. Its real reason for being is to find interpolated
|
||||
variables for Perl::Critic policies and similar code.
|
@ -0,0 +1,76 @@
|
||||
Name: perl-PPIx-QuoteLike
|
||||
Version: 0.005
|
||||
Release: 1%{?dist}
|
||||
Summary: Parse Perl string literals and string-literal-like things
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/PPIx-QuoteLike
|
||||
Source0: https://cpan.metacpan.org/authors/id/W/WY/WYANT/PPIx-QuoteLike-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
# Build.PL and inc/My/Module/Build.pm not used
|
||||
BuildRequires: perl(:VERSION) >= 5.6
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(strict)
|
||||
# Test::Without::Module not helpful
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time:
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Encode)
|
||||
BuildRequires: perl(List::Util)
|
||||
BuildRequires: perl(PPI::Document) >= 1.117
|
||||
BuildRequires: perl(PPI::Dumper) >= 1.117
|
||||
BuildRequires: perl(re)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
# Optional run-time:
|
||||
# Author states theres is a build-cycle with PPIx::Regexp, but I cannot see
|
||||
# any.
|
||||
BuildRequires: perl(PPIx::Regexp)
|
||||
# Tests:
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(PPI::Document) >= 1.117
|
||||
Requires: perl(PPI::Dumper) >= 1.117
|
||||
Recommends: perl(PPIx::Regexp)
|
||||
|
||||
# Remove under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((PPI::Document|PPI::Dumper)\\)$
|
||||
|
||||
%description
|
||||
This Perl class parses Perl string literals and things that are reasonably
|
||||
like string literals. Its real reason for being is to find interpolated
|
||||
variables for Perl::Critic policies and similar code.
|
||||
|
||||
%prep
|
||||
%setup -q -n PPIx-QuoteLike-%{version}
|
||||
# Fix shell bang
|
||||
perl -MConfig -p -i -e 's{\A#!/usr/bin/env perl\b}{$Config{startperl}}' \
|
||||
eg/pqldump
|
||||
chmod -x eg/pqldump
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSES/*
|
||||
%doc Changes eg README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Jun 04 2018 Petr Pisar <ppisar@redhat.com> 0.005-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in new issue