From b9b3e680d62026b741adf6e2918caea07b1d9e1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 12 Jan 2018 15:18:25 +0100 Subject: [PATCH] 2.026 bump --- .gitignore | 1 + Socket-2.025-rt124044.patch | 29 ----------------------------- perl-Socket.spec | 10 +++++----- sources | 2 +- 4 files changed, 7 insertions(+), 35 deletions(-) delete mode 100644 Socket-2.025-rt124044.patch diff --git a/.gitignore b/.gitignore index 8b0d9c5..9a5e9d0 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ /Socket-2.023.tar.gz /Socket-2.024.tar.gz /Socket-2.025.tar.gz +/Socket-2.026.tar.gz diff --git a/Socket-2.025-rt124044.patch b/Socket-2.025-rt124044.patch deleted file mode 100644 index fa70b1d..0000000 --- a/Socket-2.025-rt124044.patch +++ /dev/null @@ -1,29 +0,0 @@ -=== modified file 'Makefile.PL' ---- Makefile.PL 2018-01-08 20:07:01 +0000 -+++ Makefile.PL 2018-01-11 22:47:53 +0000 -@@ -80,7 +80,7 @@ - # -Dfoo func() $Config{key} - HAS_GETADDRINFO => [ "getaddrinfo", "d_getaddrinfo" ], - HAS_GETNAMEINFO => [ "getnameinfo", "d_getnameinfo" ], -- HAS_GAI_STRERROR => [ "gai_strerror" ], -+ HAS_GAI_STRERROR => [ "gai_strerror", "d_gai_strerror" ], - HAS_INET_ATON => [ "inet_aton", "d_inetaton" ], - HAS_INETNTOP => [ "inet_ntop", "d_inetntop" ], - HAS_INETPTON => [ "inet_pton", "d_inetpton" ], - -=== modified file 'Socket.xs' ---- Socket.xs 2018-01-08 22:43:12 +0000 -+++ Socket.xs 2018-01-11 22:39:17 +0000 -@@ -826,8 +826,9 @@ - sun_ad.sun_family = AF_UNIX; - pathname_pv = SvPV(pathname,len); - if (len > sizeof(sun_ad.sun_path)) { -- warn("Path length (%d) is longer than maximum supported length" -- " (%d) and will be truncated", len, sizeof(sun_ad.sun_path)); -+ warn("Path length (%" UVuf ") is longer than maximum supported length" -+ " (%" UVuf ") and will be truncated", -+ (UV)len, (UV)sizeof(sun_ad.sun_path)); - len = sizeof(sun_ad.sun_path); - } - # ifdef OS2 /* Name should start with \socket\ and contain backslashes! */ - diff --git a/perl-Socket.spec b/perl-Socket.spec index 1a2140b..12b9ec4 100644 --- a/perl-Socket.spec +++ b/perl-Socket.spec @@ -1,13 +1,11 @@ Name: perl-Socket Epoch: 4 -Version: 2.025 -Release: 2%{?dist} +Version: 2.026 +Release: 1%{?dist} Summary: Networking constants and support functions License: GPL+ or Artistic URL: http://search.cpan.org/dist/Socket/ Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Socket-%{version}.tar.gz -# Fix compiler warnings, CPAN RT#124044 -Patch0: Socket-2.025-rt124044.patch BuildRequires: findutils BuildRequires: gcc BuildRequires: make @@ -44,7 +42,6 @@ human-readable and native binary forms, and for hostname resolver operations. %prep %setup -q -n Socket-%{version} -%patch0 -p0 %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" @@ -66,6 +63,9 @@ make test %{_mandir}/man3/* %changelog +* Fri Jan 12 2018 Petr Pisar - 4:2.026-1 +- 2.026 bump + * Fri Jan 12 2018 Petr Pisar - 4:2.025-2 - Fix compiler warnings (CPAN RT#124044) diff --git a/sources b/sources index dbc17ed..29a1df3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Socket-2.025.tar.gz) = ea785d44f627367cf19ae105b13df1ef504566ced00f109e1f8529be0d6c8654461a9aee8bd7438a104450ae6ecf7690c6c30e654e2cb2adb16b78b15cc369fe +SHA512 (Socket-2.026.tar.gz) = 794ce9b7a34920713c917d2cf89b8c5161e51dc9cfcb986a98b7941907944852b888d0cba6293125f0ee8568aa5eb4fd6f8e7c632ac89a9b177e0c9a6588b116