From deab7d36d66132d98078c8d55874ac48231cc7a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Wed, 26 Aug 2015 08:26:36 +0200
Subject: 0.997003 bump


diff --git a/.gitignore b/.gitignore
index ef866f1..22f06b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 IO-Prompt-0.997.tar.gz
 /IO-Prompt-0.997001.tar.gz
 /IO-Prompt-0.997002.tar.gz
+/IO-Prompt-0.997003.tar.gz
diff --git a/perl-IO-Prompt.spec b/perl-IO-Prompt.spec
index db80829..76af460 100644
--- a/perl-IO-Prompt.spec
+++ b/perl-IO-Prompt.spec
@@ -1,22 +1,24 @@
-# tests require working /dev/tty - disabled by default for koji
-# see https://rt.cpan.org/Public/Bug/Display.html?id=54807
-%bcond_with     check
-
 Name:           perl-IO-Prompt
 Summary:        Interactively prompt for user input
-%global cpanver 0.997002
-Version:        0.997.002
-Release:        5%{?dist}
+%global cpanver 0.997003
+Version:        0.997.003
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        
http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/IO-Prompt-%{cpanver}.tar.gz 
 URL:            http://search.cpan.org/dist/IO-Prompt
 BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
-%if %{with check}
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
 # Run-time:
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(overload)
 BuildRequires:  perl(POSIX)
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(Term::ReadKey)
@@ -26,8 +28,7 @@ BuildRequires:  perl(Test::More)
 # Optional tests:
 BuildRequires:  perl(Test::Pod) >= 1.14
 BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
-%endif
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %{?perl_default_filter}
 
@@ -42,7 +43,7 @@ This module is no longer being maintained. Use the 
IO::Prompter module instead.
 find examples -type f -exec chmod -x {} +
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
@@ -52,11 +53,7 @@ find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm 
-f {} ';'
 %{_fixperms} %{buildroot}/*
 
 %check
-%if %{with check}
-    make test
-%else
-    echo "Not running tests unless --with check is specified"
-%endif
+make test
 
 %files
 %doc Changes README examples/
@@ -65,6 +62,9 @@ find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f 
{} ';'
 
 
 %changelog
+* Wed Aug 26 2015 Petr Pisar <ppi...@redhat.com> - 0.997.003-1
+- 0.997003 bump
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 0.997.002-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 55854a9..9cfd45f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-292048668ee6c489c61da6665bdc1c1f  IO-Prompt-0.997002.tar.gz
+7607ed49d4f88bdca43e4411af8745df  IO-Prompt-0.997003.tar.gz
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-IO-Prompt.git/commit/?h=f21&id=deab7d36d66132d98078c8d55874ac48231cc7a8
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to