From 3246170535557a5d9996d07e9d8a53bda3940e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 5 Jan 2023 14:35:58 +0100 Subject: [PATCH] 0.05 bump --- .gitignore | 1 + perl-Syntax-Operator-Equ.spec | 27 ++++++++++++++++++++++----- sources | 2 +- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index c587dca..fcf3b9c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /Syntax-Operator-Equ-0.02.tar.gz /Syntax-Operator-Equ-0.03.tar.gz /Syntax-Operator-Equ-0.04.tar.gz +/Syntax-Operator-Equ-0.05.tar.gz diff --git a/perl-Syntax-Operator-Equ.spec b/perl-Syntax-Operator-Equ.spec index 10686d9..9cc0d3c 100644 --- a/perl-Syntax-Operator-Equ.spec +++ b/perl-Syntax-Operator-Equ.spec @@ -9,7 +9,7 @@ %endif Name: perl-Syntax-Operator-Equ -Version: 0.04 +Version: 0.05 Release: 1%{?dist} Summary: Equality operators that distinguish undef License: GPL-1.0-or-later OR Artistic-1.0-Perl @@ -36,6 +36,11 @@ BuildRequires: perl(Test::More) >= 0.88 %if %{optional_tests} # Optional tests: BuildRequires: perl(Syntax::Keyword::Match) >= 0.08 +%if 0%{?fedora} >= 39 +# Requires PL_infix_plugin support in Perl (since 5.37.7) +BuildRequires: perl(Syntax::Operator::Equ) +BuildRequires: perl(Syntax::Operator::In) >= 0.03 +%endif BuildRequires: perl(Test::Pod) >= 1.00 %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -62,6 +67,11 @@ Requires: perl-Test-Harness Requires: perl(Test::More) >= 0.88 %if %{optional_tests} Requires: perl(Syntax::Keyword::Match) >= 0.08 +%if 0%{?fedora} >= 39 +# Requires PL_infix_plugin support in Perl (since 5.37.7) +Requires: perl(Syntax::Operator::Equ) +Requires: perl(Syntax::Operator::In) >= 0.03 +%endif %endif %description tests @@ -71,7 +81,7 @@ with "%{_libexecdir}/%{name}/test". %prep %setup -q -n Syntax-Operator-Equ-%{version} %if !%{optional_tests} -for T in t/80match-equ.t t/99pod.t; do +for T in t/80in+equ.t t/80match-equ.t t/99pod.t; do rm "$T" perl -i -ne 'print $_ unless m{^\Q'"$T"'\E}' MANIFEST done @@ -105,14 +115,21 @@ export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print %files %license LICENSE %doc Changes README -%{perl_vendorarch}/auto/* -%{perl_vendorarch}/Syntax* -%{_mandir}/man3/* +%dir %{perl_vendorarch}/auto/Syntax +%dir %{perl_vendorarch}/auto/Syntax/Operator +%{perl_vendorarch}/auto/Syntax/Operator/Equ +%dir %{perl_vendorarch}/Syntax +%dir %{perl_vendorarch}/Syntax/Operator +%{perl_vendorarch}/Syntax/Operator/Equ.pm +%{_mandir}/man3/Syntax::Operator::Equ.* %files tests %{_libexecdir}/%{name} %changelog +* Thu Jan 05 2023 Petr Pisar - 0.05-1 +- 0.05 bump + * Tue Oct 25 2022 Petr Pisar - 0.04-1 - 0.04 bump diff --git a/sources b/sources index a1c467b..afd5d3b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Syntax-Operator-Equ-0.04.tar.gz) = ca9d5d897994ee313eb8c832655fbdf7e96cf2603611fc6fba9c1bb1fffc462bdc97a25845e0a7848e9207502ec8487872775abb6de53bab2f082f11d67dd37b +SHA512 (Syntax-Operator-Equ-0.05.tar.gz) = f9b2abfabe514564b8aa22be286830933f834484ae7a9f4a7acea0c271f5b7b2cd7d3f509ac66101710e2edf996a0353f4189541bab6c5cce05f8152b0f08bac