Skip to content

Commit

Permalink
Upgarde: perl-Algorithm-Diff version to 1.201 (#11521)
Browse files Browse the repository at this point in the history
  • Loading branch information
jykanase authored Feb 6, 2025
1 parent 923c599 commit 7012425
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"perl-Algorithm-Diff-1.1903.tar.gz": "30e84ac4b31d40b66293f7b1221331c5a50561a39d580d85004d9c1fff991751"
"perl-Algorithm-Diff-1.201.tar.gz": "0022da5982645d9ef0207f3eb9ef63e70e9713ed2340ed7b3850779b0d842a7d"
}
}
}
92 changes: 72 additions & 20 deletions SPECS-EXTENDED/perl-Algorithm-Diff/perl-Algorithm-Diff.spec
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
%global upstream_version 1.201
%global extra_version 0

Name: perl-Algorithm-Diff
Version: 1.1903
Release: 16%{?dist}
Summary: Compute `intelligent' differences between two files/lists
License: GPL+ or Artistic
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
Vendor: Microsoft Corporation
Distribution: Azure Linux
URL: https://metacpan.org/release/Algorithm-Diff
Source0: https://cpan.metacpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-%{version}.tar.gz#/perl-Algorithm-Diff-%{version}.tar.gz
Source0: https://cpan.metacpan.org/modules/by-module/Algorithm/Algorithm-Diff-%{upstream_version}.tar.gz#/perl-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)
Expand All @@ -24,7 +31,6 @@ BuildRequires: perl(Data::Dumper)
BuildRequires: perl(lib)
BuildRequires: perl(Test)
# Explicit requirements:
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp)

%description
Expand All @@ -34,36 +40,82 @@ 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}

# Generate provide for perl(Algorithm::DiffOld)
%patch 0
%autosetup -p0 -n Algorithm-Diff-%{upstream_version}

%build
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 Oct 15 2021 Pawel Winogrodzki <[email protected]> - 1.1903-16
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
* Wed Dec 18 2024 Jyoti kanase <[email protected]> - 1.2010 - 13
- Initial Azure Linux import from Fedora 41 (license: MIT).
- License verified.

* Thu Jul 18 2024 Fedora Release Engineering <[email protected]> - 1.2010-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

* Thu Jan 25 2024 Fedora Release Engineering <[email protected]> - 1.2010-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Sun Jan 21 2024 Fedora Release Engineering <[email protected]> - 1.2010-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Thu Jul 20 2023 Fedora Release Engineering <[email protected]> - 1.2010-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

* Thu Jan 19 2023 Fedora Release Engineering <[email protected]> - 1.2010-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Fri Jul 22 2022 Fedora Release Engineering <[email protected]> - 1.2010-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Mon May 30 2022 Jitka Plesnikova <[email protected]> - 1.2010-6
- Perl 5.36 rebuild

* Thu Jan 20 2022 Fedora Release Engineering <[email protected]> - 1.2010-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Thu Jul 22 2021 Fedora Release Engineering <[email protected]> - 1.2010-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Fri May 21 2021 Jitka Plesnikova <[email protected]> - 1.2010-3
- Perl 5.34 rebuild

* Tue Jan 26 2021 Fedora Release Engineering <[email protected]> - 1.2010-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Mon Dec 14 2020 Paul Howarth <[email protected]> - 1.2010-1
- Update to 1.201
- Speed up LCS when $keyGen is undef (CPAN RT#101105)

* Mon Sep 28 2020 Paul Howarth <[email protected]> - 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 <[email protected]> - 1.1903-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Mon Jun 22 2020 Jitka Plesnikova <[email protected]> - 1.1903-16
- Perl 5.32 rebuild

* Wed Jan 29 2020 Fedora Release Engineering <[email protected]> - 1.1903-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15903,8 +15903,8 @@
"type": "other",
"other": {
"name": "perl-Algorithm-Diff",
"version": "1.1903",
"downloadUrl": "https://cpan.metacpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-1.1903.tar.gz"
"version": "1.2010",
"downloadUrl": "https://cpan.metacpan.org/modules/by-module/Algorithm/Algorithm-Diff-1.201.tar.gz"
}
}
},
Expand Down

0 comments on commit 7012425

Please sign in to comment.