Accepting request 728358 from home:tinita:branches:devel:languages:perl

Fix cpanspec.yml syntax
Automatic update

OBS-URL: https://build.opensuse.org/request/show/728358
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-BigInt-FastCalc?expand=0&rev=26
This commit is contained in:
Stephan Kulow
2019-09-05 18:28:05 +00:00
committed by Git OBS Bridge
parent 70b19d8bf7
commit ff75d0e74d
5 changed files with 40 additions and 17 deletions

View File

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

View File

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

View File

@@ -7,7 +7,7 @@
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
preamble: |-
%if 0%{?suse_version} <= 1320
BuildRequires: perl-Math-BigInt >= 1.999713
Requires: perl-Math-BigInt >= 1.999713

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed Sep 4 22:21:09 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
- updated to 0.5008
see /usr/share/doc/packages/perl-Math-BigInt-FastCalc/CHANGES
0.5008 2018-10-09
* Update MANIFEST.SKIP.
* Sync test files with Math-BigInt.
* Better Makefile.PL.
-------------------------------------------------------------------
Wed Sep 4 22:12:52 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
- Fix cpanspec.yml syntax and regenerate spec
-------------------------------------------------------------------
Tue Sep 25 15:23:56 UTC 2018 - pmonrealgonzalez@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Math-BigInt-FastCalc
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,36 +12,42 @@
# 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/
#
%define cpan_name Math-BigInt-FastCalc
Name: perl-Math-BigInt-FastCalc
Version: 0.5007
Version: 0.5008
Release: 0
%define cpan_name Math-BigInt-FastCalc
Summary: Math::BigInt::Calc with some XS for more speed
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/pod/Math::BigInt::FastCalc
Source0: http://www.cpan.org/authors/id/P/PJ/PJACKLAM/%{cpan_name}-%{version}.tar.gz
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Math::BigInt) >= 1.999812
BuildRequires: perl(Math::BigInt::Calc) >= 1.999812
BuildRequires: perl(Test::More) >= 0.82
Requires: perl(Math::BigInt) >= 1.999812
Requires: perl(Math::BigInt::Calc) >= 1.999812
%{perl_requires}
# MANUAL BEGIN
BuildRequires: perl(parent)
%if 0%{?suse_version} <= 1320
BuildRequires: perl-Math-BigInt >= 1.999713
Requires: perl-Math-BigInt >= 1.999713
%endif
BuildRequires: perl(parent)
# MANUAL END
%description
Math::BigInt::FastCalc inherits from Math::BigInt::Calc.
Provides support for big integer calculations. Not intended to be used by
other modules. Other modules which sport the same functions can also be
used to support Math::BigInt, like Math::BigInt::GMP or Math::BigInt::Pari.
In order to allow for multiple big integer libraries, Math::BigInt was
rewritten to use library modules for core math routines. Any module which
follows the same API as this can be used instead by using the following:
@@ -53,9 +59,6 @@ version like 'Pari'. To use this library:
use Math::BigInt lib => 'FastCalc';
Note that from Math::BigInt v1.76 onwards, FastCalc will be loaded
automatically, if possible.
%prep
%setup -q -n %{cpan_name}-%{version}
@@ -64,7 +67,7 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
make %{?_smp_mflags} test
make test
%install
%perl_make_install
@@ -74,5 +77,6 @@ make %{?_smp_mflags} test
%files -f %{name}.files
%defattr(-,root,root,755)
%doc CHANGES CREDITS README TODO
%license LICENSE
%changelog