11
0

Compare commits

12 Commits

Author SHA256 Message Date
f818317147 Add Gitea build results 2025-08-12 18:12:54 +02:00
c08d52f49b Accepting request 1296253 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1296253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Crypt-URandom?expand=0&rev=4
2025-07-30 09:41:37 +00:00
024e41b853 Accepting request 1295083 from home:tinita:branches:devel:languages:perl
- fix build for SLE12
Alternative to https://build.opensuse.org/requests/1294786 with cpanspec.yml

OBS-URL: https://build.opensuse.org/request/show/1295083
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-URandom?expand=0&rev=11
2025-07-29 07:36:55 +00:00
7cae786e98 Accepting request 1269372 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1269372
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Crypt-URandom?expand=0&rev=3
2025-04-15 14:46:32 +00:00
e048030d1e Accepting request 1268710 from devel:languages:perl:autoupdate
- updated to 0.540.0 (0.54)
   see /usr/share/doc/packages/perl-Crypt-URandom/Changes
  0.54  
       - Reverse solaris changes and remove errstr checks.  Thanks to eserte for GH#18

OBS-URL: https://build.opensuse.org/request/show/1268710
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-URandom?expand=0&rev=9
2025-04-14 20:40:48 +00:00
8921f153aa Accepting request 1244962 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1244962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Crypt-URandom?expand=0&rev=2
2025-02-11 20:24:36 +00:00
ad864324af Accepting request 1244877 from devel:languages:perl:autoupdate
- updated to 0.530.0 (0.53)
   see /usr/share/doc/packages/perl-Crypt-URandom/Changes
  0.53  
       - Changes to try and catch CPAN Tester failures on solaris
  0.52  
       - Fixes to test suite.  Thanks to Petr Pisar for GH#17
  0.51  
       - Improvements to handling SIGINT.  Thanks to Leon Timmermans for GH#14
       - Memory leak fix.  Thanks to Leon Timmermans for GH#15
       - Using arc4random_buf for OpenBSD/OSX.  Thanks to Leon Timmermans for GH#16
       - Documentation fixes

OBS-URL: https://build.opensuse.org/request/show/1244877
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-URandom?expand=0&rev=7
2025-02-11 07:11:41 +00:00
cda407b648 Accepting request 1238289 from devel:languages:perl
required by perl-Net-OAuth

OBS-URL: https://build.opensuse.org/request/show/1238289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Crypt-URandom?expand=0&rev=1
2025-01-16 17:37:12 +00:00
f09fc46060 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
2025-01-13 21:48:55 +00:00
1238998108 Fix disabling of __perllib_provides
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-URandom?expand=0&rev=4
2024-03-08 22:03:28 +00:00
8564cfda38 Accepting request 1153701 from devel:languages:perl:autoupdate
- updated to 0.40
   see /usr/share/doc/packages/perl-Crypt-URandom/Changes
  0.40 - 
         Moving $OSNAME checks to compile time with GH#4.  Thanks to Aristotle.
         Test and documentation fixes in GH#1, GH#2, GH#3.  Thanks to guest20.

OBS-URL: https://build.opensuse.org/request/show/1153701
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-URandom?expand=0&rev=3
2024-03-08 10:31:17 +00:00
26b3142704 Accepting request 1090333 from devel:languages:perl:autoupdate
- updated to 0.39
   see /usr/share/doc/packages/perl-Crypt-URandom/Changes
  0.39 - 
         Adding support for test suite in non english locales
         Test and documentation fixes
  0.38 - 
         Adding support for github actions
         Improving test support
  0.37 - 
         Adding urandom_ub method for unbuffered sysreads
         Copying with possible?? failures in reading from /dev/urandom
         Improved coverage testing

OBS-URL: https://build.opensuse.org/request/show/1090333
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-URandom?expand=0&rev=2
2023-06-01 15:22:28 +00:00
6 changed files with 157 additions and 22 deletions

View File

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

View File

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

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Crypt-URandom/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Crypt-URandom)

41
cpanspec.yml Normal file
View File

@@ -0,0 +1,41 @@
---
#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: |-
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%if 0%{suse_version} > 1315
%make_build
%else
make
%endif
#./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,75 @@
-------------------------------------------------------------------
Tue Jul 22 12:27:41 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- fix build for SLE12
-------------------------------------------------------------------
Sun Mar 16 05:31:49 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.540.0 (0.54)
see /usr/share/doc/packages/perl-Crypt-URandom/Changes
0.54 Sat Mar 15 20:37:13 2025
- Reverse solaris changes and remove errstr checks. Thanks to eserte for GH#18
-------------------------------------------------------------------
Sun Feb 9 05:29:48 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.530.0 (0.53)
see /usr/share/doc/packages/perl-Crypt-URandom/Changes
0.53 Sat Feb 08 20:03:30 2025
- Changes to try and catch CPAN Tester failures on solaris
0.52 Thu Jan 23 06:33:51 2025
- Fixes to test suite. Thanks to Petr Pisar for GH#17
0.51 Wed Jan 22 22:18:19 2025
- Improvements to handling SIGINT. Thanks to Leon Timmermans for GH#14
- Memory leak fix. Thanks to Leon Timmermans for GH#15
- Using arc4random_buf for OpenBSD/OSX. Thanks to Leon Timmermans for GH#16
- Documentation fixes
-------------------------------------------------------------------
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>
- Fix disabling of __perllib_provides
-------------------------------------------------------------------
Sun Feb 25 03:07:16 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.40
see /usr/share/doc/packages/perl-Crypt-URandom/Changes
0.40 - Sat Feb 17 06:34:33 2024
Moving $OSNAME checks to compile time with GH#4. Thanks to Aristotle.
Test and documentation fixes in GH#1, GH#2, GH#3. Thanks to guest20.
-------------------------------------------------------------------
Mon May 22 03:06:18 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.39
see /usr/share/doc/packages/perl-Crypt-URandom/Changes
0.39 - Sun May 21 18:58:33 2023
Adding support for test suite in non english locales
Test and documentation fixes
0.38 - Thu May 11 05:52:03 2023
Adding support for github actions
Improving test support
0.37 - Wed May 10 21:48:03 2023
Adding urandom_ub method for unbuffered sysreads
Copying with possible?? failures in reading from /dev/urandom
Improved coverage testing
-------------------------------------------------------------------
Sun Jun 12 14:16:11 UTC 2016 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Crypt-URandom
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -12,40 +12,50 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Crypt-URandom
Version: 0.36
Release: 0
%define cpan_name Crypt-URandom
Name: perl-Crypt-URandom
Version: 0.540.0
Release: 0
# 0.54 -> normalize -> 0.540.0
%define cpan_version 0.54
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Provide non blocking randomness
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Crypt-URandom/
Source0: http://www.cpan.org/authors/id/D/DD/DDICK/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DD/DDICK/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
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}
%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
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%if 0%{suse_version} > 1315
%make_build
%else
make
%endif
%check
%{__make} test
make test
%install
%perl_make_install
@@ -53,7 +63,7 @@ Windows greater than or equal to Windows 2000.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%doc Changes README README.md SECURITY.md
%license LICENSE
%changelog