2024-03-12 17:16:57 +00:00
committed by Git OBS Bridge
parent 7ee3b177b5
commit c90cf02d26
2 changed files with 12 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 12 17:02:35 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Thu Dec 28 03:07:05 UTC 2023 - Tina Müller <timueller+perl@suse.de>

View File

@@ -18,12 +18,13 @@
%define cpan_name Math-BigInt-FastCalc
Name: perl-Math-BigInt-FastCalc
Version: 0.5016
Version: 0.501.600
Release: 0
%define cpan_version 0.5016
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Math::BigInt::Calc with some XS for more speed
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
@@ -33,6 +34,8 @@ BuildRequires: perl(Math::BigInt) >= 2.2.1
BuildRequires: perl(Test::More) >= 0.82
Requires: perl(Carp) >= 1.22
Requires: perl(Math::BigInt) >= 2.2.1
Provides: perl(Math::BigInt::FastCalc) = %{version}
%undefine __perllib_provides
%{perl_requires}
# MANUAL BEGIN
%if 0%{?suse_version} <= 1320
@@ -69,7 +72,7 @@ loaded. For example,
use Math::BigInt lib => 'FastCalc';
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"