From 69be3bf91f8c6c85db3f44fb4d6798ad02faec99830bd0e3e05855e63a97e9f6 Mon Sep 17 00:00:00 2001 From: Luiz Fernando Ranghetti Date: Mon, 13 Sep 2021 14:12:55 +0000 Subject: [PATCH] Accepting request 918738 from home:elchevive:branches:devel:languages:perl version update OBS-URL: https://build.opensuse.org/request/show/918738 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/po4a?expand=0&rev=73 --- ...48eda3ebd66eec30a34a377c7a00c6f8e36c.patch | 29 ------------------- po4a-0.63.tar.gz | 3 -- po4a-0.64.tar.gz | 3 ++ po4a.changes | 20 +++++++++++++ po4a.spec | 4 +-- 5 files changed, 24 insertions(+), 35 deletions(-) delete mode 100644 a69b48eda3ebd66eec30a34a377c7a00c6f8e36c.patch delete mode 100644 po4a-0.63.tar.gz create mode 100644 po4a-0.64.tar.gz diff --git a/a69b48eda3ebd66eec30a34a377c7a00c6f8e36c.patch b/a69b48eda3ebd66eec30a34a377c7a00c6f8e36c.patch deleted file mode 100644 index 62d3fa7..0000000 --- a/a69b48eda3ebd66eec30a34a377c7a00c6f8e36c.patch +++ /dev/null @@ -1,29 +0,0 @@ -From a69b48eda3ebd66eec30a34a377c7a00c6f8e36c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Jean-No=C3=ABl=20Avila?= -Date: Thu, 20 May 2021 08:48:25 +0200 -Subject: [PATCH] Instead of using a regex, use subsbtring matching for flags - -This change mitigates #302 when perl exhibits the bug -https://github.com/Perl/perl5/issues/18604 - -and seems to speed up flag matching. - -fix #302 ---- - NEWS | 1 + - lib/Locale/Po4a/Po.pm | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -diff --git a/lib/Locale/Po4a/Po.pm b/lib/Locale/Po4a/Po.pm -index 5127bf6ea..16c0689fe 100644 ---- a/lib/Locale/Po4a/Po.pm -+++ b/lib/Locale/Po4a/Po.pm -@@ -1467,7 +1467,7 @@ sub push_raw { - $flags = " $flags "; - $flags =~ s/,/ /g; - foreach my $flag (@known_flags) { -- if ( $flags =~ /\s$flag\s/ ) { # if flag to be set -+ if (index($flags, " $flag ") != -1) { # if flag to be set - unless ( defined( $self->{po}{$msgid}{'flags'} ) - && $self->{po}{$msgid}{'flags'} =~ /\b$flag\b/ ) - { diff --git a/po4a-0.63.tar.gz b/po4a-0.63.tar.gz deleted file mode 100644 index 9d87273..0000000 --- a/po4a-0.63.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e21be3ee545444bae2fe6a44aeb9d320604708cc2e4c601bcb3cc440db75b4ce -size 4067940 diff --git a/po4a-0.64.tar.gz b/po4a-0.64.tar.gz new file mode 100644 index 0000000..d28c975 --- /dev/null +++ b/po4a-0.64.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34d14042e1925cf9a77649cb64f5b900125d2fc9ca5298c67889a76c2d3975e5 +size 4121565 diff --git a/po4a.changes b/po4a.changes index 7b3323d..e691b84 100644 --- a/po4a.changes +++ b/po4a.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Sep 13 14:02:47 UTC 2021 - Luiz Fernando Ranghetti + +- Update to version 0.64 +- Remove a69b48eda3ebd66eec30a34a377c7a00c6f8e36c.patch (included in this +release) + +Asciidoc: + * Detect sublevel description lists with ::: + * Don't split in attributes include:: and ifeval:: lines (Github's #298) + +Pod: + * Don't wrap textblocks, as it may break C<> markup (similar to Github's #242) + +Core: + * Mitigate Perl bug #18604 (simplify a regexp into a substring index) (Github's #302) + * Improve the consistency of all our module lists (related to Github's #136) + Thanks Viet Than. + + ------------------------------------------------------------------- Fri Sep 10 20:17:45 UTC 2021 - Marcus Rueckert diff --git a/po4a.spec b/po4a.spec index 347c4b1..ab3c5b8 100644 --- a/po4a.spec +++ b/po4a.spec @@ -17,7 +17,7 @@ Name: po4a -Version: 0.63 +Version: 0.64 Release: 0 Summary: Framework to translate documentation and other materials License: GPL-2.0-only @@ -28,7 +28,6 @@ Group: Development/Tools/Other %endif URL: https://po4a.org/ Source: https://github.com/mquinson/po4a/releases/download/v%{version}/%{name}-%{version}.tar.gz -Patch0: https://github.com/mquinson/po4a/commit/a69b48eda3ebd66eec30a34a377c7a00c6f8e36c.patch %if "%{_vendor}" == "debbuild" BuildRequires: deb-perl-macros @@ -108,7 +107,6 @@ po4a supports currently the following formats: %prep %setup -q -%patch0 -p1 %build perl Build.PL installdirs=vendor