1 | Name: perl-Module-Info |
---|
2 | Version: 0.32 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Information about Perl modules |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Module-Info/ |
---|
8 | Source0: http://www.cpan.org/authors/id/M/MB/MBARBON/Module-Info-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
10 | BuildArch: noarch |
---|
11 | BuildRequires: perl(Module::Build) |
---|
12 | BuildRequires: perl(Test::Pod) |
---|
13 | BuildRequires: perl(Test::Pod::Coverage) |
---|
14 | BuildRequires: perl(version) |
---|
15 | Requires: perl(version) |
---|
16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
17 | |
---|
18 | %if "%{_dist_release}" > "vl6" |
---|
19 | %global __provides_exclude ^perl\\(B::Utils\\) |
---|
20 | %else |
---|
21 | %global provfilt /bin/sh -c "%{__perl_provides} | grep -Ev '^perl[(]B::Utils[)]'" |
---|
22 | %define __perl_provides %{provfilt} |
---|
23 | %endif |
---|
24 | |
---|
25 | |
---|
26 | %description |
---|
27 | Module::Info gives you information about Perl modules without actually |
---|
28 | loading the module. It actually isn't specific to modules and should work |
---|
29 | on any perl code. |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q -n Module-Info-%{version} |
---|
33 | |
---|
34 | %build |
---|
35 | %{__perl} Build.PL installdirs=vendor |
---|
36 | ./Build |
---|
37 | |
---|
38 | %install |
---|
39 | rm -rf %{buildroot} |
---|
40 | |
---|
41 | ./Build install destdir=%{buildroot} create_packlist=0 |
---|
42 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
43 | |
---|
44 | %{_fixperms} %{buildroot}/* |
---|
45 | |
---|
46 | %check |
---|
47 | ./Build test |
---|
48 | |
---|
49 | %clean |
---|
50 | rm -rf %{buildroot} |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-,root,root,-) |
---|
54 | %doc Changes |
---|
55 | %{_bindir}/* |
---|
56 | %{perl_vendorlib}/* |
---|
57 | %{_mandir}/man1/* |
---|
58 | %{_mandir}/man3/* |
---|
59 | |
---|
60 | %changelog |
---|
61 | * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.32-2 |
---|
62 | - revamp filter routines for B::Utils auto-provides. |
---|
63 | |
---|
64 | * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.32-1 |
---|
65 | - initial build for Vine Linux |
---|
66 | |
---|
67 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-4 |
---|
68 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
69 | |
---|
70 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.32-3 |
---|
71 | - Perl mass rebuild |
---|
72 | |
---|
73 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-2 |
---|
74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
75 | |
---|
76 | * Tue Dec 28 2010 Steven Pritchard <steve@kspei.com> 0.32-1 |
---|
77 | - Update to 0.32. |
---|
78 | |
---|
79 | * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.31-9 |
---|
80 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
81 | |
---|
82 | * Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.31-8 |
---|
83 | - Mass rebuild with perl-5.12.0 |
---|
84 | |
---|
85 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.31-7 |
---|
86 | - rebuild against perl 5.10.1 |
---|
87 | |
---|
88 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-6 |
---|
89 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
90 | |
---|
91 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-5 |
---|
92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
93 | |
---|
94 | * Wed Dec 17 2008 Steven Pritchard <steve@kspei.com> 0.31-4 |
---|
95 | - BR Test::Pod::Coverage. |
---|
96 | - Filter B::Utils auto-provides. |
---|
97 | |
---|
98 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-3 |
---|
99 | - Rebuild for perl 5.10 (again) |
---|
100 | |
---|
101 | * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.31-2 |
---|
102 | - rebuild for new perl |
---|
103 | |
---|
104 | * Wed May 30 2007 Steven Pritchard <steve@kspei.com> 0.31-1 |
---|
105 | - Update to 0.31. |
---|
106 | |
---|
107 | * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.30-5 |
---|
108 | - Use fixperms macro instead of our own chmod incantation. |
---|
109 | |
---|
110 | * Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 0.30-4 |
---|
111 | - Rebuild. |
---|
112 | |
---|
113 | * Wed May 24 2006 Steven Pritchard <steve@kspei.com> 0.30-3 |
---|
114 | - Rebuild. |
---|
115 | |
---|
116 | * Sat May 06 2006 Steven Pritchard <steve@kspei.com> 0.30-2 |
---|
117 | - Add BR: perl(Test::Pod) and perl(version). |
---|
118 | - Add Requires: perl(version). |
---|
119 | |
---|
120 | * Fri Apr 21 2006 Steven Pritchard <steve@kspei.com> 0.30-1 |
---|
121 | - Update to 0.30. |
---|
122 | - Use perl macro. |
---|
123 | - Drop extra find. |
---|
124 | |
---|
125 | * Fri Mar 24 2006 Steven Pritchard <steve@kspei.com> 0.290-1 |
---|
126 | - Specfile autogenerated by cpanspec 1.64. |
---|
127 | - Add bindir and man1 files. |
---|