[packages/perl-Math-Int64] - updated to 0.57
qboosh
qboosh at pld-linux.org
Mon Sep 15 19:58:18 CEST 2025
commit f0af49c8de734000d45706df862ced8e31398702
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Sep 15 20:01:15 2025 +0200
- updated to 0.57
perl-Math-Int64.spec | 32 +++++++++++++++++++++-----------
1 file changed, 21 insertions(+), 11 deletions(-)
---
diff --git a/perl-Math-Int64.spec b/perl-Math-Int64.spec
index ee76c40..e4e6ef0 100644
--- a/perl-Math-Int64.spec
+++ b/perl-Math-Int64.spec
@@ -1,23 +1,28 @@
#
# Conditional build:
-%bcond_without tests # unit tests
+%bcond_without tests # unit tests
#
%define pdir Math
%define pnam Int64
Summary: Math::Int64 - Manipulate 64 bits integers in Perl
+Summary(pl.UTF-8): Math::Int64 - operowanie na 64-bitowych liczbach całkowitych w Perlu
Name: perl-Math-Int64
-Version: 0.54
-Release: 3
+Version: 0.57
+Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 1ad0ce8b5e903dfe9f7ffbabd8a43014
+Source0: https://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: ed431cca1c403b1078fb1b3e2860d8de
URL: https://metacpan.org/dist/Math-Int64
+BuildRequires: perl-ExtUtils-MakeMaker
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
+BuildRequires: perl(blib) >= 1.01
+BuildRequires: perl-Storable
+BuildRequires: perl-Test-Simple >= 0.96
%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -25,8 +30,9 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
This module adds support for 64 bit integers, signed and unsigned, to
Perl.
-The lexical pragma Math::Int64::die_on_overflow configures the module
-to throw an error when some operation results in integer overflow.
+%description -l pl.UTF-8
+Ten moduł dodaje do Perla obsługę 64-bitowych liczb całkowitych -
+zarówno ze znakiem, jak i bez.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -34,6 +40,7 @@ to throw an error when some operation results in integer overflow.
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
+
%{__make} \
CC="%{__cc}" \
OPTIMIZE="%{rpmcflags}"
@@ -54,10 +61,13 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc Changes INSTALL
-%{perl_vendorarch}/Math/*.pm
+%doc Changes README.md
+%{perl_vendorarch}/Math/Int64.pm
%{perl_vendorarch}/Math/Int64
+%{perl_vendorarch}/Math/UInt64.pm
%dir %{perl_vendorarch}/auto/Math/Int64
-%attr(755,root,root) %{perl_vendorarch}/auto/Math/Int64/*.so
-%{_mandir}/man3/Math::*Int64*
+%attr(755,root,root) %{perl_vendorarch}/auto/Math/Int64/Int64.so
+%{_mandir}/man3/Math::Int64.3pm*
+%{_mandir}/man3/Math::Int64::*.3pm*
+%{_mandir}/man3/Math::UInt64.3pm*
%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Math-Int64.git/commitdiff/f0af49c8de734000d45706df862ced8e31398702
More information about the pld-cvs-commit
mailing list