blob: 8d3b3b7689e862aff156476ff2b47bac4725fa3e (
plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
Name: perl-MooX-Roles-Pluggable
Version: 0.003
Release: 1%{?dist}
Summary: Moo eXtension for pluggable roles
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/MooX-Roles-Pluggable/
Source0: http://www.cpan.org/authors/id/R/RE/REHSACK/MooX-Roles-Pluggable-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Module::Pluggable) >= 4.8
BuildRequires: perl(Moo)
BuildRequires: perl(Moo::Role) >= 1.003000
BuildRequires: perl(Test::More) >= 0.9
Requires: perl(Module::Pluggable) >= 4.8
Requires: perl(Moo::Role) >= 1.003000
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module allows a class consuming several roles based on rules passed to
Module::Pluggable::Object.
%prep
%setup -q -n MooX-Roles-Pluggable-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes META.json README.md
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sun Jul 12 2015 Tim Orling 0.003-1
- Update to 0.003 version
- Build is now with ExtUtils::MakeMaker
- Merge specfile autogenerated by cpanspec 1.78 for 0.003
* Thu Apr 02 2015 Tim Orling 0.002-1
- Specfile autogenerated by cpanspec 1.78.
|