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:
Stephan Kulow
2015-09-01 09:49:21 +00:00
committed by Git OBS Bridge
parent 2149b3285f
commit 4cd0d56c2d
5 changed files with 61 additions and 42 deletions

View File

@@ -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
View File

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

23
cpanspec.yml Normal file
View 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

View File

@@ -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 Wed Dec 1 13:33:36 UTC 2010 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Math-Random # 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 # 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
@@ -15,53 +15,43 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: perl-Math-Random 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_name Math-Random
%define cpan_path Math
Summary: Random Number Generators Summary: Random Number Generators
Version: 0.71 License: Artistic-1.0 or GPL-2.0+
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Math-Random/ Url: http://search.cpan.org/dist/Math-Random/
#Source: http://www.cpan.org/modules/by-module/Math/Math-Random-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/G/GR/GROMMEL/%{cpan_name}-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
%{perl_requires}
%description %description
Math::Random is a Perl port of the C version of randlib, which is a suite *Math::Random* is a *Perl* port of the *C* version of *randlib*, which is a
of routines for generating random deviates. See "RANDLIB" for more suite of routines for generating random deviates. See the "RANDLIB" manpage
information. 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)
Authors: This port supports all of the distributions from which the *Fortran* and
-------- *C* versions generate deviates. The major functionalities that are excluded
John Venier and Barry W. Brown with help from SWIG are the multiple generators/splitting facility and antithetic random number
various cosmetic changes [0.61] generation. These facilities, along with some of the distributions which
Geoffrey Rommel <grommel [at] cpan [dot] org> _are_ included, are probably not of interest except to the very
randlib was compiled and written by sophisticated user. If there is sufficient interest, the excluded
Barry W. Brown, James Lovato, Kathy Russell, and facilities will be included in a future release. The code to perform the
John Venier <jvenier@mdanderson.org> excluded facilities is available as *randlib* in *Fortran* and *C* source.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
# rpmlint find . -type f -print0 | xargs -0 chmod 644
# script-without-shebang
%{__chmod} a-x Random.pm
# spurious-executable-perm
%{__chmod} a-x Changes README example.pl
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%check %check
@@ -70,16 +60,10 @@ Authors:
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %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 %perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,755)
%doc Changes README example.pl %doc Changes Index README
%changelog %changelog