Accepting request 690981 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/690981 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-Random?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
9182e84db1
commit
a3ce01b51c
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6c45c5146b41dd7a1cd4c949f297a0ec691adc85b5d261376275ea36ae36752e
|
|
||||||
size 8770
|
|
3
Crypt-Random-1.52.tar.gz
Normal file
3
Crypt-Random-1.52.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a93c06de409e6f2eb2e9868ea6d4e653d99f2f7900b2c1831e1f65ace0c4ef84
|
||||||
|
size 9525
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
#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:
|
||||||
|
#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
|
@@ -1,3 +1,35 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 3 06:50:10 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
- updated to 1.52
|
||||||
|
see /usr/share/doc/packages/perl-Crypt-Random/Changes
|
||||||
|
|
||||||
|
1.52 December 22, 2018
|
||||||
|
|
||||||
|
* Add a chi square statistical test. t/chisquare.t
|
||||||
|
|
||||||
|
* Uniform can be passed to the constructor of Crypt::Random::Generator.
|
||||||
|
This should be the default, and will likely be in the next release.
|
||||||
|
|
||||||
|
* Fixed minor bugs & typos.
|
||||||
|
|
||||||
|
|
||||||
|
1.51 December 22, 2018
|
||||||
|
|
||||||
|
* Test no longer looks for non-eq of two generated numbers as these can be
|
||||||
|
correctly the same if test is run enough number of times.
|
||||||
|
https://rt.cpan.org/Ticket/Display.html?id=99880
|
||||||
|
|
||||||
|
* Removed outdated dependency info.
|
||||||
|
https://rt.cpan.org/Ticket/Display.html?id=94441
|
||||||
|
|
||||||
|
* Removed /dev/random read from the test, as it can hang when there is
|
||||||
|
insufficient entropy.
|
||||||
|
https://rt.cpan.org/Ticket/Display.html?id=30423
|
||||||
|
|
||||||
|
* Removed potentially unsafe include in bin/makerandom.
|
||||||
|
https://rt.cpan.org/Ticket/Display.html?id=128062
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 1 11:57:08 UTC 2010 - coolo@novell.com
|
Wed Dec 1 11:57:08 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Crypt-Random
|
# spec file for package perl-Crypt-Random
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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,71 +12,58 @@
|
|||||||
# 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 modname Crypt-Random
|
Name: perl-Crypt-Random
|
||||||
|
Version: 1.52
|
||||||
Name: perl-%{modname}
|
Release: 0
|
||||||
Version: 1.25
|
%define cpan_name Crypt-Random
|
||||||
Release: 1
|
|
||||||
Summary: Cryptographically Secure, True Random Number Generator
|
Summary: Cryptographically Secure, True Random Number Generator
|
||||||
Requires: perl-Class-Loader perl-Math-Pari
|
License: CHECK(Artistic-1.0 OR GPL-1.0-or-later)
|
||||||
BuildRequires: perl perl-Class-Loader perl-Math-Pari
|
|
||||||
BuildRequires: perl-macros
|
|
||||||
License: GPL/Artistic
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Source: %{modname}-%{version}.tar.gz
|
Url: https://metacpan.org/release/%{cpan_name}
|
||||||
Patch0: %{modname}-%{version}.diff
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Class::Loader) >= 2.00
|
||||||
|
BuildRequires: perl(Math::Pari) >= 2.001804
|
||||||
|
BuildRequires: perl(Statistics::ChiSquare) >= 1.0000
|
||||||
|
Requires: perl(Class::Loader) >= 2.00
|
||||||
|
Requires: perl(Math::Pari) >= 2.001804
|
||||||
|
Requires: perl(Statistics::ChiSquare) >= 1.0000
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Crypt::Random is an interface module to the /dev/random device found on most
|
Crypt::Random is an interface module to the /dev/random device found on
|
||||||
modern Unix systems. The /dev/random driver gathers environmental noise from
|
most modern unix systems. It also interfaces with egd, a user space entropy
|
||||||
various non-deterministic sources including inter-keyboard timings and inter-
|
gathering daemon, available for systems where /dev/random (or similar)
|
||||||
interrupt timings that occur within the operating system environment.
|
devices are not available. When Math::Pari is installed, Crypt::Random can
|
||||||
|
generate random integers of arbitrary size of a given bitsize or in a
|
||||||
The /dev/random driver maintains an estimate of true randomness in the pool and
|
specified interval.
|
||||||
decreases it every time random strings are requested for use. When the estimate
|
|
||||||
goes down to zero, the routine blocks and waits for the occurrence of non-
|
|
||||||
deterministic events to refresh the pool.
|
|
||||||
|
|
||||||
The /dev/random kernel module also provides another interface, /dev/urandom,
|
|
||||||
that does not wait for the entropy-pool to recharge and returns as many bytes
|
|
||||||
as requested. /dev/urandom is considerably faster at generation compared to
|
|
||||||
/dev/random, which should be used only when very high quality randomness is
|
|
||||||
desired.
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Vipul Ved Prakash <mail@vipul.net>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%patch0 -p1
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%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 %{buildroot}
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes README
|
||||||
%files
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc README Changes
|
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
/usr/bin/makerandom
|
|
||||||
%{perl_vendorlib}/Crypt
|
|
||||||
%{perl_vendorarch}/auto/Crypt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user