From 8a6adb253d9c98cc4336cb73857e1887d92ef291 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Mon, 19 Jun 2017 10:11:49 +0200
Subject: 0.111 bump

---
 .gitignore          |  1 +
 perl-Dumbbench.spec | 31 +++++++++++++++++--------------
 sources             |  2 +-
 3 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/.gitignore b/.gitignore
index dfbf33e..daece56 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /Dumbbench-0.09.tar.gz
 /Dumbbench-0.10.tar.gz
+/Dumbbench-0.111.tar.gz
diff --git a/perl-Dumbbench.spec b/perl-Dumbbench.spec
index bcc85ac..53a9718 100644
--- a/perl-Dumbbench.spec
+++ b/perl-Dumbbench.spec
@@ -1,29 +1,30 @@
 # SOOT support is optional
-%bcond_with SOOT
+%bcond_with perl_Dumbbench_enables_SOOT
 
 Name:           perl-Dumbbench
-Version:        0.10
-Release:        4%{?dist}
+Version:        0.111
+Release:        1%{?dist}
 Summary:        More reliable bench-marking with the least amount of thinking
 # The LICENSE file quoting Artistic 2.0 cannot cover lib files that refer
 # to perl 5.
 License:        (GPL+ or Artistic) and (Artistic 2.0)
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Dumbbench/
-Source0:        
http://www.cpan.org/authors/id/S/SM/SMUELLER/Dumbbench-%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/B/BD/BDFOY/Dumbbench-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  coreutils
-BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl-generators
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(File::Spec::Functions)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
 # Run-time:
 # bash for /usr/bin/sh executed by sudo, not used at tests
+# bin/dumbbench requires Capture::Tiny only if SOOT is available
+%if %{with perl_Dumbbench_enables_SOOT}
+BuildRequires:  perl(Capture::Tiny)
+%endif
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Class::XSAccessor) >= 1.05
 BuildRequires:  perl(constant)
@@ -39,13 +40,13 @@ BuildRequires:  perl(parent)
 BuildRequires:  perl(Statistics::CaseResampling) >= 0.06
 BuildRequires:  perl(Time::HiRes)
 # Tests:
-BuildRequires:  perl(Capture::Tiny)
+# Code from ./simulator is neither executed nor installed
 BuildRequires:  perl(Test::More)
 # bash for /usr/bin/sh executed by sudo, not used at tests
 Requires:       bash
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 # bin/dumbbench requires Capture::Tiny only if SOOT is available
-%if %with SOOT
+%if %{with perl_Dumbbench_enables_SOOT}
 Requires:       perl(Capture::Tiny)
 %endif
 Requires:       perl(Class::XSAccessor) >= 1.05
@@ -60,7 +61,7 @@ Requires:       sudo
 Dumbbench is a fancier benchmark module for Perl. It times the runs of code,
 does some statistical analysis to discard outliers, and prints the results.
 
-%if %with SOOT
+%if %{with perl_Dumbbench_enables_SOOT}
 %package BoxPlot
 Summary:        Dumbbench visualization using ROOT
 # This package run-requires perl-SOOT which isn't available on ARM, bug 
#1139141
@@ -76,12 +77,11 @@ ROOT toolkit.
 %setup -q -n Dumbbench-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -95,13 +95,16 @@ make test
 %exclude %{perl_vendorlib}/Dumbbench/BoxPlot.pm
 %{_mandir}/man3/*
 
-%if %with SOOT
+%if %{with perl_Dumbbench_enables_SOOT}
 %files BoxPlot
 %doc r
 %{perl_vendorlib}/Dumbbench/BoxPlot.pm
 %endif
 
 %changelog
+* Mon Jun 19 2017 Petr Pisar <ppi...@redhat.com> - 0.111-1
+- 0.111 bump
+
 * Mon May 16 2016 Jitka Plesnikova <jples...@redhat.com> - 0.10-4
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index a35c0c0..58bf9dc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-df789c6ccc088e3c2f4ecc665d8dd9d7  Dumbbench-0.10.tar.gz
+SHA512 (Dumbbench-0.111.tar.gz) = 
32d99c2336f3fa8af830f6505edbce367cfca7833d7a7cae131fc5fbccce1943476800899d21add8f566ab2f07b7532769c449ad062fdf39b4b917437b331b28
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Dumbbench.git/commit/?h=f25&id=8a6adb253d9c98cc4336cb73857e1887d92ef291
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to