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

Revision 5700, 3.7 KB checked in by shaolin, 12 years ago (diff)
  • perl-Test-MockDBI: new package
  • perl-Test-MockObject?: new package
  • perl-UNIVERSAL-isa: new package
  • perl-UNIVERSAL-can: new package
Line 
1%define pkgname UNIVERSAL-isa
2
3Name:           perl-%{pkgname}
4Version:        1.03
5Release:        8%{?_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
44./Build
45
46
47%install
48rm -rf $RPM_BUILD_ROOT
49./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
50chmod -R u+w $RPM_BUILD_ROOT/*
51
52
53%check
54./Build test
55
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60
61%files
62%defattr(-,root,root,-)
63%doc Changes README
64%{perl_sitelib}/UNIVERSAL/
65%{_mandir}/man3/*.3pm*
66
67
68%changelog
69* Mon Feb 20 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.03-1
70- initial build for Vine Linux
71
72* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-8
73- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
74
75* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.03-7
76- Perl mass rebuild
77
78* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.03-6
79- Perl 5.14 mass rebuild
80
81* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-5
82- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
83
84* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.03-4
85- 661697 rebuild for fixing problems with vendorach/lib
86
87* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.03-3
88- Mass rebuild with perl-5.12.0
89
90* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.03-2
91- rebuild against perl 5.10.1
92
93* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.03-1
94- update to new upstream release
95
96* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-3
97- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
98
99* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-2
100- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
101
102* Thu Nov 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.01-1
103- update to 1.01
104
105* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.06-5
106- rebuild for new perl
107
108* Wed Jan 02 2008 Ralf Corsépius <rc040203@freenet.de> - 0.06-4
109- Update License-tag.
110
111* Tue Dec 11 2007 Ralf Corsépius <rc040203@freenet.de> - 0.06-3
112- Add BR: perl(Test::More).
113
114* Fri Sep  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.06-2
115- Rebuild for FC6.
116
117* Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.06-1
118- Update to 0.06.
119- New files: Changes and README.
120
121* Tue Jan 31 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.05-2
122- Source URL correction.
123
124* Tue Dec 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.05-1
125- First build.
Note: See TracBrowser for help on using the repository browser.