/[packages]/cauldron/perl-Eval-Compile/current/SPECS/perl-Eval-Compile.spec
ViewVC logotype

Contents of /cauldron/perl-Eval-Compile/current/SPECS/perl-Eval-Compile.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 843673 - (show annotations) (download)
Thu Jun 25 19:36:08 2015 UTC (10 years ago) by sander85
File size: 1041 byte(s)
Fix build with perl 5.22
1 %define upstream_name Eval-Compile
2 %define upstream_version 0.11
3
4 %{?perl_default_filter}
5
6 Name: perl-%{upstream_name}
7 Version: %perl_convert_version %{upstream_version}
8 Release: %mkrel 8
9
10 Summary: No summary found
11 License: GPL+ or Artistic
12 Group: Development/Perl
13 Url: http://search.cpan.org/dist/%{upstream_name}
14 Source0: http://www.cpan.org/modules/by-module/Eval/%{upstream_name}-%{upstream_version}.tar.gz
15 Patch0: Eval-Compile-0.11-fix-build.patch
16
17 BuildRequires: perl(ExtUtils::MakeMaker)
18 BuildRequires: perl-devel
19 %description
20 Faster replacement for string evals. It takes evaled strings and compiles
21 into specific perl sub with some data, and do it once for any given string
22 So next execution take a fraction of first eval to execute.
23
24 %prep
25 %autosetup -p1 -n %{upstream_name}-%{upstream_version}
26
27 %build
28 %{__perl} Makefile.PL INSTALLDIRS=vendor
29
30 %make
31
32 %check
33 %make test
34
35 %install
36 %makeinstall_std
37
38 %files
39 %doc Changes META.json META.yml MYMETA.yml README
40 %{_mandir}/man3/*
41 %perl_vendorlib/*

  ViewVC Help
Powered by ViewVC 1.1.30