|
|
45c377 |
Name: perl-Algorithm-Diff
|
|
|
45c377 |
Version: 1.1903
|
|
|
7d4713 |
Release: 10%{?dist}
|
|
|
45c377 |
Summary: Compute `intelligent' differences between two files/lists
|
|
|
45c377 |
License: GPL+ or Artistic
|
|
|
45c377 |
Group: Development/Libraries
|
|
|
45c377 |
URL: http://search.cpan.org/dist/Algorithm-Diff/
|
|
|
45c377 |
Source0: http://www.cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-%{version}.tar.gz
|
|
|
45c377 |
Patch0: Algorithm-Diff-1.1903-provides.patch
|
|
|
45c377 |
BuildArch: noarch
|
|
|
45c377 |
# Build:
|
|
|
45c377 |
BuildRequires: perl-interpreter
|
|
|
45c377 |
BuildRequires: perl-generators
|
|
|
45c377 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
45c377 |
# Run-time:
|
|
|
45c377 |
BuildRequires: perl(Carp)
|
|
|
45c377 |
BuildRequires: perl(Exporter)
|
|
|
45c377 |
BuildRequires: perl(integer)
|
|
|
45c377 |
BuildRequires: perl(strict)
|
|
|
45c377 |
BuildRequires: perl(vars)
|
|
|
45c377 |
# Tests:
|
|
|
45c377 |
BuildRequires: perl(Data::Dumper)
|
|
|
45c377 |
BuildRequires: perl(lib)
|
|
|
45c377 |
BuildRequires: perl(Test)
|
|
|
45c377 |
# Explicit requirements:
|
|
|
45c377 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
45c377 |
Requires: perl(Carp)
|
|
|
45c377 |
|
|
|
45c377 |
%description
|
|
|
45c377 |
This is a module for computing the difference between two files, two strings,
|
|
|
45c377 |
or any other two lists of things. It uses an intelligent algorithm similar to
|
|
|
45c377 |
(or identical to) the one used by the Unix "diff" program. It is guaranteed to
|
|
|
45c377 |
find the *smallest possible* set of differences.
|
|
|
45c377 |
|
|
|
45c377 |
%prep
|
|
|
45c377 |
%setup -q -n Algorithm-Diff-%{version}
|
|
|
45c377 |
|
|
|
45c377 |
# Generate provide for perl(Algorithm::DiffOld)
|
|
|
45c377 |
%patch0
|
|
|
45c377 |
|
|
|
45c377 |
%build
|
|
|
45c377 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
45c377 |
make %{?_smp_mflags}
|
|
|
45c377 |
|
|
|
45c377 |
%install
|
|
|
45c377 |
rm -rf %{buildroot}
|
|
|
45c377 |
make pure_install DESTDIR=%{buildroot}
|
|
|
45c377 |
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
45c377 |
%{_fixperms} %{buildroot}
|
|
|
45c377 |
|
|
|
45c377 |
# Remove example scripts we're shipping as documentation
|
|
|
45c377 |
rm -f %{buildroot}%{perl_vendorlib}/Algorithm/*.pl
|
|
|
45c377 |
|
|
|
45c377 |
%check
|
|
|
45c377 |
make test
|
|
|
45c377 |
|
|
|
45c377 |
%files
|
|
|
45c377 |
%doc Changes README *.pl
|
|
|
45c377 |
%{perl_vendorlib}/Algorithm/
|
|
|
45c377 |
%{_mandir}/man3/Algorithm::Diff.3*
|
|
|
45c377 |
%{_mandir}/man3/Algorithm::DiffOld.3*
|
|
|
45c377 |
|
|
|
45c377 |
%changelog
|
|
|
7d4713 |
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-10
|
|
|
7d4713 |
- Rebuild with enable hardening (bug #1636329)
|
|
|
7d4713 |
|
|
|
45c377 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-9
|
|
|
45c377 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-8
|
|
|
45c377 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-7
|
|
|
45c377 |
- Perl 5.26 rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-6
|
|
|
45c377 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-5
|
|
|
45c377 |
- Perl 5.24 rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-4
|
|
|
45c377 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1903-3
|
|
|
45c377 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-2
|
|
|
45c377 |
- Perl 5.22 rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Thu Nov 27 2014 Paul Howarth <paul@city-fan.org> - 1.1903-1
|
|
|
45c377 |
- Update to 1.1903
|
|
|
45c377 |
- Fix documentation typos (CPAN RT#84981)
|
|
|
45c377 |
- Add -w and -i switches to diffnew.pl (CPAN RT#69945)
|
|
|
45c377 |
- Remove Algorithm::DiffOld from the index; the module is still distributed
|
|
|
45c377 |
with Algorithm::Diff, but is not indexed on CPAN because this is an
|
|
|
45c377 |
***UNAUTHORIZED*** release of Algorithm::DiffOld
|
|
|
45c377 |
- Add patch to generate provide for perl(Algorithm::DiffOld)
|
|
|
45c377 |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
45c377 |
- General spec tidy-up
|
|
|
45c377 |
|
|
|
45c377 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.1902-21
|
|
|
45c377 |
- Perl 5.20 rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-20
|
|
|
45c377 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-19
|
|
|
45c377 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.1902-18
|
|
|
45c377 |
- Perl 5.18 rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-17
|
|
|
45c377 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-16
|
|
|
45c377 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.1902-15
|
|
|
45c377 |
- Perl 5.16 rebuild
|
|
|
45c377 |
- Specify all dependencies
|
|
|
45c377 |
|
|
|
45c377 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-14
|
|
|
45c377 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1902-13
|
|
|
45c377 |
- Perl mass rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-12
|
|
|
45c377 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-11
|
|
|
45c377 |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
45c377 |
|
|
|
45c377 |
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-10
|
|
|
45c377 |
- Mass rebuild with perl-5.12.0
|
|
|
45c377 |
|
|
|
45c377 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.1902-9
|
|
|
45c377 |
- rebuild against perl 5.10.1
|
|
|
45c377 |
|
|
|
45c377 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-8
|
|
|
45c377 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-7
|
|
|
45c377 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
45c377 |
|
|
|
45c377 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1902-6
|
|
|
45c377 |
- Rebuild for perl 5.10 (again)
|
|
|
45c377 |
|
|
|
45c377 |
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-5
|
|
|
45c377 |
- rebuild for new perl
|
|
|
45c377 |
|
|
|
45c377 |
* Thu Jan 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-4
|
|
|
45c377 |
- fix license tag, rebuild for perl
|
|
|
45c377 |
|
|
|
45c377 |
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 1.1902-3
|
|
|
45c377 |
- Use fixperms macro instead of our own chmod incantation.
|
|
|
45c377 |
- BR ExtUtils::MakeMaker.
|
|
|
45c377 |
|
|
|
45c377 |
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 1.1902-2
|
|
|
45c377 |
- Rebuild.
|
|
|
45c377 |
|
|
|
45c377 |
* Sat Aug 05 2006 Steven Pritchard <steve@kspei.com> 1.1902-1
|
|
|
45c377 |
- Update to 1.1902.
|
|
|
45c377 |
- Minor spec cleanup to match current template/cpanspec output.
|
|
|
45c377 |
|
|
|
45c377 |
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.1901-1
|
|
|
45c377 |
- Updated to 1.1901.
|
|
|
45c377 |
|
|
|
45c377 |
* Sat Sep 03 2005 Steven Pritchard <steve@kspei.com> 1.15-2
|
|
|
45c377 |
- Move example files to %%doc.
|
|
|
45c377 |
|
|
|
45c377 |
* Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 1.15-1
|
|
|
45c377 |
- Specfile autogenerated.
|