Accepting request 328285 from devel:languages:perl:autoupdate
- updated to 0.72 see /usr/share/doc/packages/perl-Math-Random/Changes 0.72 Sat Aug 29 21:51:19 2015 - The random seed was based on time of day and was a bit too predictable. Applying patch provided by Jonathan Yu: https://rt.cpan.org/Public/Bug/Display.html?id=48080 OBS-URL: https://build.opensuse.org/request/show/328285 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Random?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
2149b3285f
commit
4cd0d56c2d
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8af09c3d0041d83c3369536ab1e37d3d9707a01e2ed05d2dcc8e096cdf07cc2d
|
||||
size 46011
|
3
Math-Random-0.72.tar.gz
Normal file
3
Math-Random-0.72.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:be0522328811d96de505d9ebac3d096359026fa8d5c38f7bb999a78ec5bc254c
|
||||
size 46907
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
#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: Artistic-1.0 or GPL-2.0+
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 1 09:09:11 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.72
|
||||
see /usr/share/doc/packages/perl-Math-Random/Changes
|
||||
|
||||
|
||||
0.72 Sat Aug 29 21:51:19 2015
|
||||
- The random seed was based on time of day and was a bit too
|
||||
predictable. Applying patch provided by Jonathan Yu:
|
||||
https://rt.cpan.org/Public/Bug/Display.html?id=48080
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:33:36 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Math-Random
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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
|
||||
@@ -15,53 +15,43 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Math-Random
|
||||
Version: 0.72
|
||||
Release: 0
|
||||
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
|
||||
%define cpan_name Math-Random
|
||||
%define cpan_path Math
|
||||
Summary: Random Number Generators
|
||||
Version: 0.71
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
License: Artistic-1.0 or GPL-2.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Math-Random/
|
||||
#Source: http://www.cpan.org/modules/by-module/Math/Math-Random-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/G/GR/GROMMEL/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Math::Random is a Perl port of the C version of randlib, which is a suite
|
||||
of routines for generating random deviates. See "RANDLIB" for more
|
||||
information.
|
||||
Capabilities of wide interest include the generation of:
|
||||
uniform numbers between 0 and 1 (or user chosen boundaries)
|
||||
random integers between user specified bounds
|
||||
random permutations of a list (shuffle a deck of cards)
|
||||
*Math::Random* is a *Perl* port of the *C* version of *randlib*, which is a
|
||||
suite of routines for generating random deviates. See the "RANDLIB" manpage
|
||||
for more information.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
John Venier and Barry W. Brown with help from SWIG
|
||||
various cosmetic changes [0.61]
|
||||
Geoffrey Rommel <grommel [at] cpan [dot] org>
|
||||
randlib was compiled and written by
|
||||
Barry W. Brown, James Lovato, Kathy Russell, and
|
||||
John Venier <jvenier@mdanderson.org>
|
||||
This port supports all of the distributions from which the *Fortran* and
|
||||
*C* versions generate deviates. The major functionalities that are excluded
|
||||
are the multiple generators/splitting facility and antithetic random number
|
||||
generation. These facilities, along with some of the distributions which
|
||||
_are_ included, are probably not of interest except to the very
|
||||
sophisticated user. If there is sufficient interest, the excluded
|
||||
facilities will be included in a future release. The code to perform the
|
||||
excluded facilities is available as *randlib* in *Fortran* and *C* source.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# rpmlint
|
||||
# script-without-shebang
|
||||
%{__chmod} a-x Random.pm
|
||||
# spurious-executable-perm
|
||||
%{__chmod} a-x Changes README example.pl
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
@@ -70,16 +60,10 @@ Authors:
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
# cleanup
|
||||
%{__rm} $RPM_BUILD_ROOT%perl_vendorarch/%{cpan_path}/test*.pl
|
||||
%{__rm} $RPM_BUILD_ROOT%perl_vendorarch/%{cpan_path}/example.pl
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README example.pl
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes Index README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user