8
0

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
This commit is contained in:
2025-01-13 21:48:55 +00:00
committed by Git OBS Bridge
parent 1238998108
commit f09fc46060
5 changed files with 56 additions and 11 deletions

View File

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

View File

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

35
cpanspec.yml Normal file
View File

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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 9 05:31:21 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- 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 <tina.mueller@suse.com>

View File

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