Blame SPECS/perl-bignum.spec

c7c3b7
%{?scl:%scl_package perl-bignum}
c7c3b7
c7c3b7
Name:           %{?scl_prefix}perl-bignum
c7c3b7
Version:        0.47
c7c3b7
Release:        395%{?dist}
c7c3b7
Summary:        Transparent big number support for Perl
c7c3b7
License:        GPL+ or Artistic
c7c3b7
Group:          Development/Libraries
c7c3b7
URL:            http://search.cpan.org/dist/bignum/
c7c3b7
Source0:        http://www.cpan.org/authors/id/P/PJ/PJACKLAM/bignum-%{version}.tar.gz
c7c3b7
BuildArch:      noarch
c7c3b7
BuildRequires:  findutils
c7c3b7
BuildRequires:  make
c7c3b7
BuildRequires:  %{?scl_prefix}perl-interpreter
c7c3b7
BuildRequires:  %{?scl_prefix}perl-generators
c7c3b7
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker)
c7c3b7
BuildRequires:  %{?scl_prefix}perl(strict)
c7c3b7
BuildRequires:  %{?scl_prefix}perl(warnings)
c7c3b7
# Run-time:
c7c3b7
BuildRequires:  %{?scl_prefix}perl(:VERSION) >= 5.6.0
c7c3b7
BuildRequires:  %{?scl_prefix}perl(Carp)
c7c3b7
BuildRequires:  %{?scl_prefix}perl(constant)
c7c3b7
BuildRequires:  %{?scl_prefix}perl(Exporter)
c7c3b7
BuildRequires:  %{?scl_prefix}perl(Math::BigFloat)
c7c3b7
BuildRequires:  %{?scl_prefix}perl(Math::BigInt) >= 1.999718
c7c3b7
BuildRequires:  %{?scl_prefix}perl(Math::BigRat) >= 0.12
c7c3b7
BuildRequires:  %{?scl_prefix}perl(overload)
c7c3b7
# Optional run-time:
c7c3b7
# Math::BigInt::Lite not packaged
c7c3b7
# Tests:
c7c3b7
# Algorithm::Combinatorics not used
c7c3b7
BuildRequires:  %{?scl_prefix}perl(Test::More) >= 0.47
c7c3b7
# Optional tests:
c7c3b7
# Module::Signature not used and not helpful
c7c3b7
# Socket not used
c7c3b7
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
c7c3b7
Requires:       %{?scl_prefix}perl(Carp)
c7c3b7
Requires:       %{?scl_prefix}perl(Math::BigInt) >= 1.999718
c7c3b7
Requires:       %{?scl_prefix}perl(Math::BigRat) >= 0.12
c7c3b7
Conflicts:      %{?scl_prefix}perl < 4:5.22.0-348
c7c3b7
c7c3b7
# Remove under-specified dependencies
c7c3b7
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^%{?scl_prefix}perl\\(Math::BigInt\\)$
c7c3b7
c7c3b7
%description
c7c3b7
This package attempts to make it easier to write scripts that use BigInts and
c7c3b7
BigFloats in a transparent way.
c7c3b7
c7c3b7
%prep
c7c3b7
%setup -q -n bignum-%{version}
c7c3b7
c7c3b7
%build
c7c3b7
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
c7c3b7
c7c3b7
%install
c7c3b7
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
c7c3b7
find $RPM_BUILD_ROOT -type f -name .packlist -delete
c7c3b7
%{_fixperms} $RPM_BUILD_ROOT/*
c7c3b7
c7c3b7
%check
c7c3b7
%{?scl:scl enable %{scl} '}make test%{?scl:'}
c7c3b7
c7c3b7
%files
c7c3b7
%doc LICENSE
c7c3b7
%doc BUGS CHANGES README TODO
c7c3b7
%{perl_vendorlib}/*
c7c3b7
%{_mandir}/man3/*
c7c3b7
c7c3b7
%changelog
c7c3b7
* Mon Dec 18 2017 Petr Pisar <ppisar@redhat.com> - 0.47-395
c7c3b7
- SCL
c7c3b7
c7c3b7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.47-394
c7c3b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c7c3b7
c7c3b7
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.47-393
c7c3b7
- Perl 5.26 rebuild
c7c3b7
c7c3b7
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.47-2
c7c3b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c7c3b7
c7c3b7
* Fri Dec 23 2016 Petr Pisar <ppisar@redhat.com> 0.47-1
c7c3b7
- Specfile autogenerated by cpanspec 1.78.