[3177] | 1 | Name: perl-Number-Compare |
---|
| 2 | Version: 0.01 |
---|
[3178] | 3 | Release: 17%{?_dist_release} |
---|
[3177] | 4 | Summary: Perl module for numeric comparisons |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Number-Compare/ |
---|
| 8 | Source0: http://www.cpan.org/modules/by-module/Number/Number-Compare-%{version}.tar.gz |
---|
| 9 | # Address https://bugzilla.redhat.com/show_bug.cgi?id=607982 |
---|
| 10 | # Patch from https://rt.cpan.org/Public/Bug/Display.html?id=58466 |
---|
| 11 | Patch0: https://rt.cpan.org/Ticket/Attachment/792151/410599/Number-Compare-0.01-uninitialized.patch |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 13 | |
---|
| 14 | BuildArch: noarch |
---|
| 15 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 16 | BuildRequires: perl(Test::More) |
---|
[3178] | 17 | #Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
[3177] | 18 | |
---|
[3178] | 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | |
---|
[3177] | 22 | %description |
---|
| 23 | Number::Compare compiles a simple comparison to an anonymous subroutine, |
---|
| 24 | which you can call with a value to be tested again. |
---|
| 25 | |
---|
| 26 | %prep |
---|
| 27 | %setup -q -n Number-Compare-%{version} |
---|
| 28 | %patch0 -p1 |
---|
| 29 | |
---|
| 30 | %build |
---|
| 31 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 32 | make %{?_smp_mflags} |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %install |
---|
| 36 | rm -rf $RPM_BUILD_ROOT |
---|
| 37 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 38 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 39 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 40 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %clean |
---|
| 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %check |
---|
| 48 | make test |
---|
| 49 | |
---|
| 50 | %files |
---|
| 51 | %defattr(-,root,root,-) |
---|
| 52 | %doc Changes |
---|
| 53 | %{perl_vendorlib}/Number |
---|
| 54 | %{_mandir}/man3/* |
---|
| 55 | |
---|
| 56 | %changelog |
---|
[3178] | 57 | * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.01-17 |
---|
| 58 | - build for Vine Linux |
---|
| 59 | |
---|
[3177] | 60 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-16 |
---|
| 61 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 62 | |
---|
| 63 | * Sat Jun 26 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.01-15 |
---|
| 64 | - Apply https://rt.cpan.org/Ticket/Attachment/792151/410599/Number-Compare-0.01-uninitialized.patch |
---|
| 65 | to address https://bugzilla.redhat.com/show_bug.cgi?id=607982. |
---|
| 66 | |
---|
| 67 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-14 |
---|
| 68 | - Mass rebuild with perl-5.12.0 |
---|
| 69 | |
---|
| 70 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.01-13 |
---|
| 71 | - rebuild against perl 5.10.1 |
---|
| 72 | |
---|
| 73 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-12 |
---|
| 74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 75 | |
---|
| 76 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-11 |
---|
| 77 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 78 | |
---|
| 79 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.01-10 |
---|
| 80 | - Rebuild for perl 5.10 (again) |
---|
| 81 | |
---|
| 82 | * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.01-9 |
---|
| 83 | - rebuild for new perl |
---|
| 84 | |
---|
| 85 | * Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 0.01-8 |
---|
| 86 | - Update license tag. |
---|
| 87 | |
---|
| 88 | * Thu Apr 19 2007 Ralf Corsépius <rc040203@freenet.de> - 0.01-7 |
---|
| 89 | - Reflect perl package split. |
---|
| 90 | |
---|
| 91 | * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.01-6 |
---|
| 92 | - Mass rebuild. |
---|
| 93 | |
---|
| 94 | * Tue Feb 28 2006 Ralf Corsépius <rc040203@freenet.de> - 0.01-5 |
---|
| 95 | - Rebuild for perl-5.8.8. |
---|
| 96 | |
---|
| 97 | * Tue Aug 16 2005 Paul Howarth <paul@city-fan.org> - 0.01-4 |
---|
| 98 | - BR: perl redundant for Extras. |
---|
| 99 | |
---|
| 100 | * Sat Aug 13 2005 Ralf Corsepius <ralf@links2linux.de> - 0.01-3 |
---|
| 101 | - Spec cleanup. |
---|
| 102 | |
---|
| 103 | * Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.01-2 |
---|
| 104 | - FE re-submission. |
---|
| 105 | |
---|
| 106 | * Fri Jul 01 2005 Ralf Corsepius <ralf@links2linux.de> - 0.01-1 |
---|
| 107 | - FE submission. |
---|