diff --git a/Crypt-Random-1.52.tar.gz b/Crypt-Random-1.52.tar.gz deleted file mode 100644 index 34b551a..0000000 --- a/Crypt-Random-1.52.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a93c06de409e6f2eb2e9868ea6d4e653d99f2f7900b2c1831e1f65ace0c4ef84 -size 9525 diff --git a/Crypt-Random-1.54.tar.gz b/Crypt-Random-1.54.tar.gz new file mode 100644 index 0000000..1e65890 --- /dev/null +++ b/Crypt-Random-1.54.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d66f8e17edc3877cc797fdd59de534e3990636f8f1a5e726062159af7e67dacc +size 22368 diff --git a/perl-Crypt-Random.changes b/perl-Crypt-Random.changes index 5187422..03d217f 100644 --- a/perl-Crypt-Random.changes +++ b/perl-Crypt-Random.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Jun 4 03:07:35 UTC 2021 - Tina Müller + +- updated to 1.54 + see /usr/share/doc/packages/perl-Crypt-Random/Changes + + 1.54 June 3, 2021 + * Removed a superfluous call to makerandom_itv() thanks to Larry + Leszczynski . + * Improved makerandom_itv test to ensure generated numbers are in the + intterval. + * Actually include t/chisquare.t + ------------------------------------------------------------------- Wed Apr 3 06:50:10 UTC 2019 - Stephan Kulow diff --git a/perl-Crypt-Random.spec b/perl-Crypt-Random.spec index b6da885..938e1fe 100644 --- a/perl-Crypt-Random.spec +++ b/perl-Crypt-Random.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Crypt-Random # -# Copyright (c) 2019 SUSE LINUX 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 @@ -16,18 +16,16 @@ # -Name: perl-Crypt-Random -Version: 1.52 -Release: 0 %define cpan_name Crypt-Random +Name: perl-Crypt-Random +Version: 1.54 +Release: 0 Summary: Cryptographically Secure, True Random Number Generator License: CHECK(Artistic-1.0 OR GPL-1.0-or-later) -Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/V/VI/VIPUL/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Loader) >= 2.00 @@ -47,12 +45,12 @@ generate random integers of arbitrary size of a given bitsize or in a specified interval. %prep -%setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{version} +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -63,7 +61,6 @@ make test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README %changelog