Accepting request 43286 from home:computersalat:devel:perl

Copy from home:computersalat:devel:perl/perl-IO-Socket-INET6 via accept of submit request 43286 revision 2.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/43286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-INET6?expand=0&rev=12
This commit is contained in:
Christian Wittmer 2010-07-19 12:19:39 +00:00 committed by Git OBS Bridge
parent b85dacaab2
commit 3df2124aeb
2 changed files with 57 additions and 31 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Jul 19 12:15:39 UTC 2010 - chris@computersalat.de
- recreated by cpanspec 1.78
o fix deps
o changed to Build.PL
- noarch pkg
- added bcond_with test
-------------------------------------------------------------------
Fri Jul 16 15:08:28 CEST 2010 - anicka@suse.cz

View File

@ -1,5 +1,5 @@
#
# spec file for package perl-IO-Socket-INET6 (Version 2.61)
# spec file for package perl-IO-Socket-INET6 (Version 2.65)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,60 +17,77 @@
# norootforbuild
%bcond_with test
Name: perl-IO-Socket-INET6
BuildRequires: perl-Socket6
%define cpan_name IO-Socket-INET6
Summary: Object interface for AF_INET|AF_INET6 domain sockets
Version: 2.65
Release: 1
Requires: perl = %{perl_version}
Requires: perl-Socket6
AutoReqProv: on
Url: http://cpan.org/modules/by-module/IO/
License: Artistic License ..
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Summary: Provides an object interface to creating and using sockets
Source: IO-Socket-INET6-%{version}.tar.bz2
Url: http://search.cpan.org/dist/IO-Socket-INET6/
#Source: http://www.cpan.org/modules/by-module/IO/IO-Socket-INET6-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%if %{with test}
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
%endif
BuildRequires: perl(Carp)
BuildRequires: perl(Errno)
BuildRequires: perl(Exporter)
BuildRequires: perl(IO::Socket)
BuildRequires: perl(Socket)
BuildRequires: perl(Socket6) >= 0.12
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
Requires: perl = %{perl_version}
Requires: perl(Carp)
Requires: perl(Errno)
Requires: perl(Exporter)
Requires: perl(IO::Socket)
Requires: perl(Socket)
Requires: perl(Socket6) >= 0.12
Requires: perl(strict)
Requires: perl(warnings)
%description
IO::Socket::INET6 provides an object interface to creating and using
sockets in both AF_INET|AF_INET6 domain. It is built upon the
IO::Socket interface and inherits all the methods defined by
IO::Socket.
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.
Authors:
--------
Rafael Martinez Torres <rafael.martinez@novagnet.com>
%prep
%setup -n IO-Socket-INET6-%{version} -q
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
%{__perl} Build.PL installdirs=vendor
./Build
#exclude this test as it needs IPv6 network
mv t/io_sock6.t t/io_sock6.tt
make %{?_smp_mflags}
%check
#disable test suite as it doesn't work at all without being online
#and our build hosts are completly without network interfaces
#make test
./Build test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%perl_gen_filelist
%clean
rm -rf $RPM_BUILD_ROOT
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc ChangeLog README MANIFEST
%doc %{_mandir}/man?/*
%{perl_vendorlib}/IO
%{perl_vendorarch}/auto/IO
/var/adm/perl-modules/*
%files -f %{name}.files
%defattr(-,root,root,-)
%doc ChangeLog README
%changelog