Update to 0.23

- New upstream release 0.23
  - Added wrapper for CRC-SAE-J1850
- Use author-independent source URL
- Use %{make_build} and %{make_install}
This commit is contained in:
Paul Howarth 2021-04-15 13:51:54 +01:00
parent 1caaa90104
commit b2c360cb39
3 changed files with 18 additions and 10 deletions

3
.gitignore vendored
View File

@ -1,4 +1,4 @@
Digest-CRC-0.14.tar.gz
/Digest-CRC-0.14.tar.gz
/Digest-CRC-0.16.tar.gz
/Digest-CRC-0.17.tar.gz
/Digest-CRC-0.18.tar.gz
@ -6,3 +6,4 @@ Digest-CRC-0.14.tar.gz
/Digest-CRC-0.21.tar.gz
/Digest-CRC-0.22.1.tar.gz
/Digest-CRC-0.22.2.tar.gz
/Digest-CRC-0.23.tar.gz

View File

@ -1,18 +1,18 @@
Name: perl-Digest-CRC
Version: 0.22.2
Release: 14%{?dist}
Version: 0.23
Release: 1%{?dist}
Summary: Generic CRC functions
License: Public Domain
URL: https://metacpan.org/release/Digest-CRC
Source0: https://cpan.metacpan.org/authors/id/O/OL/OLIMAUL/Digest-CRC-%{version}.tar.gz
Source0: https://cpan.metacpan.org/modules/by-module/Digest/Digest-CRC-%{version}.tar.gz
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Runtime
@ -30,18 +30,19 @@ Requires: perl(Symbol)
%description
The Digest::CRC module calculates CRC sums of all sorts. It contains wrapper
functions with the correct parameters for CRC-CCITT, CRC-16 and CRC-32.
functions with the correct parameters for CRC-SAE-J1850, CRC-CCITT, CRC-16 and
CRC-32.
%prep
%setup -qn Digest-CRC-0.22
%setup -qn Digest-CRC-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" \
NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags}
%{make_build}
%install
make install DESTDIR=%{buildroot}
%{make_install}
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot}
@ -55,6 +56,12 @@ make test TEST_VERBOSE=1
%{_mandir}/man3/Digest::CRC.3*
%changelog
* Thu Apr 15 2021 Paul Howarth <paul@city-fan.org> - 0.23-1
- Updated to 0.23
- Added wrapper for CRC-SAE-J1850
- Use author-independent source URL
- Use %%{make_build} and %%{make_install}
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.2-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (Digest-CRC-0.22.2.tar.gz) = 983dfb3a39ca054819906bd67251f0e275a55d4ab1873146a8bbe36dee3d979e67a36f3fc53ce18608873a1c68ba30d6de8c59b58ae57a7e36e6816551752875
SHA512 (Digest-CRC-0.23.tar.gz) = b92e40bf717882b0e694c6552a88f13ac92a569e4484eedfdfc57b7fe867e29a81e228d00c29e9e4ba120cb9e0ca4d10db12cad5af185893ebcd89b1be87d2c1