Accepting request 825764 from devel:languages:perl:autoupdate
- updated to 0.91 see /usr/share/doc/packages/perl-Math-Matrix/Changes 0.91 2020-08-09 * Ensure a recent version of Math::Complex in the test files that use that module. Math::Complex didn't support any way of cloning/copying Math::Complex objects before version 1.57. 0.9 2020-08-07 * Fix typos in POD and add more documentation and examples. * Extended new() to handle empty matrices and allow the matrix to be specified as a single argument. * Improve code so subclassing works better. * Add many new tests to confirm existing and new behaviour. * Misellaneous modernizations. * This release closes CPAN RT ##104334 and #109353. OBS-URL: https://build.opensuse.org/request/show/825764 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Matrix?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
1c803579f2
commit
878d8be3dc
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:74db24195672a481012230b112e97ee9b7cb8cc30e8374d852e1ffd67c9af467
|
||||
size 7748
|
3
Math-Matrix-0.91.tar.gz
Normal file
3
Math-Matrix-0.91.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bed4cffe0ccde78571ff41b8313db51844c0e34e98d431fb59d294111ce9c231
|
||||
size 27895
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
#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:
|
||||
#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: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 11 03:11:00 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.91
|
||||
see /usr/share/doc/packages/perl-Math-Matrix/Changes
|
||||
|
||||
0.91 2020-08-09
|
||||
|
||||
* Ensure a recent version of Math::Complex in the test files that use that
|
||||
module. Math::Complex didn't support any way of cloning/copying
|
||||
Math::Complex objects before version 1.57.
|
||||
|
||||
0.9 2020-08-07
|
||||
|
||||
* Fix typos in POD and add more documentation and examples.
|
||||
|
||||
* Extended new() to handle empty matrices and allow the matrix to be specified
|
||||
as a single argument.
|
||||
|
||||
* Improve code so subclassing works better.
|
||||
|
||||
* Add many new tests to confirm existing and new behaviour.
|
||||
|
||||
* Misellaneous modernizations.
|
||||
|
||||
* This release closes CPAN RT ##104334 and #109353.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 7 09:27:11 UTC 2013 - opensuse@dstoecker.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Math-Matrix
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,58 +12,61 @@
|
||||
# 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-Math-Matrix
|
||||
%define cpan_name Math-Matrix
|
||||
Summary: Multiply and invert Matrices
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Version: 0.8
|
||||
Version: 0.91
|
||||
Release: 0
|
||||
Url: http://search.cpan.org/dist/Math-Matrix/
|
||||
Source: http://www.cpan.org/modules/by-module/Math/Math-Matrix-%{version}.tar.gz
|
||||
%define cpan_name Math-Matrix
|
||||
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
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More) >= 0.94
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Perl Module for handling matrices
|
||||
This module implements various constructors and methods for creating and
|
||||
manipulating matrices.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Ulrich Pfeifer <pfeifer@ls6.informatik.uni-dortmund.de>
|
||||
Brian J. Watson <bjbrew@power.net>
|
||||
Matthew Brett <matthew.brett@mrc-cbu.cam.ac.uk>
|
||||
All methods return new objects, so, for example, '$X->add($Y)' does not
|
||||
modify '$X'.
|
||||
|
||||
$X -> add($Y); # $X not modified; output is lost
|
||||
$X = $X -> add($Y); # this works
|
||||
|
||||
Some operators are overloaded (see OVERLOADING) and allow the operand to be
|
||||
modified directly.
|
||||
|
||||
$X = $X + $Y; # this works
|
||||
$X += $Y; # so does this
|
||||
|
||||
%prep
|
||||
%setup -q -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}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
# do not perl_process_packlist (noarch)
|
||||
# remove .packlist file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README README.md
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user