From 6c0d9cf3c6e8457d5d53b95c8a6c7f5acd9fc582d5442997c996bef04bc85f81 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Mon, 22 Jan 2018 21:17:04 +0000 Subject: [PATCH] Accepting request 559563 from home:avindra - updated to 0.28 * aclocal.m4 (IPv6_CHECK_INET_NTOP): inet_ntop(3) may returns IPv4-compatible IPv6 address. [cpan #113950] - includes fix from 0.27 * t/use.t: We still support an environment where AF_INET6 is not defined - includes changes from 0.26 * Makefile.PL: Make Socket6 buildable on Android. [cpan #98181] * system inet_ntop broken in darwin. [cpan #113005] * gailookup.pl.in: Add -r option to do reverse lookup * gailookup.pl.in: Add awareness of AI_ALL and AI_V4MAPPED * gailookup.pl.in: Add -P option to ease to specify port number - cleanup spec file with spec-cleaner - split tests into %check section OBS-URL: https://build.opensuse.org/request/show/559563 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Socket6?expand=0&rev=26 --- Socket6-0.25.tar.gz | 3 --- Socket6-0.28.tar.gz | 3 +++ perl-Socket6.changes | 18 ++++++++++++++++++ perl-Socket6.spec | 22 +++++++++++----------- 4 files changed, 32 insertions(+), 14 deletions(-) delete mode 100644 Socket6-0.25.tar.gz create mode 100644 Socket6-0.28.tar.gz diff --git a/Socket6-0.25.tar.gz b/Socket6-0.25.tar.gz deleted file mode 100644 index d0b061a..0000000 --- a/Socket6-0.25.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da746f8e7740b4ef66f4ff70dfad4e90f001a47a4803de66b7d7e0bdc924baa9 -size 58057 diff --git a/Socket6-0.28.tar.gz b/Socket6-0.28.tar.gz new file mode 100644 index 0000000..d952255 --- /dev/null +++ b/Socket6-0.28.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfd49ab99f3197c99285fed4683c4edc06277c1e4453f593e694d7bff0974586 +size 65567 diff --git a/perl-Socket6.changes b/perl-Socket6.changes index 499bba9..f4ef2d9 100644 --- a/perl-Socket6.changes +++ b/perl-Socket6.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Sat Dec 23 07:00:12 UTC 2017 - avindra@opensuse.org + +- updated to 0.28 + * aclocal.m4 (IPv6_CHECK_INET_NTOP): inet_ntop(3) may returns + IPv4-compatible IPv6 address. [cpan #113950] +- includes fix from 0.27 + * t/use.t: We still support an environment where AF_INET6 is + not defined +- includes changes from 0.26 + * Makefile.PL: Make Socket6 buildable on Android. [cpan #98181] + * system inet_ntop broken in darwin. [cpan #113005] + * gailookup.pl.in: Add -r option to do reverse lookup + * gailookup.pl.in: Add awareness of AI_ALL and AI_V4MAPPED + * gailookup.pl.in: Add -P option to ease to specify port number +- cleanup spec file with spec-cleaner +- split tests into %check section + ------------------------------------------------------------------- Mon Dec 9 11:17:36 UTC 2013 - coolo@suse.com diff --git a/perl-Socket6.spec b/perl-Socket6.spec index 02bf0ee..56a508b 100644 --- a/perl-Socket6.spec +++ b/perl-Socket6.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Socket6 # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,41 +16,41 @@ # -Name: perl-Socket6 -Version: 0.25 -Release: 0 %define cpan_name Socket6 +Name: perl-Socket6 +Version: 0.28 +Release: 0 Summary: IPv6 Sockets (Perl Module) License: BSD-3-Clause Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Socket6/ Source: http://www.cpan.org/authors/id/U/UM/UMEMOTO/%{cpan_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros +%{perl_requires} %description The IPv6 related part of the C socket.h defines and structure manipulators. %prep -%setup -n Socket6-%{version} +%setup -q -n Socket6-%{version} %build perl Makefile.PL make %{?_smp_mflags} -make test + +%check +make %{?_smp_mflags} test %install -make DESTDIR=$RPM_BUILD_ROOT install_vendor +make DESTDIR=%{buildroot} install_vendor %perl_process_packlist %files -%defattr(-,root,root) %{perl_vendorarch}/auto/Socket6 %{perl_vendorarch}/Socket6.pm -%doc %{_mandir}/man3/Socket6.3pm.gz +%{_mandir}/man3/Socket6.3pm%{ext_man} %doc MANIFEST README ChangeLog %changelog