2.026 bump

This commit is contained in:
Petr Písař 2018-01-12 15:18:25 +01:00
parent 0aa8e0a99c
commit b9b3e680d6
4 changed files with 7 additions and 35 deletions

1
.gitignore vendored
View File

@ -29,3 +29,4 @@
/Socket-2.023.tar.gz
/Socket-2.024.tar.gz
/Socket-2.025.tar.gz
/Socket-2.026.tar.gz

View File

@ -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! */

View File

@ -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 <ppisar@redhat.com> - 4:2.026-1
- 2.026 bump
* Fri Jan 12 2018 Petr Pisar <ppisar@redhat.com> - 4:2.025-2
- Fix compiler warnings (CPAN RT#124044)

View File

@ -1 +1 @@
SHA512 (Socket-2.025.tar.gz) = ea785d44f627367cf19ae105b13df1ef504566ced00f109e1f8529be0d6c8654461a9aee8bd7438a104450ae6ecf7690c6c30e654e2cb2adb16b78b15cc369fe
SHA512 (Socket-2.026.tar.gz) = 794ce9b7a34920713c917d2cf89b8c5161e51dc9cfcb986a98b7941907944852b888d0cba6293125f0ee8568aa5eb4fd6f8e7c632ac89a9b177e0c9a6588b116