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
This commit is contained in:
parent
3d22ff9f07
commit
bf7d20d6ae
@ -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 <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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user