[perl-Log-Dispatchouli/f21] 2.010 bump; Modernize spec file

Jitka Plesnikova jplesnik at fedoraproject.org
Fri Nov 21 15:39:48 UTC 2014


commit b3eb23a210625655c2c3f6d3c67eb8752d8ced92
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Fri Nov 21 16:39:02 2014 +0100

    2.010 bump; Modernize spec file

 .gitignore                 |    1 +
 perl-Log-Dispatchouli.spec |   24 ++++++++++++++++--------
 sources                    |    2 +-
 3 files changed, 18 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4178c01..d1807ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ Log-Dispatchouli-1.102220.tar.gz
 /Log-Dispatchouli-2.002.tar.gz
 /Log-Dispatchouli-2.004.tar.gz
 /Log-Dispatchouli-2.005.tar.gz
+/Log-Dispatchouli-2.010.tar.gz
diff --git a/perl-Log-Dispatchouli.spec b/perl-Log-Dispatchouli.spec
index 455dcc7..a7fb770 100644
--- a/perl-Log-Dispatchouli.spec
+++ b/perl-Log-Dispatchouli.spec
@@ -1,12 +1,13 @@
 Name:           perl-Log-Dispatchouli
-Version:        2.005
-Release:        9%{?dist}
+Version:        2.010
+Release:        1%{?dist}
 Summary:        Simple wrapper around Log::Dispatch
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Log-Dispatchouli/
 Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Log-Dispatchouli-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Log::Dispatch)
@@ -14,16 +15,23 @@ BuildRequires:  perl(Log::Dispatch::Array)
 BuildRequires:  perl(Log::Dispatch::File)
 BuildRequires:  perl(Log::Dispatch::Screen)
 BuildRequires:  perl(Log::Dispatch::Syslog)
+BuildRequires:  perl(overload)
 BuildRequires:  perl(Params::Util)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(String::Flogger)
 BuildRequires:  perl(Sub::Exporter)
 BuildRequires:  perl(Sub::Exporter::GlobExporter) >= 0.002
 BuildRequires:  perl(Try::Tiny) >= 0.04
+BuildRequires:  perl(warnings)
 # tests
+BuildRequires:  perl(base)
+BuildRequires:  perl(File::Spec::Functions)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(lib)
 BuildRequires:  perl(Test::Deep)
 BuildRequires:  perl(Test::Fatal)
 BuildRequires:  perl(Test::More) >= 0.96
-BuildRequires:  perl(Test::Pod)
 
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 # not automatically detected
@@ -50,22 +58,22 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-RELEASE_TESTING=1 make test
+make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Nov 21 2014 Jitka Plesnikova <jplesnik at redhat.com> - 2.010-1
+- 2.010 bump
+- Modernize spec file
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.005-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 787b1b9..5c7173a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fe80cbdfdcfd485bf2b6d25bc9059a5a  Log-Dispatchouli-2.005.tar.gz
+7546f7d94497b5c53159831eef14b05b  Log-Dispatchouli-2.010.tar.gz


More information about the scm-commits mailing list