1 |
Name: perl-Sub-Quote |
2 |
Version: 2.005000 |
3 |
Release: 1%{?org_tag}%{?dist} |
4 |
Summary: Efficient generation of subroutines via string eval |
5 |
License: GPL+ or Artistic |
6 |
Group: Development/Libraries |
7 |
URL: http://search.cpan.org/dist/Sub-Quote/ |
8 |
Source0: http://localhost/cpan/authors/id/H/HA/HAARG/Sub-Quote-%{version}.tar.gz |
9 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
10 |
BuildArch: noarch |
11 |
BuildRequires: perl >= 0:5.006 |
12 |
BuildRequires: perl(ExtUtils::MakeMaker) |
13 |
BuildRequires: perl(Scalar::Util) |
14 |
BuildRequires: perl(Sub::Name) >= 0.08 |
15 |
BuildRequires: perl(Test::Fatal) >= 0.003 |
16 |
BuildRequires: perl(Test::More) >= 0.94 |
17 |
Requires: perl(Scalar::Util) |
18 |
Requires: perl(Sub::Name) >= 0.08 |
19 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
20 |
Autoreq: no |
21 |
|
22 |
%description |
23 |
This package provides performant ways to generate subroutines from strings. |
24 |
|
25 |
%prep |
26 |
%setup -q -n Sub-Quote-%{version} |
27 |
|
28 |
%build |
29 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
30 |
make %{?_smp_mflags} |
31 |
|
32 |
%install |
33 |
rm -rf %{buildroot} |
34 |
|
35 |
make pure_install PERL_INSTALL_ROOT=%{buildroot} |
36 |
|
37 |
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
38 |
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
39 |
|
40 |
%{_fixperms} %{buildroot}/* |
41 |
|
42 |
%check |
43 |
make test |
44 |
|
45 |
%clean |
46 |
rm -rf %{buildroot} |
47 |
|
48 |
%files |
49 |
%defattr(-,root,root,-) |
50 |
%doc Changes META.json README |
51 |
%{perl_vendorlib}/* |
52 |
%{_mandir}/man3/* |
53 |
|
54 |
%changelog |
55 |
* Wed Apr 04 2018 Gavin Carr <gavin@openfusion.com.au> 2.005000-1 |
56 |
- Specfile autogenerated by cpanspec 1.79. |