Christian Wittmer
2009-06-26 12:28:18 +00:00
committed by Git OBS Bridge
parent 004c3252e4
commit 0fe1e4ee92
4 changed files with 112 additions and 31 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea4662a3dc47b79b06837e64824cb32cd8c1919439772fe38f4b9e89bebad46e
size 49006

3
IO-1.25.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0e318ae62660ae02b1366dae232324983dc118ef6d4e779f2580615d447e9ce
size 47915

40
perl-IO.changes Normal file
View File

@@ -0,0 +1,40 @@
-------------------------------------------------------------------
Fri Jun 26 14:23:56 CEST 2009 - chris@computersalat.de
- update to 1.25
- IO 1.25 -- Wed May 13 18:37:33 CDT 2009
* Fix test warnings in io_dir
* skip tests known to cause a segfault 5.10.0
- IO 1.24 -- Mon May 11 14:15:51 CDT 2009
* Make Makefile.PL usable by core and CPAN
* Reorganize files to be under lib/ directory structure now matches core perl
* Update with following changes made to core perl distribution
* Silence Win32 compiler warning in IO.xs
* Make non-blocking mode work on Windows in IO::Socket::INET
* fix some missing parts of IO::Handle pod
* Implement IO::Handle::say the same way as the builtin say().
* Undo io_linenum.t part of #34148. It was io_multihomed.t
that I meant (my mistake), and that is now covered by #34155.
* watchdog() some IO tests
* Some more missing isGV_with_GP()s
* IO::Dir destructor
* IO::Socket::INET unnecessarily resolves "udp"
* IO::Handle->say should ignore $\ (bug #49266)
* consting IO.xs
* Net::SMTP can't send large messages with bleadperl
* Fix for IO::Socket send method
* Fixes for the test suite on OS/2
* Silence VC++ compiler warnings
* IO::Socket's IO.xs fails to compile
* IO::Socket::connect returns wrong errno on timeout
* Coverity correctly reports that gv might (just) be NULL. So don't derefernece it if it is.
* Simplify tests for fork() capabilities
* Fix syntax error in io_pipe test
* Making IO::Socket pass test on Win32
* ext/IO/t/io_unix.t
- added perl-macros
o autogen filelist with perl_gen_filelist
- spec mods
o added header
o clean up code

View File

@@ -1,19 +1,48 @@
%define cpan_name IO #
# spec file for package perl-IO
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Name: perl-%cpan_name # Please submit bugfixes or comments via http://bugs.opensuse.org/
Version: 1.2301 #
Release: 1
Provides: %cpan_name
Requires: perl = %{perl_version}
Group: Development/Libraries/Perl
License: Artistic
URL: http://search.cpan.org/dist/IO/
Summary: load various IO modules
Source: %cpan_name-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# norootforbuild
#Distribution: %dist
#Packager: %packager
#Vendor: %vendor
Name: perl-IO
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Load various IO modules
Version: 1.25
Release: 1
License: Artistic
Group: Development/Libraries/Perl
URL: http://search.cpan.org/dist/IO/
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl = %{perl_version}
#Provides: %{cpan_name}
#-------------------------------------------------------------------------------
%description %description
IO provides a simple mechanism to load several of the IO modules in one go. The IO modules belonging to the core are: #-------------------------------------------------------------------------------
%{cpan_name} module for perl
IO provides a simple mechanism to load several of the IO modules in one go.
The IO modules belonging to the core are:
IO::Handle IO::Handle
IO::Seekable IO::Seekable
@@ -24,32 +53,44 @@ IO provides a simple mechanism to load several of the IO modules in one go. The
IO::Select IO::Select
IO::Poll IO::Poll
Authors: Graham Barr <gbarr@pobox.com>
--------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%prep %prep
%setup -q -n %cpan_name-%{version} #-------------------------------------------------------------------------------
%setup -q -n %{cpan_name}-%{version}
#-------------------------------------------------------------------------------
%build %build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" #-------------------------------------------------------------------------------
make CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
make test %{__make}
%check
%{__make} test
#-------------------------------------------------------------------------------
%install %install
make DESTDIR=$RPM_BUILD_ROOT install_vendor #-------------------------------------------------------------------------------
%perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
#-------------------------------------------------------------------------------
%clean %clean
# clean up the hard disc after build #-------------------------------------------------------------------------------
rm -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files #-------------------------------------------------------------------------------
%files -f %{name}.files
#-------------------------------------------------------------------------------
%defattr(-,root,root) %defattr(-,root,root)
%doc %{_mandir}/man?/* %doc ChangeLog README
%{perl_vendorarch}/IO
%{perl_vendorarch}/IO.pm
%{perl_vendorarch}/auto/IO
/var/adm/perl-modules/%{name}
%doc ChangeLog MANIFEST README SIGNATURE
%changelog -n %{name} #-------------------------------------------------------------------------------
%changelog
#-------------------------------------------------------------------------------
* Sun Jan 19 2008 - gerrit.beine@googlemail.com * Sun Jan 19 2008 - gerrit.beine@googlemail.com
- moved to openSUSE Build Service - moved to openSUSE Build Service
* Thu Dec 06 2007 - gerrit@beine-computer.de * Thu Dec 06 2007 - gerrit@beine-computer.de