c10-beta
imports/c10-beta/perl-Algorithm-Diff-1.2010-13.el10
commit
b029cf59b6
@ -0,0 +1 @@
|
|||||||
|
SOURCES/Algorithm-Diff-1.201.tar.gz
|
@ -0,0 +1 @@
|
|||||||
|
a915d868177ee3859eb835f0747fdea03a424b55 SOURCES/Algorithm-Diff-1.201.tar.gz
|
@ -0,0 +1,12 @@
|
|||||||
|
--- lib/Algorithm/DiffOld.pm
|
||||||
|
+++ lib/Algorithm/DiffOld.pm
|
||||||
|
@@ -2,8 +2,7 @@
|
||||||
|
# like versions <= 0.59 used to.
|
||||||
|
# $Revision: 1.3 $
|
||||||
|
|
||||||
|
-package # don't index
|
||||||
|
- Algorithm::DiffOld;
|
||||||
|
+package Algorithm::DiffOld;
|
||||||
|
use strict;
|
||||||
|
use vars qw($VERSION @EXPORT_OK @ISA @EXPORT);
|
||||||
|
use integer; # see below in _replaceNextLargerWith() for mod to make
|
@ -0,0 +1,273 @@
|
|||||||
|
%global upstream_version 1.201
|
||||||
|
%global extra_version 0
|
||||||
|
|
||||||
|
Name: perl-Algorithm-Diff
|
||||||
|
Version: %{upstream_version}%{?extra_version}
|
||||||
|
Release: 13%{?dist}
|
||||||
|
Summary: Compute 'intelligent' differences between two files/lists
|
||||||
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||||
|
URL: https://metacpan.org/release/Algorithm-Diff
|
||||||
|
Source0: https://cpan.metacpan.org/modules/by-module/Algorithm/Algorithm-Diff-%{upstream_version}.tar.gz
|
||||||
|
Patch0: Algorithm-Diff-1.1903-provides.patch
|
||||||
|
BuildArch: noarch
|
||||||
|
# Build:
|
||||||
|
BuildRequires: coreutils
|
||||||
|
BuildRequires: findutils
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl(Config)
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
# Run-time:
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(Exporter)
|
||||||
|
BuildRequires: perl(integer)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(vars)
|
||||||
|
# Tests:
|
||||||
|
BuildRequires: perl(Data::Dumper)
|
||||||
|
BuildRequires: perl(lib)
|
||||||
|
BuildRequires: perl(Test)
|
||||||
|
# Explicit requirements:
|
||||||
|
Requires: perl(Carp)
|
||||||
|
|
||||||
|
%description
|
||||||
|
This is a module for computing the difference between two files, two strings,
|
||||||
|
or any other two lists of things. It uses an intelligent algorithm similar to
|
||||||
|
(or identical to) the one used by the Unix "diff" program. It is guaranteed to
|
||||||
|
find the *smallest possible* set of differences.
|
||||||
|
|
||||||
|
%package tests
|
||||||
|
Summary: Tests for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
Requires: perl-Test-Harness
|
||||||
|
|
||||||
|
%description tests
|
||||||
|
Tests from %{name}. Execute them
|
||||||
|
with "%{_libexecdir}/%{name}/test".
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Algorithm-Diff-%{upstream_version}
|
||||||
|
|
||||||
|
# Generate provide for perl(Algorithm::DiffOld)
|
||||||
|
%patch -P0
|
||||||
|
|
||||||
|
# Help generators to recognize Perl scripts
|
||||||
|
for F in t/*.t; do
|
||||||
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
||||||
|
chmod +x "$F"
|
||||||
|
done
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
|
%{_fixperms} -c %{buildroot}
|
||||||
|
# Install tests
|
||||||
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||||
|
#!/bin/sh
|
||||||
|
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
EOF
|
||||||
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes README bin/*.pl
|
||||||
|
%{perl_vendorlib}/Algorithm/
|
||||||
|
%{_mandir}/man3/Algorithm::Diff.3*
|
||||||
|
%{_mandir}/man3/Algorithm::DiffOld.3*
|
||||||
|
|
||||||
|
%files tests
|
||||||
|
%{_libexecdir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Jun 25 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1.2010-13
|
||||||
|
- Package tests
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.2010-12
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2010-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2010-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2010-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2010-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2010-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.2010-6
|
||||||
|
- Perl 5.36 rebuild
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2010-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2010-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.2010-3
|
||||||
|
- Perl 5.34 rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2010-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Dec 14 2020 Paul Howarth <paul@city-fan.org> - 1.2010-1
|
||||||
|
- Update to 1.201
|
||||||
|
- Speed up LCS when $keyGen is undef (CPAN RT#101105)
|
||||||
|
|
||||||
|
* Mon Sep 28 2020 Paul Howarth <paul@city-fan.org> - 1.2000-1
|
||||||
|
- Update to 1.200
|
||||||
|
- New release with no new features, just preparing for a series of bugfix
|
||||||
|
releases
|
||||||
|
- Specify all build dependencies
|
||||||
|
- Drop redundant buildroot cleaning in %%install section
|
||||||
|
- Simplify find command using -delete
|
||||||
|
- Fix permissions verbosely
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-16
|
||||||
|
- Perl 5.32 rebuild
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-13
|
||||||
|
- Perl 5.30 rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-10
|
||||||
|
- Perl 5.28 rebuild
|
||||||
|
|
||||||
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-7
|
||||||
|
- Perl 5.26 rebuild
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-5
|
||||||
|
- Perl 5.24 rebuild
|
||||||
|
|
||||||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1903-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-2
|
||||||
|
- Perl 5.22 rebuild
|
||||||
|
|
||||||
|
* Thu Nov 27 2014 Paul Howarth <paul@city-fan.org> - 1.1903-1
|
||||||
|
- Update to 1.1903
|
||||||
|
- Fix documentation typos (CPAN RT#84981)
|
||||||
|
- Add -w and -i switches to diffnew.pl (CPAN RT#69945)
|
||||||
|
- Remove Algorithm::DiffOld from the index; the module is still distributed
|
||||||
|
with Algorithm::Diff, but is not indexed on CPAN because this is an
|
||||||
|
***UNAUTHORIZED*** release of Algorithm::DiffOld
|
||||||
|
- Add patch to generate provide for perl(Algorithm::DiffOld)
|
||||||
|
- Drop %%defattr, redundant since rpm 4.4
|
||||||
|
- General spec tidy-up
|
||||||
|
|
||||||
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.1902-21
|
||||||
|
- Perl 5.20 rebuild
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-20
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-19
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.1902-18
|
||||||
|
- Perl 5.18 rebuild
|
||||||
|
|
||||||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-16
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.1902-15
|
||||||
|
- Perl 5.16 rebuild
|
||||||
|
- Specify all dependencies
|
||||||
|
|
||||||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1902-13
|
||||||
|
- Perl mass rebuild
|
||||||
|
|
||||||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-11
|
||||||
|
- Rebuild to fix problems with vendorarch/lib (#661697)
|
||||||
|
|
||||||
|
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1902-10
|
||||||
|
- Mass rebuild with perl-5.12.0
|
||||||
|
|
||||||
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.1902-9
|
||||||
|
- rebuild against perl 5.10.1
|
||||||
|
|
||||||
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1902-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1902-6
|
||||||
|
- Rebuild for perl 5.10 (again)
|
||||||
|
|
||||||
|
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-5
|
||||||
|
- rebuild for new perl
|
||||||
|
|
||||||
|
* Thu Jan 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.1902-4
|
||||||
|
- fix license tag, rebuild for perl
|
||||||
|
|
||||||
|
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 1.1902-3
|
||||||
|
- Use fixperms macro instead of our own chmod incantation.
|
||||||
|
- BR ExtUtils::MakeMaker.
|
||||||
|
|
||||||
|
* Sun Sep 17 2006 Steven Pritchard <steve@kspei.com> 1.1902-2
|
||||||
|
- Rebuild.
|
||||||
|
|
||||||
|
* Sat Aug 05 2006 Steven Pritchard <steve@kspei.com> 1.1902-1
|
||||||
|
- Update to 1.1902.
|
||||||
|
- Minor spec cleanup to match current template/cpanspec output.
|
||||||
|
|
||||||
|
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.1901-1
|
||||||
|
- Updated to 1.1901.
|
||||||
|
|
||||||
|
* Sat Sep 03 2005 Steven Pritchard <steve@kspei.com> 1.15-2
|
||||||
|
- Move example files to %%doc.
|
||||||
|
|
||||||
|
* Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 1.15-1
|
||||||
|
- Specfile autogenerated.
|
Loading…
Reference in new issue