diff --git a/String-Random-0.29.tar.gz b/String-Random-0.29.tar.gz deleted file mode 100644 index 558e9f7..0000000 --- a/String-Random-0.29.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1da4a65e66ab1db23fedca018355b597cf69c94dd73dec657212820055515a5c -size 21246 diff --git a/String-Random-0.30.tar.gz b/String-Random-0.30.tar.gz new file mode 100644 index 0000000..be0facb --- /dev/null +++ b/String-Random-0.30.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81139b9b96d50e0e409b6de10f4ffa816c84460d9c8a158902548dc2a4bfad1b +size 23589 diff --git a/perl-String-Random.changes b/perl-String-Random.changes index e80d3fa..79d5bb2 100644 --- a/perl-String-Random.changes +++ b/perl-String-Random.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed May 23 05:57:58 UTC 2018 - coolo@suse.com + +- updated to 0.30 + see /usr/share/doc/packages/perl-String-Random/Changes + + 0.30 2018-05-22 + - Convert to Dist-Zilla. + ------------------------------------------------------------------- Sat Dec 26 10:14:23 UTC 2015 - coolo@suse.com diff --git a/perl-String-Random.spec b/perl-String-Random.spec index 8a9ce7b..5d6165f 100644 --- a/perl-String-Random.spec +++ b/perl-String-Random.spec @@ -1,7 +1,7 @@ # # spec file for package perl-String-Random # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -17,20 +17,21 @@ Name: perl-String-Random -Version: 0.29 +Version: 0.30 Release: 0 %define cpan_name String-Random Summary: Perl module to generate random strings based on a pattern -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/String-Random/ -Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) >= 0.360000 +BuildRequires: perl(Module::Build) >= 0.280000 +BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(parent) Requires: perl(parent) %{perl_requires} @@ -50,8 +51,12 @@ This would output something like this: Your password is UDwp$tj5 -*NOTE!!!*: currently, String::Random uses Perl's built-in predictable -random number generator so the passwords generated by it are insecure. +*NOTE!!!*: currently, 'String::Random' defaults to Perl's built-in +predictable random number generator so the passwords generated by it are +insecure. See the 'rand_gen' option to 'String::Random' constructor to +specify a more secure random number generator. There is no equivalent to +this in the procedural interface, you must use the object-oriented +interface to get this functionality. If you are more comfortable dealing with regular expressions, the following code would have a similar result: @@ -77,6 +82,7 @@ code would have a similar result: %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes LICENSE README TODO +%doc Changes README TODO +%license LICENSE %changelog