/
perl-Canary-Stability.spec
46 lines (33 loc) · 1.13 KB
/
perl-Canary-Stability.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
%define upstream_name Canary-Stability
%define upstream_version 2013
%{?perl_default_filter}
Name: perl-%{upstream_name}
Version: %perl_convert_version %{upstream_version}
Release: 1
Summary: Canary to check perl compatibility for schmorp's modules
License: GPL+ or Artistic
Group: Development/Perl
Url: http://search.cpan.org/dist/%{upstream_name}
Source0: http://www.cpan.org/modules/by-module/Canary/%{upstream_name}-%{upstream_version}.tar.gz
BuildRequires: perl(ExtUtils::MakeMaker)
BuildArch: noarch
%description
This module is used by Schmorp's modules during configuration stage to
test the installed perl for compatibility with his modules.
It's not, at this stage, meant as a tool for other module authors,
although in principle nothing prevents them from subscribing to the same
ideas.
See the Makefile.PL in Coro or AnyEvent for usage examples.
%prep
%autosetup -n %{upstream_name}-%{upstream_version}
%build
%__perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%make test
%install
%make_install
%files
%doc COPYING Changes META.json META.yml README
%{_mandir}/man3/*
%{perl_vendorlib}/*