[perl-Carp-REPL] 0.16 bump

Petr Šabata psabata at fedoraproject.org
Wed Nov 12 14:25:30 UTC 2014


commit 89e2963483f538aecc99d93681766d0c46e8df61
Author: Petr Šabata <contyk at redhat.com>
Date:   Wed Nov 12 15:25:23 2014 +0100

    0.16 bump

 .gitignore          |    1 +
 perl-Carp-REPL.spec |   55 +++++++++++++++++++++++++++-----------------------
 sources             |    2 +-
 3 files changed, 32 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 88f2f9d..37f080b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Carp-REPL-0.15.tar.gz
+/Carp-REPL-0.16.tar.gz
diff --git a/perl-Carp-REPL.spec b/perl-Carp-REPL.spec
index 39b0cba..7ab650d 100644
--- a/perl-Carp-REPL.spec
+++ b/perl-Carp-REPL.spec
@@ -1,29 +1,39 @@
 Name:           perl-Carp-REPL
-Version:        0.15
-Release:        10%{?dist}
+Version:        0.16
+Release:        1%{?dist}
 Summary:        Read-eval-print-loop on die and/or warn
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Carp-REPL/
-Source0:        http://www.cpan.org/authors/id/S/SA/SARTAK/Carp-REPL-%{version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/T/TS/TSIBLEY/Carp-REPL-%{version}.tar.gz
 BuildArch:      noarch
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MM_Unix)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Runtime
 BuildRequires:  perl(Data::Dump::Streamer)
 BuildRequires:  perl(Devel::LexAlias)
-BuildRequires:  perl(Devel::REPL)
+BuildRequires:  perl(Devel::REPL::Plugin)
+BuildRequires:  perl(Devel::REPL::Script)
 BuildRequires:  perl(Devel::StackTrace::WithLexicals)
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Lexical::Persistence)
-BuildRequires:  perl(namespace::clean)
+BuildRequires:  perl(Sub::Exporter)
+# Test::Builder
+BuildRequires:  perl(warnings)
+# Tests only
+BuildRequires:  perl(Devel::REPL)
 BuildRequires:  perl(Test::Expect)
 BuildRequires:  perl(Test::More)
-Requires:       perl(Devel::REPL)
-Requires:       perl(Lexical::Persistence)
-Requires:       perl(namespace::clean)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-# Test::Expect and/or Devel::REPL is failing under mock 1.1.8 in koji
-# all is fine locally with mock 1.1.14, though
-%bcond_with expect_tests
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+Requires:       perl(Sub::Exporter)
+Requires:       perl(Devel::REPL::Script)
+Requires:       perl(Test::Builder)
 
 %{?perl_default_filter}
 
@@ -35,23 +45,15 @@ you get a REPL instead of dying or continuing blindly.
 %setup -q -n Carp-REPL-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
 %{_fixperms} %{buildroot}/*
 
 %check
-# Test::Expect and/or Devel::REPL is failing under mock 1.1.8 in koji
-# all is fine locally with mock 1.1.14, though
-%if ! %{with expect_tests}
-grep -lZ 'Test::Expect' t/*.t |xargs -0 rm -f
-%endif
 make test
 
 %files
@@ -60,6 +62,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Nov 12 2014 Petr Šabata <contyk at redhat.com> - 0.16-1
+- 0.16 bump
+
 * Tue Sep 02 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.15-10
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index b0a1c95..9a05dcf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-89b98f874cb3d0b4ede1363dcb3baa1e  Carp-REPL-0.15.tar.gz
+f0bb710518e19e5acd005fd97a84fc09  Carp-REPL-0.16.tar.gz


More information about the scm-commits mailing list