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

Revision 9004, 4.1 KB checked in by inagaki, 9 years ago (diff)

2014-10-11 Ryoichi INAGAKI <ryo1@…>

  • perl-Net-SMTP-SSL, perl-Thread-Tie, perl-Test-MockDBI: rebuild
  • perl-Thread-Serialize, perl-Test-MockObject?, perl-UNIERSAL-can, perl-UNIVERSAL-isa, perl-load: update


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