Compare commits

...

No commits in common. "c8-stream-5.3" and "c9" have entirely different histories.

3 changed files with 65 additions and 19 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/Algorithm-Diff-1.1903.tar.gz
SOURCES/Algorithm-Diff-1.201.tar.gz

View File

@ -1 +1 @@
16b50ac7d83c6cb92d1996785e3496ba0a2cce95 SOURCES/Algorithm-Diff-1.1903.tar.gz
a915d868177ee3859eb835f0747fdea03a424b55 SOURCES/Algorithm-Diff-1.201.tar.gz

View File

@ -1,17 +1,23 @@
%global upstream_version 1.201
%global extra_version 0
Name: perl-Algorithm-Diff
Version: 1.1903
Release: 10%{?dist}
Summary: Compute `intelligent' differences between two files/lists
Version: %{upstream_version}%{?extra_version}
Release: 4%{?dist}
Summary: Compute 'intelligent' differences between two files/lists
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Algorithm-Diff/
Source0: http://www.cpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-%{version}.tar.gz
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: perl-interpreter
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
@ -33,7 +39,7 @@ or any other two lists of things. It uses an intelligent algorithm similar to
find the *smallest possible* set of differences.
%prep
%setup -q -n Algorithm-Diff-%{version}
%setup -q -n Algorithm-Diff-%{upstream_version}
# Generate provide for perl(Algorithm::DiffOld)
%patch0
@ -43,26 +49,66 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}
# Remove example scripts we're shipping as documentation
rm -f %{buildroot}%{perl_vendorlib}/Algorithm/*.pl
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%doc Changes README *.pl
%doc Changes README bin/*.pl
%{perl_vendorlib}/Algorithm/
%{_mandir}/man3/Algorithm::Diff.3*
%{_mandir}/man3/Algorithm::DiffOld.3*
%changelog
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.1903-10
- Rebuild with enable hardening (bug #1636329)
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2010-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2010-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* 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