From bf7d20d6ae7b389502974efa4e440e6f70adce14 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 28 Sep 2020 08:57:28 +0100 Subject: [PATCH] Update to 1.200 - New upstream release 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 --- perl-Algorithm-Diff.spec | 32 +++++++++++++++++++++++--------- sources | 2 +- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/perl-Algorithm-Diff.spec b/perl-Algorithm-Diff.spec index 706ef5a..b80e68c 100644 --- a/perl-Algorithm-Diff.spec +++ b/perl-Algorithm-Diff.spec @@ -1,15 +1,21 @@ +%global upstream_version 1.200 +%global extra_version 0 + Name: perl-Algorithm-Diff -Version: 1.1903 -Release: 17%{?dist} -Summary: Compute `intelligent' differences between two files/lists +Version: %{upstream_version}%{?extra_version} +Release: 1%{?dist} +Summary: Compute 'intelligent' differences between two files/lists License: GPL+ or Artistic URL: https://metacpan.org/release/Algorithm-Diff -Source0: https://cpan.metacpan.org/authors/id/T/TY/TYEMQ/Algorithm-Diff-%{version}.tar.gz +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) # Run-time: BuildRequires: perl(Carp) @@ -32,7 +38,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 @@ -42,10 +48,9 @@ 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} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} # Remove example scripts we're shipping as documentation rm -f %{buildroot}%{perl_vendorlib}/Algorithm/*.pl @@ -60,6 +65,15 @@ make test %{_mandir}/man3/Algorithm::DiffOld.3* %changelog +* Mon Sep 28 2020 Paul Howarth - 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 - 1.1903-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 7ef1381..fff0f9f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0e8add21a641b8d66436df0c2024bf3b Algorithm-Diff-1.1903.tar.gz +SHA512 (Algorithm-Diff-1.200.tar.gz) = ce94d3d11506e8050cf4ae439abfd9da1ece09819c97ac1fba0022dfe4f7eb79a0cae2a380eeacd4d0526c6309ea5582d5ea9903b4df72a1652827309496b39d