/[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 1574703 - (show annotations) (download)
Thu Apr 30 13:23:48 2020 UTC (5 years, 2 months ago) by ovitters
File size: 1074 byte(s)
- SILENT metacpan.org instead of www.cpan.org and search.cpan.org
- SILENT change make macro to make_build
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 18
9
10 Summary: Perl extension for compile eval
11 License: GPL+ or Artistic
12 Group: Development/Perl
13 Url: https://metacpan.org/release/%{upstream_name}
14 Source0: https://cpan.metacpan.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_build
31
32 %check
33 %make_build test
34
35 %install
36 %make_install
37
38 %files
39 %doc Changes META.json META.yml MYMETA.yml README
40 %{_mandir}/man3/*
41 %perl_vendorarch/*

  ViewVC Help
Powered by ViewVC 1.1.30