8
0

Accepting request 1312568 from devel:languages:perl

- updated to 0.140.0 (0.14)
   see /usr/share/doc/packages/perl-Data-Random/Changes
  0.14      2025-10-11 03:23:58-07:00 America/Los_Angeles
            - work around new warning in perl-5.43.2 about escaping whitespace
            - fix repository URL typo in dist.ini that caused broken MetaCPAN links
            Thanks to JKEENAN (James E Keenan) for both fixes

OBS-URL: https://build.opensuse.org/request/show/1312568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Data-Random?expand=0&rev=4
This commit is contained in:
2025-10-22 10:14:26 +00:00
committed by Git OBS Bridge
parent b817f193d1
commit fca7d3e52c
7 changed files with 55 additions and 20 deletions

View File

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

BIN
Data-Random-0.14.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

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-Data-Random/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-Data-Random)

5
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,5 @@
mtime: 1760442310
commit: 0fdb39a43a6eb40f488b8fcf1fadcd15198b01aa90db6d613aa254b700ea20da
url: https://src.opensuse.org/perl/perl-Data-Random.git
revision: 0fdb39a43a6eb40f488b8fcf1fadcd15198b01aa90db6d613aa254b700ea20da
projectscmsync: https://src.opensuse.org/perl/_ObsPrj

3
build.specials.obscpio Normal file
View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Oct 14 11:45:10 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.140.0 (0.14)
see /usr/share/doc/packages/perl-Data-Random/Changes
0.14 2025-10-11 03:23:58-07:00 America/Los_Angeles
- work around new warning in perl-5.43.2 about escaping whitespace
- fix repository URL typo in dist.ini that caused broken MetaCPAN links
Thanks to JKEENAN (James E Keenan) for both fixes
-------------------------------------------------------------------
Thu Apr 19 05:13:51 UTC 2018 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-Random
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,33 @@
# 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-Data-Random
Version: 0.13
Release: 0
%define cpan_name Data-Random
Summary: Perl module to generate random data
Name: perl-Data-Random
Version: 0.140.0
Release: 0
# 0.14 -> normalize -> 0.140.0
%define cpan_version 0.14
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Data-Random/
Source0: https://cpan.metacpan.org/authors/id/B/BA/BAREFOOT/%{cpan_name}-%{version}.tar.gz
Summary: Perl module to generate random data
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BA/BAREFOOT/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::ShareDir::Install) >= 0.06
BuildRequires: perl(File::ShareDir::Install) >= 0.60
BuildRequires: perl(Test::MockTime)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Time::Piece) >= 1.16
Requires: perl(Time::Piece) >= 1.16
Provides: perl(Data::Random) = %{version}
Provides: perl(Data::Random::WordList) = %{version}
%undefine __perllib_provides
Recommends: perl(GD)
%{perl_requires}
@@ -42,18 +46,19 @@ Recommends: perl(GD)
A module used to generate random data. Useful mostly for test programs.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
# MANUAL BEGIN
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
# MANUAL END
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -61,7 +66,6 @@ sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%license LICENSE