forked from pool/perl-Data-Random
Automatic update to v0.140.0 (0.14)
This commit is contained in:
@@ -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
BIN
Data-Random-0.14.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -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
|
Thu Apr 19 05:13:51 UTC 2018 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Data-Random
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,30 +12,33 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
%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
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Summary: Perl module to generate random data
|
||||||
Url: http://search.cpan.org/dist/Data-Random/
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/B/BA/BAREFOOT/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/B/BA/BAREFOOT/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
Source100: README.md
|
Source100: README.md
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(File::ShareDir::Install) >= 0.06
|
BuildRequires: perl(File::ShareDir::Install) >= 0.60
|
||||||
BuildRequires: perl(Test::MockTime)
|
BuildRequires: perl(Test::MockTime)
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
BuildRequires: perl(Time::Piece) >= 1.16
|
BuildRequires: perl(Time::Piece) >= 1.16
|
||||||
Requires: 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)
|
Recommends: perl(GD)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
@@ -43,18 +46,19 @@ Recommends: perl(GD)
|
|||||||
A module used to generate random data. Useful mostly for test programs.
|
A module used to generate random data. Useful mostly for test programs.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
|
||||||
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
|
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL
|
||||||
# MANUAL END
|
# MANUAL END
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@@ -62,7 +66,6 @@ sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user