|
|
766b31d |
Name: perl-Math-Int128
|
|
|
766b31d |
Version: 0.22
|
|
|
f48578d |
Release: 5%{?dist}
|
|
|
fe64cfe |
Summary: Manipulate 128-bit integers in Perl
|
|
|
766b31d |
# lib/Math/Int128.pm: GPL+ or Artistic
|
|
|
766b31d |
# lib/Math/Int128/die_on_overflow.pm: GPL+ or Artistic
|
|
|
766b31d |
# Makefile.PL: GPL+ or Artistic
|
|
|
766b31d |
# ppport.h: GPL+ or Artistic
|
|
|
766b31d |
# README.md: GPL+ or Artistic
|
|
|
766b31d |
# strtoint128.h: BSD
|
|
|
766b31d |
## Unbundled
|
|
|
766b31d |
# inc/Capture/Tiny.pm: GPL+ or Artistic
|
|
|
766b31d |
# inc/Config/AutoConf.pm: GPL+ or Artistic
|
|
|
766b31d |
License: (GPL+ or Artistic) and BSD
|
|
|
766b31d |
URL: https://metacpan.org/release/Math-Int128
|
|
|
766b31d |
Source0: https://cpan.metacpan.org/authors/id/S/SA/SALVA/Math-Int128-%{version}.tar.gz
|
|
|
766b31d |
BuildRequires: coreutils
|
|
|
766b31d |
BuildRequires: findutils
|
|
|
766b31d |
BuildRequires: gcc
|
|
|
766b31d |
BuildRequires: make
|
|
|
766b31d |
BuildRequires: perl-devel
|
|
|
766b31d |
BuildRequires: perl-generators
|
|
|
766b31d |
BuildRequires: perl-interpreter
|
|
|
766b31d |
BuildRequires: perl(:VERSION) >= 5.6
|
|
|
766b31d |
# Module::CAPIMaker not used
|
|
|
766b31d |
BuildRequires: perl(Config)
|
|
|
766b31d |
BuildRequires: perl(Config::AutoConf)
|
|
|
766b31d |
# ExtUtils:CBuilder for Config::AutoConf->check_default_headers()
|
|
|
766b31d |
BuildRequires: perl(ExtUtils::CBuilder)
|
|
|
766b31d |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
766b31d |
BuildRequires: perl(lib)
|
|
|
766b31d |
BuildRequires: perl(strict)
|
|
|
766b31d |
BuildRequires: perl(warnings)
|
|
|
766b31d |
# Run-time:
|
|
|
766b31d |
BuildRequires: perl(constant)
|
|
|
766b31d |
BuildRequires: perl(Exporter)
|
|
|
766b31d |
BuildRequires: perl(Math::Int64) >= 0.51
|
|
|
766b31d |
BuildRequires: perl(overload)
|
|
|
766b31d |
BuildRequires: perl(XSLoader)
|
|
|
766b31d |
# Tests:
|
|
|
766b31d |
BuildRequires: perl(blib)
|
|
|
766b31d |
BuildRequires: perl(File::Spec)
|
|
|
766b31d |
BuildRequires: perl(integer)
|
|
|
766b31d |
BuildRequires: perl(IO::Handle)
|
|
|
766b31d |
BuildRequires: perl(IPC::Open3)
|
|
|
766b31d |
BuildRequires: perl(Math::BigInt)
|
|
|
766b31d |
# Pod::Wordlist not used
|
|
|
766b31d |
# Test::CPAN::Changes not used
|
|
|
766b31d |
# Test::EOL not used
|
|
|
766b31d |
# Test::NoTabs not used
|
|
|
766b31d |
# Test::Pod not used
|
|
|
766b31d |
# Test::Spelling not used
|
|
|
766b31d |
# Test::Synopsis not used
|
|
|
766b31d |
BuildRequires: perl(Test::More) >= 0.96
|
|
|
766b31d |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
766b31d |
# This software needs a compiler with a 128-bit integer type. GCC for 32-bit
|
|
|
4c3f421 |
# targets does not support it. Bugs #1871733, #1871735.
|
|
|
fe64cfe |
ExcludeArch: %{arm32} %{ix86}
|
|
|
766b31d |
|
|
|
766b31d |
%description
|
|
|
766b31d |
This module adds support for 128-bit integers, signed and unsigned, to Perl.
|
|
|
766b31d |
|
|
|
766b31d |
%prep
|
|
|
766b31d |
%setup -q -n Math-Int128-%{version}
|
|
|
766b31d |
# Remove the bundled modules
|
|
|
766b31d |
rm -r ./inc
|
|
|
766b31d |
perl -i -ne 'print $_ unless m{\Ainc/}' MANIFEST
|
|
|
766b31d |
|
|
|
766b31d |
%build
|
|
|
766b31d |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
766b31d |
%{make_build}
|
|
|
766b31d |
|
|
|
766b31d |
%install
|
|
|
766b31d |
%{make_install}
|
|
|
766b31d |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
|
|
766b31d |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
766b31d |
|
|
|
766b31d |
%check
|
|
|
766b31d |
unset AUTHOR_TESTING RELEASE_TESTING
|
|
|
766b31d |
make test
|
|
|
766b31d |
|
|
|
766b31d |
%files
|
|
|
766b31d |
%doc Changes README.md
|
|
|
766b31d |
%{perl_vendorarch}/auto/*
|
|
|
766b31d |
%{perl_vendorarch}/Math*
|
|
|
766b31d |
%{_mandir}/man3/*
|
|
|
766b31d |
|
|
|
766b31d |
%changelog
|
|
|
f48578d |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-5
|
|
|
f48578d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
f48578d |
|
|
|
85e475f |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-4
|
|
|
85e475f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
85e475f |
|
|
|
53e0ef1 |
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.22-3
|
|
|
53e0ef1 |
- Perl 5.34 rebuild
|
|
|
53e0ef1 |
|
|
|
a0e399a |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-2
|
|
|
a0e399a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
a0e399a |
|
|
|
766b31d |
* Fri Aug 07 2020 Petr Pisar <ppisar@redhat.com> 0.22-1
|
|
|
766b31d |
- Specfile autogenerated by cpanspec 1.78.
|