Accepting request 999060 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/999060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-INET6?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2022-08-25 13:33:12 +00:00 committed by Git OBS Bridge
commit 67a56d3103
5 changed files with 69 additions and 41 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:85e020fa179284125fc1d08e60a9022af3ec1271077fe14b133c1785cdbf1ebb
size 27615

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6da746853253d5b4ac43191b4f69a4719595ee13a7ca676a8054cf36e6d16bb
size 27786

35
cpanspec.yml Normal file
View File

@ -0,0 +1,35 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
no_testing: needs network connectivity
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
# baz.patch: PATCH-FIX-OPENSUSE
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Aug 24 11:46:31 UTC 2022 - Dirk Stoecker <opensuse@dstoecker.de>
- updated to 2.73
see /usr/share/doc/packages/perl-IO-Socket-INET6/ChangeLog
2021-12-10 Shlomi Fish <shlomif@shlomifish.org>
* Deprecate in favour of L<IO::Socket::IP> .
* New Release IO-Socket-INET6-2.73
-------------------------------------------------------------------
Sun Feb 9 13:31:47 UTC 2014 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-IO-Socket-INET6
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,66 +12,49 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_with test
Name: perl-IO-Socket-INET6
Version: 2.72
Release: 0
%define cpan_name IO-Socket-INET6
Summary: Object interface for AF_INET/AF_INET6 domain sockets
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/IO-Socket-INET6/
Source: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
Name: perl-IO-Socket-INET6
Version: 2.73
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: [ DEPRECATED!! ] Object interface for AF_INET/AF_INET6 domain sockets
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%if %{with test}
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
%endif
BuildRequires: perl(Module::Build) >= 0.36
BuildRequires: perl(Module::Build) >= 0.360000
BuildRequires: perl(Socket6) >= 0.12
Requires: perl(Socket6) >= 0.12
%{perl_requires}
%description
IO::Socket::INET6 provides an object interface to creating and using
sockets in either AF_INET or AF_INET6 domains. It is built upon the
IO::Socket interface and inherits all the methods defined by IO::Socket.
'IO::Socket::INET6' provides an object interface to creating and using
sockets in either AF_INET or AF_INET6 domains. It is built upon the
IO::Socket interface and inherits all the methods defined by IO::Socket.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
%build
perl Build.PL installdirs=vendor
./Build
#exclude this test as it needs IPv6 network
mv t/io_sock6.t t/io_sock6.tt
%if %{with test}
./Build build flags=%{?_smp_mflags}
%check
#disable test suite as it doesn't work at all without being online
#and our build hosts are completly without network interfaces
./Build test
%endif
# MANUAL no testing (needs network connectivity)
#./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,-)
%doc ChangeLog README
%license LICENSE
%changelog