Accepting request 999050 from devel:languages:perl:autoupdate

- 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

OBS-URL: https://build.opensuse.org/request/show/999050
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-INET6?expand=0&rev=38
This commit is contained in:
Tina Müller 2022-08-24 12:25:04 +00:00 committed by Git OBS Bridge
parent 8b4d7788c8
commit c3a701b461
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 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 # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 %define cpan_name IO-Socket-INET6
Summary: Object interface for AF_INET/AF_INET6 domain sockets Name: perl-IO-Socket-INET6
License: GPL-1.0+ or Artistic-1.0 Version: 2.73
Group: Development/Libraries/Perl Release: 0
Url: http://search.cpan.org/dist/IO-Socket-INET6/ License: Artistic-1.0 OR GPL-1.0-or-later
Source: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz 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
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build) >= 0.360000
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(Socket6) >= 0.12 BuildRequires: perl(Socket6) >= 0.12
Requires: perl(Socket6) >= 0.12 Requires: perl(Socket6) >= 0.12
%{perl_requires}
%description %description
IO::Socket::INET6 provides an object interface to creating and using '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 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 interface and inherits all the methods defined by IO::Socket.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{version}
%build %build
perl Build.PL installdirs=vendor perl Build.PL installdirs=vendor
./Build ./Build build flags=%{?_smp_mflags}
#exclude this test as it needs IPv6 network
mv t/io_sock6.t t/io_sock6.tt
%if %{with test}
%check %check
#disable test suite as it doesn't work at all without being online # MANUAL no testing (needs network connectivity)
#and our build hosts are completly without network interfaces #./Build test
./Build test
%endif
%install %install
./Build install destdir=%{buildroot} create_packlist=0 ./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist %perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-)
%doc ChangeLog README %doc ChangeLog README
%license LICENSE
%changelog %changelog