Compare commits
No commits in common. "c8-stream-5.3" and "c10s" have entirely different histories.
c8-stream-
...
c10s
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
32
.gitignore
vendored
32
.gitignore
vendored
@ -1 +1,31 @@
|
|||||||
SOURCES/IO-Socket-IP-0.39.tar.gz
|
/IO-Socket-IP-0.08.tar.gz
|
||||||
|
/IO-Socket-IP-0.09.tar.gz
|
||||||
|
/IO-Socket-IP-0.10.tar.gz
|
||||||
|
/IO-Socket-IP-0.11.tar.gz
|
||||||
|
/IO-Socket-IP-0.14.tar.gz
|
||||||
|
/IO-Socket-IP-0.15.tar.gz
|
||||||
|
/IO-Socket-IP-0.16.tar.gz
|
||||||
|
/IO-Socket-IP-0.17.tar.gz
|
||||||
|
/IO-Socket-IP-0.18.tar.gz
|
||||||
|
/IO-Socket-IP-0.19.tar.gz
|
||||||
|
/IO-Socket-IP-0.20.tar.gz
|
||||||
|
/IO-Socket-IP-0.21.tar.gz
|
||||||
|
/IO-Socket-IP-0.22.tar.gz
|
||||||
|
/IO-Socket-IP-0.23.tar.gz
|
||||||
|
/IO-Socket-IP-0.24.tar.gz
|
||||||
|
/IO-Socket-IP-0.26.tar.gz
|
||||||
|
/IO-Socket-IP-0.27.tar.gz
|
||||||
|
/IO-Socket-IP-0.28.tar.gz
|
||||||
|
/IO-Socket-IP-0.29.tar.gz
|
||||||
|
/IO-Socket-IP-0.30.tar.gz
|
||||||
|
/IO-Socket-IP-0.31.tar.gz
|
||||||
|
/IO-Socket-IP-0.32.tar.gz
|
||||||
|
/IO-Socket-IP-0.33.tar.gz
|
||||||
|
/IO-Socket-IP-0.34.tar.gz
|
||||||
|
/IO-Socket-IP-0.35.tar.gz
|
||||||
|
/IO-Socket-IP-0.36.tar.gz
|
||||||
|
/IO-Socket-IP-0.37.tar.gz
|
||||||
|
/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
|
||||||
|
@ -1 +0,0 @@
|
|||||||
4e12fc601a7d71189c4b49c2a72b46bc8f939993 SOURCES/IO-Socket-IP-0.39.tar.gz
|
|
27
Makefile.PL
Normal file
27
Makefile.PL
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
|
use ExtUtils::MakeMaker;
|
||||||
|
|
||||||
|
WriteMakefile(
|
||||||
|
'NAME' => 'IO::Socket::IP',
|
||||||
|
'VERSION_FROM' => 'lib/IO/Socket/IP.pm',
|
||||||
|
'ABSTRACT_FROM' => 'lib/IO/Socket/IP.pm',
|
||||||
|
'PREREQ_PM' => {
|
||||||
|
'base' => '0',
|
||||||
|
'Carp' => '0',
|
||||||
|
'constant' => '0',
|
||||||
|
'Errno' => '0',
|
||||||
|
'IO::Socket' => 0,
|
||||||
|
'POSIX' => '0',
|
||||||
|
'Socket' => '1.97',
|
||||||
|
'strict' => '0',
|
||||||
|
'warnings' => '0',
|
||||||
|
},
|
||||||
|
'TEST_REQUIRES' => {
|
||||||
|
'perl' => '5.014',
|
||||||
|
'IO::Socket::INET' => '0',
|
||||||
|
'Test::More' => '0.88',
|
||||||
|
},
|
||||||
|
'INSTALLDIRS' => 'site',
|
||||||
|
);
|
15
gating.yaml
Normal file
15
gating.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- !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}
|
||||||
|
|
||||||
|
# RHEL
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-*
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
2
perl-IO-Socket-IP.rpmlintrc
Normal file
2
perl-IO-Socket-IP.rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
from Config import *
|
||||||
|
addFilter("-tests.noarch: W: no-documentation");
|
@ -6,21 +6,26 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: perl-IO-Socket-IP
|
Name: perl-IO-Socket-IP
|
||||||
Version: 0.39
|
Version: 0.42
|
||||||
Release: 6%{?dist}
|
Release: 512%{?dist}
|
||||||
Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6
|
Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6
|
||||||
License: GPL+ or Artistic
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||||
Group: Development/Libraries
|
URL: https://metacpan.org/release/IO-Socket-IP
|
||||||
URL: http://search.cpan.org/dist/IO-Socket-IP/
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-%{version}.tar.gz
|
||||||
Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-%{version}.tar.gz
|
# IO-Socket-IP-0.41 moved from ExtUtils::MakeMaker to Module::Build.
|
||||||
|
# It will make problems, because IO::Socket::IP is a dual-lived package and
|
||||||
|
# needs to be built very early on Perl bootstrap, but Module::Build is not
|
||||||
|
# a core package and thus not available in the early stage of bootstrapping.
|
||||||
|
# For this reason, we create Makefile.PL and use it instead of Build.PL.
|
||||||
|
Source1: Makefile.PL
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Build
|
# Build
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-interpreter
|
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl(:VERSION) >= 5.14
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
# Runtime
|
# Runtime
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
@ -30,51 +35,171 @@ BuildRequires: perl(IO::Socket)
|
|||||||
BuildRequires: perl(POSIX)
|
BuildRequires: perl(POSIX)
|
||||||
BuildRequires: perl(Socket) >= 1.97
|
BuildRequires: perl(Socket) >= 1.97
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
BuildRequires: perl(warnings)
|
buildrequires: perl(warnings)
|
||||||
# Tests only
|
# Tests only
|
||||||
BuildRequires: perl(IO::Socket::INET)
|
BuildRequires: perl(IO::Socket::INET)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
%if %{with perl_IO_Socket_IP_enables_optional_test} && !%{defined perl_bootstrap}
|
%if %{with perl_IO_Socket_IP_enables_optional_test} && !%{defined perl_bootstrap}
|
||||||
# Optional tests only
|
# Optional tests only
|
||||||
BuildRequires: perl(Socket6)
|
|
||||||
BuildRequires: perl(Test::Pod) >= 1.00
|
BuildRequires: perl(Test::Pod) >= 1.00
|
||||||
%endif
|
%endif
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
||||||
|
|
||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module provides a protocol-independent way to use IPv4 and IPv6
|
This module provides a protocol-independent way to use IPv4 and IPv6
|
||||||
sockets, as a drop-in replacement for IO::Socket::INET. Most constructor
|
sockets, intended as a replacement for IO::Socket::INET. Most constructor
|
||||||
arguments and methods are provided in a backward-compatible way.
|
arguments and methods are provided in a backward-compatible way.
|
||||||
|
|
||||||
|
%package tests
|
||||||
|
Summary: Tests for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
Requires: perl-Test-Harness
|
||||||
|
|
||||||
|
%description tests
|
||||||
|
Tests from %{name}. Execute them
|
||||||
|
with "%{_libexecdir}/%{name}/test".
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n IO-Socket-IP-%{version}
|
%setup -q -n IO-Socket-IP-%{version}
|
||||||
|
cp %{SOURCE1} .
|
||||||
chmod -x lib/IO/Socket/IP.pm
|
chmod -x lib/IO/Socket/IP.pm
|
||||||
|
# Help generators to recognize Perl scripts
|
||||||
|
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
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||||
make %{?_smp_mflags}
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
%{make_install}
|
||||||
find %{buildroot} -type f -name .packlist -delete
|
# Install tests
|
||||||
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
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)"
|
||||||
|
EOF
|
||||||
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||||
%{_fixperms} %{buildroot}/*
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Don't do the live test
|
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
|
||||||
rm -f t/21nonblocking-connect-internet.t
|
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc Changes examples README
|
%doc Changes examples README
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/IO/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/IO::Socket::IP*
|
||||||
|
|
||||||
|
%files tests
|
||||||
|
%{_libexecdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-6
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.42-512
|
||||||
- Rebuild with enable hardening (bug #1636329)
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Fri Aug 09 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.42-511
|
||||||
|
- Perl 5.40 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.42-510
|
||||||
|
- Increase release to favour standalone package
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.42-3
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.42-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 26 2023 Jitka Plesnikova <jplesnik@redhat.com> - 0.42-1
|
||||||
|
- 0.42 bump (rhbz#2225678)
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-501
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 12 2023 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-500
|
||||||
|
- Perl 5.38 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-499
|
||||||
|
- Increase release to favour standalone package
|
||||||
|
|
||||||
|
* Mon Mar 27 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.41-493
|
||||||
|
- Package tests
|
||||||
|
|
||||||
|
* Fri Mar 24 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.41-492
|
||||||
|
- Remove not needed Socket6 package in build
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-491
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-490
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-489
|
||||||
|
- Perl 5.36 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-488
|
||||||
|
- Increase release to favour standalone package
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-480
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-479
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-478
|
||||||
|
- Perl 5.34 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-477
|
||||||
|
- Increase release to favour standalone package
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Sep 17 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-2
|
||||||
|
- Create Makefile.PL, use ExtUtils::MakeMaker instead of Module::Build
|
||||||
|
|
||||||
|
* Wed Sep 16 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-1
|
||||||
|
- 0.41 bump
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-458
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-457
|
||||||
|
- Perl 5.32 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-456
|
||||||
|
- Increase release to favour standalone package
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-441
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-440
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-439
|
||||||
|
- Perl 5.30 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-438
|
||||||
|
- Increase release to favour standalone package
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-419
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-418
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-417
|
||||||
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-416
|
||||||
|
- Increase release to favour standalone package
|
||||||
|
|
||||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-5
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
12
plans/internal.fmf
Normal file
12
plans/internal.fmf
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
summary: Private (RHEL) beakerlib tests
|
||||||
|
enabled: false
|
||||||
|
adjust:
|
||||||
|
- when: distro == rhel
|
||||||
|
enabled: true
|
||||||
|
because: private tests are accesible only within rhel pipline
|
||||||
|
discover:
|
||||||
|
- name: rhel
|
||||||
|
how: fmf
|
||||||
|
url: https://pkgs.devel.redhat.com/git/tests/perl-IO-Socket-IP
|
||||||
|
execute:
|
||||||
|
how: tmt
|
5
plans/sanity.fmf
Normal file
5
plans/sanity.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
summary: Sanity tests
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (IO-Socket-IP-0.42.tar.gz) = ba33a29deafe26ff4f947c35ec475a5ea08c62f7a8e250cd8c83ba8913070f83819f8745a7e0311d45904dc72c38da08950737ec1ca2ea9c750d790b3cf7de58
|
11
tests/upstream-tests.fmf
Normal file
11
tests/upstream-tests.fmf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
summary: Upstream tests
|
||||||
|
component: perl-IO-Socket-IP
|
||||||
|
require: perl-IO-Socket-IP-tests
|
||||||
|
test: /usr/libexec/perl-IO-Socket-IP/test
|
||||||
|
enabled: true
|
||||||
|
tag:
|
||||||
|
- rhel-buildroot
|
||||||
|
adjust:
|
||||||
|
- enabled: false
|
||||||
|
when: distro < rhel-10 or distro < centos-stream-10
|
||||||
|
continue: false
|
Loading…
Reference in New Issue
Block a user