Automatic update to v0.960.0 (0.96) #2

Merged
okurz merged 1 commits from cpanmirror/perl-String-Print:autoupdate into main 2025-12-13 00:13:03 +01:00
4 changed files with 59 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b3cd677adb7a40cb183bd6c60db80d96adcabd5aae27e324e3ee37e3275229b
size 22282

BIN
String-Print-1.02.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,47 @@
-------------------------------------------------------------------
Wed Dec 10 05:36:42 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 1.20.0 (1.02)
see /usr/share/doc/packages/perl-String-Print/ChangeLog
version 1.02: Tue 9 Dec 13:49:31 CET 2025
Changes:
- remove the blank before kB in BYTES.
Fixes:
- remove correct redundant separator from thousands in %d
- do not use %F and %T in date formats, for broken Windows
github issue #2 [Phil Perry]
Improvements:
- flexible format for the DT modifier
- formats for DATE modifier
version 1.01: Thu 4 Dec 16:43:36 CET 2025
Improvements:
- add UNKNOWN modifier
- doc improvements
version 1.00: Wed 3 Dec 13:21:40 CET 2025
Improvements:
- add bugtracker to meta
- add ellipsis EL modifier
- add CHOP modifier
- add defaults configuration
- better document encodeFor()
- add DateTime support for time modifiers
version 0.96: Fri 12 Sep 14:01:16 CEST 2025
Improvements:
- thousands markers in %d
- add date modifier RFC5322
- add modifier '='
- further documentation improvements
version 0.95: Mon 8 Sep 14:06:53 CEST 2025
Changes:
- require 5.16
Fixes:
- printp formats which start with a '%' were not processed
Improvements:
- modifier HTML
- add .gitignore
- convert to OODoc 3.03
-------------------------------------------------------------------
Mon Mar 2 03:14:57 UTC 2020 - <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-String-Print
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%define cpan_name String-Print
Name: perl-String-Print
Version: 0.940.0
Version: 1.20.0
Release: 0
# 0.94 -> normalize -> 0.940.0
%define cpan_version 0.94
# 1.02 -> normalize -> 1.20.0
%define cpan_version 1.02
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Printf extensions
URL: https://metacpan.org/release/%{cpan_name}
@@ -31,11 +31,12 @@ Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Date::Parse) >= 2.3
BuildRequires: perl(Date::Parse) >= 2.300
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(Test::More) >= 0.86
BuildRequires: perl(Test::More) >= 1
BuildRequires: perl(Test::Pod) >= 1
BuildRequires: perl(Unicode::GCString)
Requires: perl(Date::Parse) >= 2.3
Requires: perl(Date::Parse) >= 2.300
Requires: perl(HTML::Entities)
Requires: perl(Test::More) >= 0.86
Requires: perl(Unicode::GCString)
@@ -44,8 +45,8 @@ Provides: perl(String::Print) = %{version}
%{perl_requires}
%description
This module inserts values into (format) strings. It provides 'printf' and
'sprintf' alternatives via both an object oriented and a functional
This module inserts values into (format) strings. It provides 'printf()'
and 'sprintf()' alternatives via both an object oriented and a functional
interface.
Read in the DETAILS chapter below, why this module provides a better
@@ -53,7 +54,7 @@ alternative for 'printf()'. Also, some extended *examples* can be found
down there. Take a look at them first, when you start using this module!
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -68,6 +69,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%doc ChangeLog README README.md
%doc ChangeLog README.md
%changelog