1 |
Name: perl-CPAN-Meta-Requirements |
2 |
Version: 2.140 |
3 |
Release: 1%{?org_tag}%{?dist} |
4 |
Summary: Set of version requirements for a CPAN dist |
5 |
License: GPL+ or Artistic |
6 |
Group: Development/Libraries |
7 |
URL: http://search.cpan.org/dist/CPAN-Meta-Requirements/ |
8 |
Source0: http://localhost/cpan//authors/id/D/DA/DAGOLDEN/CPAN-Meta-Requirements-%{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(Test::More) >= 0.88 |
14 |
BuildRequires: perl(version) >= 0.77 |
15 |
Requires: perl(version) >= 0.77 |
16 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
17 |
Autoreq: no |
18 |
|
19 |
%description |
20 |
A CPAN::Meta::Requirements object models a set of version constraints like |
21 |
those specified in the META.yml or META.json files in CPAN distributions. |
22 |
It can be built up by adding more and more constraints, and it will reduce |
23 |
them to the simplest representation. |
24 |
|
25 |
%prep |
26 |
%setup -q -n CPAN-Meta-Requirements-%{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} UNINST=0 |
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 dist.ini LICENSE META.json README |
51 |
%{perl_vendorlib}/* |
52 |
%{_mandir}/man3/* |
53 |
|
54 |
%changelog |
55 |
* Sat Sep 24 2016 Gavin Carr <gavin@openfusion.com.au> 2.140-1 |
56 |
- Update to version 2.140. |
57 |
|
58 |
* Mon Sep 01 2014 Gavin Carr <gavin@openfusion.com.au> 2.126-1 |
59 |
- Update to version 2.126. |
60 |
|
61 |
* Tue Mar 11 2014 Gavin Carr <gavin@openfusion.com.au> 2.125-1 |
62 |
- Update to version 2.125. |
63 |
|
64 |
* Sun Sep 22 2013 Gavin Carr <gavin@openfusion.com.au> 2.123-1 |
65 |
- Update to version 2.123. |
66 |
|
67 |
* Mon Sep 10 2012 Gavin Carr <gavin@openfusion.com.au> 2.122-1 |
68 |
- Specfile autogenerated by cpanspec 1.79. |