Initial import

This commit is contained in:
Jitka Plesnikova 2016-12-12 15:55:04 +01:00
parent 557dc072dd
commit cdfac2f0c7
3 changed files with 58 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/Sub-Quote-2.003001.tar.gz

56
perl-Sub-Quote.spec Normal file
View File

@ -0,0 +1,56 @@
Name: perl-Sub-Quote
Version: 2.003001
Release: 1%{?dist}
Summary: Efficient generation of subroutines via string eval
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Sub-Quote/
Source0: http://www.cpan.org/authors/id/H/HA/HAARG/Sub-Quote-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl(:VERSION) >= 5.6.0
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time
BuildRequires: perl(B)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(Scalar::Util)
# Tests
BuildRequires: perl(Config)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(lib)
BuildRequires: perl(overload)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::Fatal) >= 0.003
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(threads)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Conflicts: perl-Moo < 2.003000
%description
This package provides performant ways to generate subroutines from strings.
%prep
%setup -q -n Sub-Quote-%{version}
%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
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Dec 12 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.003001-1
- Initial release

View File

@ -0,0 +1 @@
SHA512 (Sub-Quote-2.003001.tar.gz) = cd24460e52b68955a460accf673a58235c8f846285a01862198bbb4f6c5718f2977e615099da7eb54a41d76ae75fd7167c7d682c14f6819e65c83f163189dd49