diff --git a/Data-Random-0.13.tar.gz b/Data-Random-0.13.tar.gz deleted file mode 100644 index 46d5ece..0000000 --- a/Data-Random-0.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb590184a8db28a7e49eab09e25f8650c33f1f668b6a472829de74a53256bfc0 -size 158143 diff --git a/Data-Random-0.14.tar.gz b/Data-Random-0.14.tar.gz new file mode 100644 index 0000000..d09b8f8 --- /dev/null +++ b/Data-Random-0.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bec0e1d5301a57727e4e3a9f56590d5daa65e81be3027ecbc4141c04fa871818 +size 158730 diff --git a/perl-Data-Random.changes b/perl-Data-Random.changes index e019af0..ca5abfd 100644 --- a/perl-Data-Random.changes +++ b/perl-Data-Random.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Oct 14 11:45:10 UTC 2025 - Tina Müller + +- 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 diff --git a/perl-Data-Random.spec b/perl-Data-Random.spec index 0fa594d..acfc02f 100644 --- a/perl-Data-Random.spec +++ b/perl-Data-Random.spec @@ -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,30 +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} @@ -43,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 @@ -62,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