Accepting request 883240 from devel:languages:perl:autoupdate

- updated to 1.04
   see /usr/share/doc/packages/perl-Digest-HMAC/Changes
  Version 1.04: 2021-04-01
     No-change release updating maintainer to ARODLAND

OBS-URL: https://build.opensuse.org/request/show/883240
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Digest-HMAC?expand=0&rev=16
This commit is contained in:
Pedro Monreal Gonzalez 2021-04-12 09:00:42 +00:00 committed by Git OBS Bridge
parent 121b31a700
commit f1df970263
5 changed files with 73 additions and 40 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3bc72c6d3ff144d73aefb90e9a78d33612d58cf1cd1631ecfb8985ba96da4a59
size 7251

BIN
Digest-HMAC-1.04.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

35
cpanspec.yml Normal file
View File

@ -0,0 +1,35 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
# baz.patch: PATCH-FIX-OPENSUSE
#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_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Apr 2 03:06:58 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.04
see /usr/share/doc/packages/perl-Digest-HMAC/Changes
Version 1.04: 2021-04-01
No-change release updating maintainer to ARODLAND
-------------------------------------------------------------------
Mon Apr 15 10:58:21 UTC 2013 - idonmez@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Digest-HMAC
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,28 +12,25 @@
# license that conforms to the Open Source Definition (Version 1.9)
# 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/
#
Name: perl-Digest-HMAC
%define cpan_name Digest-HMAC
Summary: Keyed-Hashing for Message Authentication
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Version: 1.03
Name: perl-Digest-HMAC
Version: 1.04
Release: 0
Url: http://search.cpan.org/dist/Digest-HMAC/
Source: http://www.cpan.org/authors/id/G/GA/GAAS/Digest-HMAC-%{version}.tar.gz
Summary: Keyed-Hashing for Message Authentication
License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/A/AR/ARODLAND/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Digest::MD5) >= 2
BuildRequires: perl(Digest::SHA1) >= 1
Requires: perl(Digest::MD5) >= 2
Requires: perl(Digest::SHA1) >= 1
BuildRequires: perl(Digest::SHA) >= 1
Requires: perl(Digest::SHA) >= 1
%{perl_requires}
%description
HMAC is used for message integrity checks between two parties that share a
@ -43,41 +40,32 @@ usually MD5 or SHA-1. The HMAC mechanism is described in RFC 2104.
HMAC follow the common 'Digest::' interface, but the constructor takes the
secret key and the name of some other simple 'Digest::' as argument.
Authors:
--------
Graham Barr <gbarr@ti.com>
Gisle Aas <gisle@aas.no>
The hmac() and hmac_hex() functions and the Digest::HMAC->new() constructor
takes an optional $blocksize argument as well. The HMAC algorithm assumes
the digester to hash by iterating a basic compression function on blocks of
data and the $blocksize should match the byte-length of such blocks.
The default $blocksize is 64 which is suitable for the MD5 and SHA-1 digest
functions. For stronger algorithms the blocksize probably needs to be
increased.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
### since 11.4 perl_process_packlist
### removes .packlist, perllocal.pod files
%if 0%{?suse_version} > 1130
%perl_process_packlist
%else
# do not perl_process_packlist
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod
%endif
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes README
%license LICENSE
%changelog