Accepting request 65718 from devel:languages:perl

Accepted submit request 65718 from user coolo

OBS-URL: https://build.opensuse.org/request/show/65718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Tty?expand=0&rev=14
This commit is contained in:
Sascha Peilicke 2011-04-01 08:30:10 +00:00 committed by Git OBS Bridge
commit 8f10d7daf8
4 changed files with 60 additions and 25 deletions

View File

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

3
IO-Tty-1.10.tar.gz Normal file
View File

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Mar 31 18:15:58 UTC 2011 - coolo@novell.com
- update to 1.10
* CPAN testers clean. Bumping to release version 1.10
* RT 60788 - Better error reporting on Operating Systems
that can't set a controlling terminal e.g. BeOS
* CPAN testers looks clean. Internal testing done on perl 5.6
* Bump version to 1.09 and release to CPAN
* RT 61642 - Fix file number test to work without hang on cygwin
* Update all versions to the new version
* RT 45008 - only try TIOCSCTTY if we don't have a ctty
* RT 53883 - IO::Tty detection on BeOS w/fix
* RT 60014 - better META.yml by modernizing Makefile.PL
* RT 44771 - Add _ to list of escape characters for compiler
so it'll compile on windows This is experimental pending a
successful dev release
-------------------------------------------------------------------
Wed Dec 1 13:33:05 UTC 2010 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package perl-IO-Tty (Version 1.08)
# spec file for package perl-IO-Tty (Version 1.10)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -15,39 +15,56 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-IO-Tty
%define cpan_name IO-Tty
Summary: Low-level allocate a pseudo-Tty, import constants
Version: 1.08
Release: 10
Version: 1.10
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
%define cpan_name IO-Tty
Summary: Low-level allocate a pseudo-Tty, import constants.
Url: http://search.cpan.org/dist/IO-Tty/
#Source: http://www.cpan.org/authors/id/R/RG/RGIERSIG/IO-Tty-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/T/TO/TODDR/IO-Tty-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
IO::Tty is used internally by IO::Pty to create a pseudo-tty. You wouldn't
want to use it directly except to import constants, use IO::Pty. For a
list of importable constants, see IO::Tty::Constant.
'IO::Tty' is used internally by 'IO::Pty' to create a pseudo-tty. You
wouldn't want to use it directly except to import constants, use 'IO::Pty'.
For a list of importable constants, see the IO::Tty::Constant manpage.
Authors:
--------
Graham Barr <gbarr@ti.com>
Nick Ing-Simmons <nik@tiuk.ti.com>
Windows is now supported, but ONLY under the Cygwin environment, see the
http://sources.redhat.com/cygwin/ manpage.
Please note that pty creation is very system-dependend. From my experience,
any modern POSIX system should be fine. Find below a list of systems that
'IO::Tty' should work on. A more detailed table (which is slowly getting
out-of-date) is available from the project pages document manager at
SourceForge the http://sourceforge.net/projects/expectperl/ manpage.
If you have problems on your system and your system is listed in the
"verified" list, you probably have some non-standard setup, e.g. you
compiled your Linux-kernel yourself and disabled ptys (bummer!). Please ask
your friendly sysadmin for help.
If your system is not listed, unpack the latest version of 'IO::Tty', do a
''perl Makefile.PL; make; make test; uname -a'' and send me
(_RGiersig@cpan.org_) the results and I'll see what I can deduce from that.
There are chances that it will work right out-of-the-box...
If it's working on your system, please send me a short note with details
(version number, distribution, etc. 'uname -a' and 'perl -V' is a good
start; also, the output from "perl Makefile.PL" contains a lot of
interesting info, so please include that as well) so I can get an overview.
Thanks!
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
@ -59,10 +76,10 @@ Authors:
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,-)
%defattr(644,root,root,755)
%doc ChangeLog README try
%changelog