From 2ea84317322d9f51be77f12673b91f73ceb62e97 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 26 Jul 2023 08:48:08 +0200 Subject: [PATCH] 0.42 bump (rhbz#2225678) --- .gitignore | 1 + Makefile.PL | 1 + gating.yaml | 7 +++++++ perl-IO-Socket-IP.spec | 19 ++++++++++++------- sources | 2 +- 5 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 gating.yaml diff --git a/.gitignore b/.gitignore index 29a8acb..6a55554 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ /IO-Socket-IP-0.38.tar.gz /IO-Socket-IP-0.39.tar.gz /IO-Socket-IP-0.41.tar.gz +/IO-Socket-IP-0.42.tar.gz diff --git a/Makefile.PL b/Makefile.PL index ed6bdd7..39d68e1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -19,6 +19,7 @@ WriteMakefile( 'warnings' => '0', }, 'TEST_REQUIRES' => { + 'perl' => '5.014', 'IO::Socket::INET' => '0', 'Test::More' => '0.88', }, diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..282e16b --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/perl-IO-Socket-IP.spec b/perl-IO-Socket-IP.spec index 4a531df..457424b 100644 --- a/perl-IO-Socket-IP.spec +++ b/perl-IO-Socket-IP.spec @@ -6,8 +6,8 @@ %endif Name: perl-IO-Socket-IP -Version: 0.41 -Release: 501%{?dist} +Version: 0.42 +Release: 1%{?dist} Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6 License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/IO-Socket-IP @@ -24,6 +24,7 @@ BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter +BuildRequires: perl(:VERSION) >= 5.14 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Runtime BuildRequires: perl(base) @@ -64,7 +65,7 @@ with "%{_libexecdir}/%{name}/test". cp %{SOURCE1} . chmod -x lib/IO/Socket/IP.pm # Help generators to recognize Perl scripts -for F in $(find t/ -name '*.t'); do +for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F" chmod +x "$F" done @@ -78,27 +79,31 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} -rm -f %{buildroot}%{_libexecdir}/%{name}/t/99pod.t* +rm -f %{buildroot}%{_libexecdir}/%{name}/t/99pod.t cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh -cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" -r +cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %{_fixperms} %{buildroot}/* %check +export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') make test %files %license LICENSE %doc Changes examples README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%{perl_vendorlib}/IO/* +%{_mandir}/man3/IO::Socket::IP* %files tests %{_libexecdir}/%{name} %changelog +* Wed Jul 26 2023 Jitka Plesnikova - 0.42-1 +- 0.42 bump (rhbz#2225678) + * Thu Jul 20 2023 Fedora Release Engineering - 0.41-501 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 5a86410..4d8354a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (IO-Socket-IP-0.41.tar.gz) = f9fed6684ccaae3dcc1429d61211a24c2714af390b04a29e5a1362cfd470efc79305d3cb927d4caeb9e85302f248b2989e18332f8bef8022b427a49807f493fd +SHA512 (IO-Socket-IP-0.42.tar.gz) = ba33a29deafe26ff4f947c35ec475a5ea08c62f7a8e250cd8c83ba8913070f83819f8745a7e0311d45904dc72c38da08950737ec1ca2ea9c750d790b3cf7de58