Accepting request 611428 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/611428
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-Random?expand=0&rev=4
This commit is contained in:
2018-05-23 08:40:30 +00:00
committed by Git OBS Bridge
parent ddd4b108f6
commit 0ad8549dd5
4 changed files with 26 additions and 11 deletions

View File

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