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
|
Name: perl-Algorithm-Diff
|
||||||
Version: 1.1903
|
Version: %{upstream_version}%{?extra_version}
|
||||||
Release: 17%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Compute `intelligent' differences between two files/lists
|
Summary: Compute 'intelligent' differences between two files/lists
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: https://metacpan.org/release/Algorithm-Diff
|
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
|
Patch0: Algorithm-Diff-1.1903-provides.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Build:
|
# Build:
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: coreutils
|
||||||
|
BuildRequires: findutils
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
# Run-time:
|
# Run-time:
|
||||||
BuildRequires: perl(Carp)
|
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.
|
find the *smallest possible* set of differences.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Algorithm-Diff-%{version}
|
%setup -q -n Algorithm-Diff-%{upstream_version}
|
||||||
|
|
||||||
# Generate provide for perl(Algorithm::DiffOld)
|
# Generate provide for perl(Algorithm::DiffOld)
|
||||||
%patch0
|
%patch0
|
||||||
@ -42,10 +48,9 @@ perl Makefile.PL INSTALLDIRS=vendor
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} -c %{buildroot}
|
||||||
|
|
||||||
# Remove example scripts we're shipping as documentation
|
# Remove example scripts we're shipping as documentation
|
||||||
rm -f %{buildroot}%{perl_vendorlib}/Algorithm/*.pl
|
rm -f %{buildroot}%{perl_vendorlib}/Algorithm/*.pl
|
||||||
@ -60,6 +65,15 @@ make test
|
|||||||
%{_mandir}/man3/Algorithm::DiffOld.3*
|
%{_mandir}/man3/Algorithm::DiffOld.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1903-17
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user