1
0
perl-Sub-Quote/perl-Sub-Quote.spec
Tina Müller 7cc519ff49 Accepting request 734978 from devel:languages:perl:autoupdate
- updated to 2.006006
   see /usr/share/doc/packages/perl-Sub-Quote/Changes
  2.006006 - 2019-10-01
    - change quotify to use longest form of floating point numbers if unable to
      find a perfectly accurate representation
    - updated documentation for quotify to reflect handling of floating point
      numbers
    - don't try to copy hints hash entries that look like references (RT#122698)
  
  2.006_005 - 2019-09-06
    - additional fixes for quotify for floating point numbers to be faster and
      should always be able to maintain accuracy
  
  2.006_004 - 2019-04-24
    - change quotify of NaNs to simpler calculation
    - avoid ever triggering exceptions when testing for quotify on false values
    - skip quotify Inf and NaN tests if perl is compiled without support for
      them
    - fix quotify of very large or very small numbers
    - fix accuracy of quotify on high precision numbers when perl is compiled
      with quadmath
    - quotify will use hex floats when needed for full accuracy if they are
      available
    - change tests of quotify for floating point numbers to allow a small amount
      of inaccuracy, since decimal floats can't always be accurate

OBS-URL: https://build.opensuse.org/request/show/734978
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Sub-Quote?expand=0&rev=11
2019-10-07 10:54:47 +00:00

62 lines
1.8 KiB
RPMSpec

#
# spec file for package perl-Sub-Quote
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Sub-Quote
Version: 2.006006
Release: 0
%define cpan_name Sub-Quote
Summary: Efficient generation of subroutines via string eval
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Fatal) >= 0.003
BuildRequires: perl(Test::More) >= 0.94
Recommends: perl(Sub::Name) >= 0.08
%{perl_requires}
%description
This package provides performant ways to generate subroutines from strings.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%license LICENSE
%changelog