Accepting request 710451 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/710451
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-Compare-ConstantTime?expand=0&rev=4
This commit is contained in:
2019-06-18 11:20:22 +00:00
committed by Git OBS Bridge
parent 7f4d6d00f0
commit 02befc8cd7
4 changed files with 25 additions and 10 deletions

View File

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

View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jun 18 05:29:21 UTC 2019 - Stephan Kulow <coolo@please-enter-an-email-address>
- updated to 0.321
see /usr/share/doc/packages/perl-String-Compare-ConstantTime/Changes
0.321 2019-06-17
* Remove unnecessary sv_len_utf8 calls (thanks David Golden)
* Test and document mixed UTF-8 flag comparison (thanks David Golden)
-------------------------------------------------------------------
Tue Apr 24 05:51:48 UTC 2018 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-String-Compare-ConstantTime
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,18 +12,18 @@
# 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-String-Compare-ConstantTime
Version: 0.320
Version: 0.321
Release: 0
%define cpan_name String-Compare-ConstantTime
Summary: Timing side-channel protected string compare
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/String-Compare-ConstantTime/
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/F/FR/FRACTAL/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -40,15 +40,20 @@ false otherwise. However, comparing any two differing strings of the same
length will take a fixed amount of time. If the lengths of the strings are
different, 'equals' will return false right away.
*NOTE*: This does byte-wise comparison of the underlying string storage,
meaning that comparing strings with non-ASCII data with different states of
the internal UTF-8 flag is not reliable. You should always encode your data
to bytes before comparing.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install