|
|
3148a6 |
%global upstream_version 1.201
|
|
|
3148a6 |
%global extra_version 0
|
|
|
3148a6 |
|
|
|
3148a6 |
Name: perl-Algorithm-Diff
|
|
|
3148a6 |
Version: %{upstream_version}%{?extra_version}
|
|
|
3148a6 |
Release: 4%{?dist}
|
|
|
3148a6 |
Summary: Compute 'intelligent' differences between two files/lists
|
|
|
3148a6 |
License: GPL+ or Artistic
|
|
|
3148a6 |
URL: https://metacpan.org/release/Algorithm-Diff
|
|
|
3148a6 |
Source0: https://cpan.metacpan.org/modules/by-module/Algorithm/Algorithm-Diff-%{upstream_version}.tar.gz
|
|
|
3148a6 |
Patch0: Algorithm-Diff-1.1903-provides.patch
|
|
|
3148a6 |
BuildArch: noarch
|
|
|
3148a6 |
# Build:
|
|
|
3148a6 |
BuildRequires: coreutils
|
|
|
3148a6 |
BuildRequires: findutils
|
|
|
3148a6 |
BuildRequires: make
|
|
|
3148a6 |
BuildRequires: perl-generators
|
|
|
3148a6 |
BuildRequires: perl-interpreter
|
|
|
3148a6 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
3148a6 |
BuildRequires: perl(warnings)
|
|
|
3148a6 |
# Run-time:
|
|
|
3148a6 |
BuildRequires: perl(Carp)
|
|
|
3148a6 |
BuildRequires: perl(Exporter)
|
|
|
3148a6 |
BuildRequires: perl(integer)
|
|
|
3148a6 |
BuildRequires: perl(strict)
|
|
|
3148a6 |
BuildRequires: perl(vars)
|
|
|
3148a6 |
# Tests:
|
|
|
3148a6 |
BuildRequires: perl(Data::Dumper)
|
|
|
3148a6 |
BuildRequires: perl(lib)
|
|
|
3148a6 |
BuildRequires: perl(Test)
|
|
|
3148a6 |
# Explicit requirements:
|
|
|
3148a6 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
3148a6 |
Requires: perl(Carp)
|
|
|
3148a6 |
|
|
|
3148a6 |
%description
|
|
|
3148a6 |
This is a module for computing the difference between two files, two strings,
|
|
|
3148a6 |
or any other two lists of things. It uses an intelligent algorithm similar to
|
|
|
3148a6 |
(or identical to) the one used by the Unix "diff" program. It is guaranteed to
|
|
|
3148a6 |
find the *smallest possible* set of differences.
|
|
|
3148a6 |
|
|
|
3148a6 |
%prep
|
|
|
3148a6 |
%setup -q -n Algorithm-Diff-%{upstream_version}
|
|
|
3148a6 |
|
|
|
3148a6 |
# Generate provide for perl(Algorithm::DiffOld)
|
|
|
3148a6 |
%patch0
|
|
|
3148a6 |
|
|
|
3148a6 |
%build
|
|
|
3148a6 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
3148a6 |
make %{?_smp_mflags}
|
|
|
3148a6 |
|
|
|
3148a6 |
%install
|
|
|
3148a6 |
make pure_install DESTDIR=%{buildroot}
|
|
|
3148a6 |
find %{buildroot} -type f -name .packlist -delete
|
|
|
3148a6 |
%{_fixperms} -c %{buildroot}
|
|
|
3148a6 |
|
|
|
3148a6 |
%check
|
|
|
3148a6 |
make test
|
|
|
3148a6 |
|
|
|
3148a6 |
%files
|
|
|
3148a6 |
%doc Changes README bin/*.pl
|
|
|
3148a6 |
%{perl_vendorlib}/Algorithm/
|
|
|
3148a6 |
%{_mandir}/man3/Algorithm::Diff.3*
|
|
|
3148a6 |
%{_mandir}/man3/Algorithm::DiffOld.3*
|
|
|
3148a6 |
|
|
|
3148a6 |
%changelog
|
|
|
3148a6 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2010-4
|
|
|
3148a6 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
3148a6 |
Related: rhbz#1991688
|
|
|
3148a6 |
|
|
|
3148a6 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2010-3
|
|
|
3148a6 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
3148a6 |
|
|
|
3148a6 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2010-2
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Mon Dec 14 2020 Paul Howarth <paul@city-fan.org> - 1.2010-1
|
|
|
3148a6 |
- Update to 1.201
|
|
|
3148a6 |
- Speed up LCS when $keyGen is undef (CPAN RT#101105)
|
|
|
3148a6 |
|
|
|
3148a6 |
* Mon Sep 28 2020 Paul Howarth <paul@city-fan.org> - 1.2000-1
|
|
|
3148a6 |
- Update to 1.200
|
|
|
3148a6 |
- New release with no new features, just preparing for a series of bugfix
|
|
|
3148a6 |
releases
|
|
|
3148a6 |
- Specify all build dependencies
|
|
|
3148a6 |
- Drop redundant buildroot cleaning in %%install section
|
|
|
3148a6 |
- Simplify find command using -delete
|
|
|
3148a6 |
- Fix permissions verbosely
|
|
|
3148a6 |
|
|
|
3148a6 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-17
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-16
|
|
|
3148a6 |
- Perl 5.32 rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-15
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-14
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-13
|
|
|
3148a6 |
- Perl 5.30 rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-12
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-11
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-10
|
|
|
3148a6 |
- Perl 5.28 rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-9
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-8
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-7
|
|
|
3148a6 |
- Perl 5.26 rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-6
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-5
|
|
|
3148a6 |
- Perl 5.24 rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-4
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1903-3
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-2
|
|
|
3148a6 |
- Perl 5.22 rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Thu Nov 27 2014 Paul Howarth <paul@city-fan.org> - 1.1903-1
|
|
|
3148a6 |
- Update to 1.1903
|
|
|
3148a6 |
- Fix documentation typos (CPAN RT#84981)
|
|
|
3148a6 |
- Add -w and -i switches to diffnew.pl (CPAN RT#69945)
|
|
|
3148a6 |
- Remove Algorithm::DiffOld from the index; the module is still distributed
|
|
|
3148a6 |
with Algorithm::Diff, but is not indexed on CPAN because this is an
|
|
|
3148a6 |
***UNAUTHORIZED*** release of Algorithm::DiffOld
|
|
|
3148a6 |
- Add patch to generate provide for perl(Algorithm::DiffOld)
|
|
|
3148a6 |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
3148a6 |
- General spec tidy-up
|
|
|
3148a6 |
|
|
|
3148a6 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.1902-21
|
|
|
3148a6 |
- Perl 5.20 rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-20
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-19
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.1902-18
|
|
|
3148a6 |
- Perl 5.18 rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-17
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-16
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.1902-15
|
|
|
3148a6 |
- Perl 5.16 rebuild
|
|
|
3148a6 |
- Specify all dependencies
|
|
|
3148a6 |
|
|
|
3148a6 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-14
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1902-13
|
|
|
3148a6 |
- Perl mass rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-12
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-11
|
|
|
3148a6 |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
3148a6 |
|
|
|
3148a6 |
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-10
|
|
|
3148a6 |
- Mass rebuild with perl-5.12.0
|
|
|
3148a6 |
|
|
|
3148a6 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.1902-9
|
|
|
3148a6 |
- rebuild against perl 5.10.1
|
|
|
3148a6 |
|
|
|
3148a6 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-8
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-7
|
|
|
3148a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
3148a6 |
|
|
|
3148a6 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1902-6
|
|
|
3148a6 |
- Rebuild for perl 5.10 (again)
|
|
|
3148a6 |
|
|
|
3148a6 |
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-5
|
|
|
3148a6 |
- rebuild for new perl
|
|
|
3148a6 |
|
|
|
3148a6 |
* Thu Jan 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-4
|
|
|
3148a6 |
- fix license tag, rebuild for perl
|
|
|
3148a6 |
|
|
|
3148a6 |
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 1.1902-3
|
|
|
3148a6 |
- Use fixperms macro instead of our own chmod incantation.
|
|
|
3148a6 |
- BR ExtUtils::MakeMaker.
|
|
|
3148a6 |
|
|
|
3148a6 |
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 1.1902-2
|
|
|
3148a6 |
- Rebuild.
|
|
|
3148a6 |
|
|
|
3148a6 |
* Sat Aug 05 2006 Steven Pritchard <steve@kspei.com> 1.1902-1
|
|
|
3148a6 |
- Update to 1.1902.
|
|
|
3148a6 |
- Minor spec cleanup to match current template/cpanspec output.
|
|
|
3148a6 |
|
|
|
3148a6 |
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.1901-1
|
|
|
3148a6 |
- Updated to 1.1901.
|
|
|
3148a6 |
|
|
|
3148a6 |
* Sat Sep 03 2005 Steven Pritchard <steve@kspei.com> 1.15-2
|
|
|
3148a6 |
- Move example files to %%doc.
|
|
|
3148a6 |
|
|
|
3148a6 |
* Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 1.15-1
|
|
|
3148a6 |
- Specfile autogenerated.
|