1
0

Accepting request 1062201 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/1062201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Sub-Quote?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2023-02-01 15:38:35 +00:00 committed by Git OBS Bridge
commit fae5eeb491
4 changed files with 29 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e4e2af42388fa6d2609e0e82417de7cc6be47223f576592c656c73c7524d89d
size 32485

BIN
Sub-Quote-2.006008.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sat Jan 21 03:10:25 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 2.006008
see /usr/share/doc/packages/perl-Sub-Quote/Changes
2.006008 - 2023-01-20
- drop Test::Fatal prereq
- recommend Sub::Util rather than Sub::Name
- use XString for quoting strings where possible
- move tests for quotify on perl 5.6 to author only
2.006_007 - 2022-04-05
- accurately detect numbers vs strings in quotify on perl 5.36
- accurately detect booleans in quotify on perl 5.36
- add workaround for float formatting for perls compiled to use gcvd
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 4 09:38:38 UTC 2019 - <timueller+perl@suse.de> Fri Oct 4 09:38:38 UTC 2019 - <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Sub-Quote # spec file for package perl-Sub-Quote
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,34 +16,31 @@
# #
Name: perl-Sub-Quote
Version: 2.006006
Release: 0
%define cpan_name Sub-Quote %define cpan_name Sub-Quote
Summary: Efficient generation of subroutines via string eval Name: perl-Sub-Quote
Version: 2.006008
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl Summary: Efficient generation of subroutines via string eval
Url: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Test::Fatal) >= 0.003
BuildRequires: perl(Test::More) >= 0.94 BuildRequires: perl(Test::More) >= 0.94
Recommends: perl(Sub::Name) >= 0.08 Recommends: perl(Sub::Util)
%{perl_requires} %{perl_requires}
%description %description
This package provides performant ways to generate subroutines from strings. This package provides performant ways to generate subroutines from strings.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %make_build
%check %check
make test make test
@ -54,7 +51,6 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README %doc Changes README
%license LICENSE %license LICENSE