forked from pool/perl-Digest-CRC
Compare commits
22 Commits
Author | SHA256 | Date | |
---|---|---|---|
ea4339e93b | |||
7fe8fa729e | |||
97dc3b13d9 | |||
|
7f55c43b6b | ||
f4e49cd8cd | |||
6ae8e0ebfb | |||
b92f60de3b | |||
|
f77905ba12 | ||
|
b659eb3f5e | ||
9e3da18ef7 | |||
|
a91758a3b5 | ||
32eff9c0f3 | |||
81bbb9d57e | |||
|
23559d4cd1 | ||
85429ff9f6 | |||
7a0d67a0e1 | |||
1ae5776113 | |||
403df72592 | |||
d316d50de8 | |||
5adefa8c29 | |||
c78ffc35b7 | |||
|
a39d8466c9 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:719ba573460f092db3952271c04b42b93d77e342ac9209efc011cb31e10ed029
|
|
||||||
size 7264
|
|
3
Digest-CRC-0.24.tar.gz
Normal file
3
Digest-CRC-0.24.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ba022a05b1adbec73712c46f233d8489fe13a1b9fc40a1fcceed9b52f90defc1
|
||||||
|
size 8297
|
20
cpanspec.yml
Normal file
20
cpanspec.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
license: SUSE-Public-Domain
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: -
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
@@ -1,3 +1,62 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 3 14:11:41 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Normalize CPAN version
|
||||||
|
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 13 03:06:56 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.24
|
||||||
|
see /usr/share/doc/packages/perl-Digest-CRC/Changes
|
||||||
|
|
||||||
|
|
||||||
|
0.24 Tue Jul 12 12:42:41 2021
|
||||||
|
- fixed issue with clone-method and addfile
|
||||||
|
Thanks to Dirk Joos <dirk@tdmail.de>
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 16 03:06:48 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.23
|
||||||
|
see /usr/share/doc/packages/perl-Digest-CRC/Changes
|
||||||
|
|
||||||
|
|
||||||
|
0.23 Thu Apr 15 13:02:04 2021
|
||||||
|
- added wrapper for CRC-SAE-J1850
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 20 09:05:52 UTC 2021 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
- Regenerate with new cpanspec template
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 6 12:32:13 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.22.2:
|
||||||
|
- added padding for hex encoded digests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 17 18:14:06 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.21
|
||||||
|
see /usr/share/doc/packages/perl-Digest-CRC/Changes
|
||||||
|
|
||||||
|
|
||||||
|
0.21 Sat Feb 21 13:18:25 2015
|
||||||
|
- new() throwing an error if an unsupported type is specified
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 9 09:16:47 UTC 2015 - opensuse@dstoecker.de
|
||||||
|
|
||||||
|
- update to version 0.20 bug-fix release
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 15 18:04:12 UTC 2012 - opensuse@dstoecker.de
|
||||||
|
|
||||||
|
- update to new 0.18 bug-fix release
|
||||||
|
- added openpgparmor support
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 18 11:09:43 UTC 2011 - coolo@suse.com
|
Fri Nov 18 11:09:43 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
@@ -38,6 +97,7 @@ Fri Feb 8 00:00:00 UTC 2008 - opensuse@dstoecker.de
|
|||||||
|
|
||||||
- updated
|
- updated
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
Thu Oct 25 00:00:00 UTC 2007 - Peter Eisentraut 0.10
|
Thu Oct 25 00:00:00 UTC 2007 - Peter Eisentraut 0.10
|
||||||
|
|
||||||
- initial package release
|
- initial package release
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Digest-CRC
|
# spec file for package perl-Digest-CRC
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,49 +12,49 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define cpan_name Digest-CRC
|
||||||
Name: perl-Digest-CRC
|
Name: perl-Digest-CRC
|
||||||
Version: 0.17
|
Version: 0.240.0
|
||||||
Release: 1
|
Release: 0
|
||||||
AutoReqProv: on
|
# 0.24 -> normalize -> 0.240.0
|
||||||
Group: Development/Libraries/Perl
|
%define cpan_version 0.24
|
||||||
|
#Upstream: CRC algorithm code taken from "A PAINLESS GUIDE TO CRC ERROR DETECTION ALGORITHMS". the public domain.
|
||||||
License: SUSE-Public-Domain
|
License: SUSE-Public-Domain
|
||||||
Url: http://search.cpan.org/dist/Digest-CRC/
|
Summary: Generic CRC functions
|
||||||
Summary: Generic CRC functions for Perl
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source: Digest-CRC-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/O/OL/OLIMAUL/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Source1: cpanspec.yml
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
Provides: perl(Digest::CRC) = %{version}
|
||||||
|
%undefine __perllib_provides
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Digest::CRC module calculates CRC sums of all sorts. It contains
|
The *Digest::CRC* module calculates CRC sums of all sorts. It contains
|
||||||
wrapper functions with the correct parameters for CRC-CCITT, CRC-16,
|
wrapper functions with the correct parameters for CRC-CCITT, CRC-16, CRC-32
|
||||||
CRC-32 and CRC-64.
|
and CRC-64, as well as the CRC used in OpenPGP's ASCII-armored checksum.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Digest-CRC-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
make
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%files -f %{name}.files
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%doc Changes README
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc %{_mandir}/man3/*
|
|
||||||
%{perl_vendorarch}/Digest
|
|
||||||
%{perl_vendorarch}/auto/Digest
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user