1 | Name: perl-Text-Diff |
---|
2 | Version: 1.41 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Perform diffs on files and record sets |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Text-Diff/ |
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Text-Diff-%{version}.tar.gz |
---|
9 | |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildArch: noarch |
---|
12 | BuildRequires: perl(constant) |
---|
13 | BuildRequires: perl(Algorithm::Diff) |
---|
14 | BuildRequires: perl(Carp) |
---|
15 | BuildRequires: perl(Data::Dumper) |
---|
16 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
17 | BuildRequires: perl(Exporter) |
---|
18 | BuildRequires: perl(IO::File) |
---|
19 | BuildRequires: perl(Test) |
---|
20 | BuildRequires: perl(Test::More) |
---|
21 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
22 | |
---|
23 | %{?perl_default_filter} |
---|
24 | |
---|
25 | %description |
---|
26 | Text::Diff provides a basic set of services akin to the GNU diff utility. |
---|
27 | It is not anywhere near as feature complete as GNU diff, but it is better |
---|
28 | integrated with Perl and available on all platforms. It is often faster |
---|
29 | than shelling out to a system's diff executable for small files, and |
---|
30 | generally slower on larger files. |
---|
31 | |
---|
32 | %prep |
---|
33 | %setup -q -n Text-Diff-%{version} |
---|
34 | |
---|
35 | %build |
---|
36 | perl Makefile.PL INSTALLDIRS=vendor |
---|
37 | make %{?_smp_mflags} |
---|
38 | |
---|
39 | %install |
---|
40 | rm -rf %{buildroot} |
---|
41 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
42 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
43 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
44 | %{_fixperms} %{buildroot}/* |
---|
45 | |
---|
46 | %check |
---|
47 | make test |
---|
48 | |
---|
49 | %clean |
---|
50 | rm -rf %{buildroot} |
---|
51 | |
---|
52 | %files |
---|
53 | %doc Changes LICENSE README |
---|
54 | %{perl_vendorlib}/* |
---|
55 | %{_mandir}/man3/* |
---|
56 | |
---|
57 | %changelog |
---|
58 | * Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.41-2 |
---|
59 | - rebuilt with perl 5.16.3 |
---|
60 | |
---|
61 | * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.41-1 |
---|
62 | - initial build for Vine Linux |
---|
63 | |
---|
64 | * Fri Jan 27 2012 Petr Šabata <contyk@redhat.com> - 1.41-1 |
---|
65 | - 1.41 bump, spec modernization and cleanup |
---|
66 | - Update Source URL |
---|
67 | |
---|
68 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-8 |
---|
69 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
70 | |
---|
71 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.37-7 |
---|
72 | - Perl mass rebuild |
---|
73 | |
---|
74 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-6 |
---|
75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
76 | |
---|
77 | * Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.37-5 |
---|
78 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
79 | |
---|
80 | * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.37-4 |
---|
81 | - Mass rebuild with perl-5.12.0 |
---|
82 | |
---|
83 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.37-3 |
---|
84 | - rebuild against perl 5.10.1 |
---|
85 | |
---|
86 | * Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.37-2 |
---|
87 | - add Test::More as a BR (rt#50040) |
---|
88 | |
---|
89 | * Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.37-1 |
---|
90 | - add filtering |
---|
91 | - auto-update to 1.37 (by cpan-spec-update 0.01) |
---|
92 | - altered br on perl(Algorithm::Diff) (0 => 1.19) |
---|
93 | - added a new br on perl(Exporter) (version 0) |
---|
94 | - added a new br on perl(Test) (version 0) |
---|
95 | |
---|
96 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-8 |
---|
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.35-7 |
---|
100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
101 | |
---|
102 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.35-6 |
---|
103 | - Rebuild for perl 5.10 (again) |
---|
104 | |
---|
105 | * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.35-5 |
---|
106 | - rebuild for new perl |
---|
107 | |
---|
108 | * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.35-4 |
---|
109 | - Use fixperms macro instead of our own chmod incantation. |
---|
110 | - BR ExtUtils::MakeMaker. |
---|
111 | |
---|
112 | * Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.35-3 |
---|
113 | - Improve Summary, description, and Source0 URL. |
---|
114 | - Fix find option ordering. |
---|
115 | - Don't generate license texts. |
---|
116 | |
---|
117 | * Fri Sep 16 2005 Steven Pritchard <steve@kspei.com> 0.35-2 |
---|
118 | - Minor spec cleanup. |
---|
119 | |
---|
120 | * Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 0.35-1 |
---|
121 | - Specfile autogenerated. |
---|