113 lines
3.7 KiB
RPMSpec
113 lines
3.7 KiB
RPMSpec
Name: perl-Text-Diff
|
|
Version: 1.41
|
|
Release: 2%{?dist}
|
|
Summary: Perform diffs on files and record sets
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Text-Diff/
|
|
Source0: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Text-Diff-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: perl(constant)
|
|
BuildRequires: perl(Algorithm::Diff)
|
|
BuildRequires: perl(Carp)
|
|
BuildRequires: perl(Data::Dumper)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Exporter)
|
|
BuildRequires: perl(IO::File)
|
|
BuildRequires: perl(Test)
|
|
BuildRequires: perl(Test::More)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%description
|
|
Text::Diff provides a basic set of services akin to the GNU diff utility.
|
|
It is not anywhere near as feature complete as GNU diff, but it is better
|
|
integrated with Perl and available on all platforms. It is often faster
|
|
than shelling out to a system's diff executable for small files, and
|
|
generally slower on larger files.
|
|
|
|
%prep
|
|
%setup -q -n Text-Diff-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%doc Changes LICENSE README
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.41-2
|
|
- Perl 5.16 rebuild
|
|
|
|
* Fri Jan 27 2012 Petr Šabata <contyk@redhat.com> - 1.41-1
|
|
- 1.41 bump, spec modernization and cleanup
|
|
- Update Source URL
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.37-7
|
|
- Perl mass rebuild
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.37-5
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.37-4
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.37-3
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.37-2
|
|
- add Test::More as a BR (rt#50040)
|
|
|
|
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.37-1
|
|
- add filtering
|
|
- auto-update to 1.37 (by cpan-spec-update 0.01)
|
|
- altered br on perl(Algorithm::Diff) (0 => 1.19)
|
|
- added a new br on perl(Exporter) (version 0)
|
|
- added a new br on perl(Test) (version 0)
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.35-6
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.35-5
|
|
- rebuild for new perl
|
|
|
|
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.35-4
|
|
- Use fixperms macro instead of our own chmod incantation.
|
|
- BR ExtUtils::MakeMaker.
|
|
|
|
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.35-3
|
|
- Improve Summary, description, and Source0 URL.
|
|
- Fix find option ordering.
|
|
- Don't generate license texts.
|
|
|
|
* Fri Sep 16 2005 Steven Pritchard <steve@kspei.com> 0.35-2
|
|
- Minor spec cleanup.
|
|
|
|
* Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 0.35-1
|
|
- Specfile autogenerated.
|