Accepting request 863102 from devel:languages:perl:autoupdate

- updated to 0.94
   see /usr/share/doc/packages/perl-Math-Matrix/Changes
  0.94 2021-01-13
   * Fix broken test in t/mldiv.t The rounding performed for values that are very
     close to an integer was performed on the wrong matrix.
  0.93 2021-01-12
   * The test is_deeply() does string comparison, so avoid negative zeros in test
     data and output from tests. Also round test output where the output may be
     slightly off from an integer.
   * Require Math::Trig version 1.06 so Math::Trig::Inf() is available.
   * Update the SUPPORT section to reflect that CPAN RT will be closing down on
     1st March 2021.
   * Add support for negative integer powers in mpow().

OBS-URL: https://build.opensuse.org/request/show/863102
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Matrix?expand=0&rev=7
This commit is contained in:
2021-01-14 14:30:42 +00:00
committed by Git OBS Bridge
parent 6933849e84
commit 22b1cecd2e
4 changed files with 29 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Math-Matrix
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,21 +16,21 @@
#
Name: perl-Math-Matrix
Version: 0.92
Release: 0
%define cpan_name Math-Matrix
Name: perl-Math-Matrix
Version: 0.94
Release: 0
Summary: Multiply and invert matrices
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Math::Trig) >= 1.06
BuildRequires: perl(Test::More) >= 0.82
Requires: perl(Math::Trig) >= 1.06
%{perl_requires}
%description
@@ -50,12 +50,12 @@ modified directly.
$X += $Y; # so does this
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -66,7 +66,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README README.md
%changelog