Update description

This commit is contained in:
Petr Písař 2012-11-08 10:58:45 +01:00
parent 91a4863a5d
commit bd05321e4a
2 changed files with 14 additions and 11 deletions

View File

@ -1,2 +1,2 @@
from Config import *
addFilter("spelling-error .* ph");
addFilter("spelling-error .* (hostname|ph|setsockopt)");

View File

@ -1,15 +1,15 @@
%global cpan_version 2.006
Name: perl-Socket
Version: %(eval echo '%{cpan_version}' | tr '_' '.')
Release: 1%{?dist}
Summary: C socket.h defines and structure manipulators
Release: 2%{?dist}
Summary: Networking constants and support functions
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Socket/
Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Socket-%{cpan_version}.tar.gz
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(ExtUtils::Constant) >= 0.23
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
@ -22,11 +22,12 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
%{?perl_default_filter}
%description
This module is just a translation of the C socket.h file. Unlike the old
mechanism of requiring a translated socket.ph file, this uses the h2xs program
(see the Perl source distribution) and your native C compiler. This means
that it has a far more likely chance of getting the numbers right. This
includes all of the commonly used pound-defines like AF_INET, SOCK_STREAM, etc.
This module provides a variety of constants, structure manipulators and other
functions related to socket-based networking. The values and functions
provided are useful when used in conjunction with Perl core functions such as
socket(), setsockopt() and bind(). It also provides several other support
functions, mostly for dealing with conversions of network addresses between
human-readable and native binary forms, and for hostname resolver operations.
%prep
%setup -q -n Socket-%{cpan_version}
@ -36,10 +37,9 @@ includes all of the commonly used pound-defines like AF_INET, SOCK_STREAM, etc.
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@ -52,6 +52,9 @@ make test
%{_mandir}/man3/*
%changelog
* Thu Nov 08 2012 Petr Pisar <ppisar@redhat.com> - 2.006-2
- Update description
* Mon Aug 20 2012 Petr Pisar <ppisar@redhat.com> - 2.006-1
- 2.006 bump