diff --git a/perl-Math-BigInt-FastCalc.changes b/perl-Math-BigInt-FastCalc.changes index bce0860..43608dd 100644 --- a/perl-Math-BigInt-FastCalc.changes +++ b/perl-Math-BigInt-FastCalc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 12 17:02:35 UTC 2024 - Tina Müller + +- Normalize CPAN version + See https://github.com/openSUSE/cpanspec/issues/47 for details + ------------------------------------------------------------------- Thu Dec 28 03:07:05 UTC 2023 - Tina Müller diff --git a/perl-Math-BigInt-FastCalc.spec b/perl-Math-BigInt-FastCalc.spec index f04fda8..9d67ffe 100644 --- a/perl-Math-BigInt-FastCalc.spec +++ b/perl-Math-BigInt-FastCalc.spec @@ -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}"