Fix warning with undefined

This commit is contained in:
Jitka Plesnikova 2023-03-09 15:05:41 +01:00
parent c2bd83be11
commit e47208b70c
3 changed files with 9 additions and 2 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/Text-Balanced-2.05.tar.gz
/Text-Balanced-2.05_01.tar.gz
/Text-Balanced-2.06.tar.gz
/Text-Balanced-2.06-Fix-undefined-unkpos.patch

View File

@ -1,10 +1,12 @@
Name: perl-Text-Balanced
Version: 2.06
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Extract delimited text sequences from strings
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Text-Balanced
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHAY/Text-Balanced-%{version}.tar.gz
# Fix warning with undefined $unkpos (CPAN RT#146697)
Patch0: Text-Balanced-2.06-Fix-undefined-unkpos.patch
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
@ -47,6 +49,7 @@ with "%{_libexecdir}/%{name}/test".
%prep
%setup -q -n Text-Balanced-%{version}
%patch0 -p1
# Help generators to recognize Perl scripts
for F in t/*.t; do
@ -86,6 +89,9 @@ make test
%{_libexecdir}/%{name}
%changelog
* Thu Mar 09 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.06-4
- Fix warning with undefined $unkpos (bug #2172819)
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.06-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (Text-Balanced-2.06.tar.gz) = 17596fb86bb5918390a2a9585dd2ec5312a776ac4e2e28617efe311269f50534e35741c6c4a9162e00b19d6a47f0fe1afa7a65c3861bdcb5412bcdcf5463df62
SHA512 (Text-Balanced-2.06-Fix-undefined-unkpos.patch) = 659e85535064e4cb81466ca2edd08df69cfb6803aca04437cc9bce942c3249a4aa15191b27b572f90955b8520a397cc329723ae5d32f32327441f0604949e3b5