From f09fc46060b0a5cda0545e6e97a059b51cf770b1c78fdb4f63162673b3fb9a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Mon, 13 Jan 2025 21:48:55 +0000 Subject: [PATCH] Accepting request 1236722 from devel:languages:perl:autoupdate - updated to 0.500.0 (0.50) see /usr/share/doc/packages/perl-Crypt-URandom/Changes OBS-URL: https://build.opensuse.org/request/show/1236722 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-URandom?expand=0&rev=5 --- Crypt-URandom-0.40.tar.gz | 3 --- Crypt-URandom-0.50.tar.gz | 3 +++ cpanspec.yml | 35 +++++++++++++++++++++++++++++++++++ perl-Crypt-URandom.changes | 6 ++++++ perl-Crypt-URandom.spec | 20 ++++++++++++-------- 5 files changed, 56 insertions(+), 11 deletions(-) delete mode 100644 Crypt-URandom-0.40.tar.gz create mode 100644 Crypt-URandom-0.50.tar.gz create mode 100644 cpanspec.yml diff --git a/Crypt-URandom-0.40.tar.gz b/Crypt-URandom-0.40.tar.gz deleted file mode 100644 index 49079f3..0000000 --- a/Crypt-URandom-0.40.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:71a0350e237dabec8d95c4159cb77a2f20f4e81902c988438fbdd82cf65a8195 -size 9151 diff --git a/Crypt-URandom-0.50.tar.gz b/Crypt-URandom-0.50.tar.gz new file mode 100644 index 0000000..0d2d2a6 --- /dev/null +++ b/Crypt-URandom-0.50.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa1fba2827dfda3b75f78c77800fe811920e6d511a84c060ffd63d47a63c9653 +size 20944 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..456fa7a --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,35 @@ +--- +#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: +# baz.patch: PATCH-FIX-OPENSUSE +#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 +skip_doc: check_random.inc +#add_doc: files to add to docs +#misc: |- +#anything else to be added to spec file +#follows directly after %files section, so it can contain new blocks or also +#changes to %files section diff --git a/perl-Crypt-URandom.changes b/perl-Crypt-URandom.changes index d610055..f718051 100644 --- a/perl-Crypt-URandom.changes +++ b/perl-Crypt-URandom.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 9 05:31:21 UTC 2025 - Tina Müller + +- updated to 0.500.0 (0.50) + see /usr/share/doc/packages/perl-Crypt-URandom/Changes + ------------------------------------------------------------------- Fri Mar 8 22:03:24 UTC 2024 - Tina Müller diff --git a/perl-Crypt-URandom.spec b/perl-Crypt-URandom.spec index ee30da8..c708021 100644 --- a/perl-Crypt-URandom.spec +++ b/perl-Crypt-URandom.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Crypt-URandom # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,17 +18,20 @@ %define cpan_name Crypt-URandom Name: perl-Crypt-URandom -Version: 0.400.0 +Version: 0.500.0 Release: 0 -%define cpan_version 0.40 +# 0.50 -> normalize -> 0.500.0 +%define cpan_version 0.50 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Provide non blocking randomness URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DD/DDICK/%{cpan_name}-%{cpan_version}.tar.gz -BuildArch: noarch +Source1: cpanspec.yml BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Carp) >= 1.26 BuildRequires: perl(Test::Pod) >= 1.14 +Requires: perl(Carp) >= 1.26 Provides: perl(Crypt::URandom) = %{version} %undefine __perllib_provides %{perl_requires} @@ -36,14 +39,14 @@ Provides: perl(Crypt::URandom) = %{version} %description This Module is intended to provide an interface to the strongest available source of non-blocking randomness on the current platform. Platforms -currently supported are anything supporting /dev/urandom and versions of -Windows greater than or equal to Windows 2000. +currently supported are anything supporting getrandom(2), /dev/urandom and +versions of Windows greater than or equal to Windows 2000. %prep %autosetup -n %{cpan_name}-%{cpan_version} %build -perl Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %make_build %check @@ -55,6 +58,7 @@ make test %perl_gen_filelist %files -f %{name}.files -%doc Changes README README.md +%doc Changes README README.md SECURITY.md +%license LICENSE %changelog