source: projects/specs/trunk/p/perl-UNIVERSAL-isa/perl-UNIVERSAL-isa-vl.spec @ 5798

Revision 5798, 3.8 KB checked in by shaolin, 12 years ago (diff)
  • rebuild
Line 
1%define pkgname UNIVERSAL-isa
2
3Name:           perl-%{pkgname}
4Version:        1.03
5Release:        9%{?_dist_release}
6Summary:        Hack around module authors using UNIVERSAL::isa as a function
7
8Group:          Development/Libraries
9License:        Artistic or GPL+
10URL:            http://search.cpan.org/dist/UNIVERSAL-isa/
11Source0:        http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/UNIVERSAL-isa-%{version}.tar.gz
12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14BuildArch:      noarch
15BuildRequires:  perl(Module::Build)
16BuildRequires:  perl(Test::More)
17
18Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22Packager:       shaolin
23
24%description
25Whenever you use "isa" in UNIVERSAL as a function, a kitten using
26Test::MockObject dies. Normally, the kittens would be helpless, but
27if they use UNIVERSAL::isa (the module whose docs you are reading),
28the kittens can live long and prosper.
29
30This module replaces UNIVERSAL::isa with a version that makes sure
31that if it's called as a function on objects which override isa,
32isa will be called on those objects as a method.
33
34In all other cases the real UNIVERSAL::isa is just called directly.
35
36
37%prep
38%setup -q -n UNIVERSAL-isa-%{version}
39%{__perl} -pi -e 's{^#!%{__perl}\b}{##!%{__perl}}' lib/UNIVERSAL/isa.pm
40
41
42%build
43%{__perl} Build.PL installdirs=vendor
44./Build
45
46
47%install
48rm -rf %{buildroot}
49./Build install destdir=%{buildroot} create_packlist=0
50chmod -R u+w %{buildroot}/*
51
52
53%check
54./Build test
55
56
57%clean
58rm -rf %{buildroot}
59
60
61%files
62%defattr(-,root,root,-)
63%doc Changes README
64%{perl_vendorlib}/UNIVERSAL/
65%{_mandir}/man3/*.3pm*
66
67
68%changelog
69* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.03-9
70- rebuild
71
72* Mon Feb 20 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.03-8
73- initial build for Vine Linux
74
75* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-8
76- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
77
78* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.03-7
79- Perl mass rebuild
80
81* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.03-6
82- Perl 5.14 mass rebuild
83
84* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-5
85- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
86
87* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.03-4
88- 661697 rebuild for fixing problems with vendorach/lib
89
90* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.03-3
91- Mass rebuild with perl-5.12.0
92
93* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.03-2
94- rebuild against perl 5.10.1
95
96* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.03-1
97- update to new upstream release
98
99* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-3
100- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
101
102* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-2
103- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
104
105* Thu Nov 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.01-1
106- update to 1.01
107
108* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.06-5
109- rebuild for new perl
110
111* Wed Jan 02 2008 Ralf Corsépius <rc040203@freenet.de> - 0.06-4
112- Update License-tag.
113
114* Tue Dec 11 2007 Ralf Corsépius <rc040203@freenet.de> - 0.06-3
115- Add BR: perl(Test::More).
116
117* Fri Sep  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.06-2
118- Rebuild for FC6.
119
120* Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.06-1
121- Update to 0.06.
122- New files: Changes and README.
123
124* Tue Jan 31 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.05-2
125- Source URL correction.
126
127* Tue Dec 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.05-1
128- First build.
Note: See TracBrowser for help on using the repository browser.