[7803] | 1 | Name: perl-Test-Object |
---|
| 2 | Version: 0.07 |
---|
| 3 | Release: 3%{?_dist_release} |
---|
| 4 | Summary: Thoroughly testing objects via registered handlers |
---|
| 5 | |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | License: GPL+ or Artistic |
---|
| 8 | URL: http://search.cpan.org/dist/Test-Object/ |
---|
| 9 | Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-Object-%{version}.tar.gz |
---|
| 10 | Patch0: Test-Object-0.07-Makefile.PL.patch |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 12 | |
---|
| 13 | BuildArch: noarch |
---|
| 14 | BuildRequires: perl(Scalar::Util) >= 1.16 |
---|
| 15 | BuildRequires: perl(Test::Builder) >= 0.32 |
---|
| 16 | BuildRequires: perl(Test::Builder::Tester) >= 1.02 |
---|
| 17 | BuildRequires: perl(Test::Pod) >= 1.00 |
---|
| 18 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 19 | |
---|
| 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | Packager: shaolin |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | Test::Object is a testing package designed to allow you to easily test |
---|
| 26 | what you believe is a valid object against the expected behaviour of |
---|
| 27 | all of the classes in its inheritance tree in one single call. |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q -n Test-Object-%{version} |
---|
| 32 | %patch0 -p1 |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 36 | make %{?_smp_mflags} |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %install |
---|
| 40 | rm -rf %{buildroot} |
---|
| 41 | make pure_install DESTDIR=%{buildroot} |
---|
| 42 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 43 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 44 | chmod -R u+w %{buildroot}/* |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %check |
---|
| 48 | make test AUTOMATED_TESTING=1 |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %clean |
---|
| 52 | rm -rf %{buildroot} |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %files |
---|
| 56 | %defattr(-,root,root,-) |
---|
| 57 | %doc Changes LICENSE README |
---|
| 58 | %{perl_vendorlib}/Test/ |
---|
| 59 | %{_mandir}/man3/*.3pm* |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %changelog |
---|
| 63 | * Wed Sep 01 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.07-3 |
---|
| 64 | - rebuild |
---|
| 65 | |
---|
| 66 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.07-2 |
---|
| 67 | - rebuild |
---|
| 68 | |
---|
| 69 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.07-1 |
---|
| 70 | - initial build for Vine Linux |
---|
| 71 | |
---|
| 72 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-13 |
---|
| 73 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 74 | |
---|
| 75 | * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-12 |
---|
| 76 | - Perl mass rebuild |
---|
| 77 | |
---|
| 78 | * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-11 |
---|
| 79 | - Perl mass rebuild |
---|
| 80 | |
---|
| 81 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-10 |
---|
| 82 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 83 | |
---|
| 84 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-9 |
---|
| 85 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 86 | |
---|
| 87 | * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-8 |
---|
| 88 | - Mass rebuild with perl-5.12.0 |
---|
| 89 | |
---|
| 90 | * Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-7 |
---|
| 91 | - add readme |
---|
| 92 | |
---|
| 93 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.07-6 |
---|
| 94 | - rebuild against perl 5.10.1 |
---|
| 95 | |
---|
| 96 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-5 |
---|
| 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> - 0.07-4 |
---|
| 100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 101 | |
---|
| 102 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.07-3 |
---|
| 103 | - Rebuild for perl 5.10 (again) |
---|
| 104 | |
---|
| 105 | * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.07-2 |
---|
| 106 | - rebuild for new perl |
---|
| 107 | |
---|
| 108 | * Thu Sep 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.07-1 |
---|
| 109 | - Update to 0.07. |
---|
| 110 | - Test::Builder version problem (see #205537). |
---|
| 111 | - Removed the README file (copy of the manpage). |
---|
| 112 | |
---|
| 113 | * Wed Sep 06 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.06-1 |
---|
| 114 | - First build. |
---|