[packages/perl-Term-Screen-ReadLine] Up to 0.38

arekm arekm at pld-linux.org
Thu Nov 19 13:23:34 CET 2026


commit 6181b936f7606066a1c58df37b06ab8d6483ee32
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 19 01:03:45 2026 +0100

    Up to 0.38

 perl-Term-Screen-ReadLine-test.patch | 17 -----------------
 perl-Term-Screen-ReadLine.spec       | 16 +++++++++-------
 2 files changed, 9 insertions(+), 24 deletions(-)
---
diff --git a/perl-Term-Screen-ReadLine.spec b/perl-Term-Screen-ReadLine.spec
index 92036c5..028a6c0 100644
--- a/perl-Term-Screen-ReadLine.spec
+++ b/perl-Term-Screen-ReadLine.spec
@@ -7,17 +7,19 @@
 Summary:	ReadLine extension for Term::Screen Perl module
 Summary(pl.UTF-8):	Roszerzenie ReadLine dla modułu Perla Term::Screen
 Name:		perl-Term-Screen-ReadLine
-Version:	0.35
-Release:	3
+Version:	0.38
+Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	09756d236169edc8cfaecb58953fa69d
-Patch0:		%{name}-test.patch
+Source0:	https://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	6832def6a8f80447dd91866d9c3b5f22
 URL:		http://search.cpan.org/dist/Term-Screen-ReadLine/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Term-Screen
+%endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,14 +35,14 @@ Term::Screenie.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-%patch -P0 -p1
 
 %build
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
 %{__make}
 
-%{?with_tests:%{__make} test}
+# test.pl is interactive (needs a tty) unless AUTOMATED_TESTING is set
+%{?with_tests:AUTOMATED_TESTING=1 %{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
diff --git a/perl-Term-Screen-ReadLine-test.patch b/perl-Term-Screen-ReadLine-test.patch
deleted file mode 100644
index f7262a2..0000000
--- a/perl-Term-Screen-ReadLine-test.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- Term-Screen-ReadLine-0.35/test.pl.orig	2004-05-01 18:31:27.196373672 +0200
-+++ Term-Screen-ReadLine-0.35/test.pl	2004-05-01 18:31:54.225264656 +0200
-@@ -50,11 +50,13 @@
- print "$N*setstr($L) : $e secs\n\r";
- 
- print "\nAny key to continue:";
--$scr->getch();
-+#$scr->getch();
- 
- print "\n\rok $tst\n";
- $tst++;
- 
-+__END__
-+
- ###############################################################################
- 
- $scr->clrscr();
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Term-Screen-ReadLine.git/commitdiff/6181b936f7606066a1c58df37b06ab8d6483ee32



More information about the pld-cvs-commit mailing list