From 99e0b390cc69623e6ba0a7812eda72a6cd7b2c2ce5074882344ca8e128dde278 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Mon, 27 Sep 2010 14:06:34 +0000 Subject: [PATCH] Accepting request 49165 from devel:languages:perl checked in (request 49165) OBS-URL: https://build.opensuse.org/request/show/49165 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Tty?expand=0&rev=9 --- perl-IO-Tty.changes | 5 ----- perl-IO-Tty.spec | 43 +++++++++++++++++++------------------------ 2 files changed, 19 insertions(+), 29 deletions(-) diff --git a/perl-IO-Tty.changes b/perl-IO-Tty.changes index ec295c1..ffd573b 100644 --- a/perl-IO-Tty.changes +++ b/perl-IO-Tty.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Fri Sep 17 15:37:54 UTC 2010 - chris@computersalat.de - -- recreated by cpanspec 1.78 - ------------------------------------------------------------------- Sun Aug 30 16:28:12 CEST 2009 - lars@linux-schulserver.de diff --git a/perl-IO-Tty.spec b/perl-IO-Tty.spec index 0d35a86..0839820 100644 --- a/perl-IO-Tty.spec +++ b/perl-IO-Tty.spec @@ -1,7 +1,7 @@ # # spec file for package perl-IO-Tty (Version 1.08) # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -17,27 +17,22 @@ # norootforbuild + Name: perl-IO-Tty -%define cpan_name IO-Tty -Summary: Low-level allocate a pseudo-Tty, import constants +Summary: Provides an Interface to Pseudo Tty's Version: 1.08 -Release: 1 -License: GPL+ or Artistic +Release: 2 +Url: http://search.cpan.org/search?module=IO::Tty +License: GPL v2 or later Group: Development/Libraries/Perl -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 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: perl -%if 0%{?suse_version} < 1120 -BuildRequires: perl-macros -%endif Requires: perl = %{perl_version} +Source: IO-Tty-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build %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 a Perl module that provides an interface to pseudo tty's. + + Authors: -------- @@ -45,14 +40,14 @@ Authors: Nick Ing-Simmons %prep -%setup -q -n %{cpan_name}-%{version} +%setup -n IO-Tty-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" -%{__make} %{?_smp_mflags} +perl Makefile.PL +make %{?jobs:-j%jobs} %check -%{__make} test +make test %install %perl_make_install @@ -60,10 +55,10 @@ Authors: %perl_gen_filelist %clean -%{__rm} -rf $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT -%files -f %{name}.files -%defattr(-,root,root,-) -%doc ChangeLog README try +%files -f %name.files +%defattr(-,root,root) +%doc ChangeLog MANIFEST README %changelog