[perl-Log-Dispatch-Config] 1.04 bump

Petr Pisar ppisar at fedoraproject.org
Fri Jan 27 12:14:02 UTC 2012


commit 87b6b652adabe81a61c2968b46e8601cd1f6be20
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Jan 27 13:13:55 2012 +0100

    1.04 bump

 .gitignore                    |    1 +
 perl-Log-Dispatch-Config.spec |   45 ++++++++++++++++++----------------------
 sources                       |    2 +-
 3 files changed, 22 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5a5e53e..e7977bf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Log-Dispatch-Config-1.03.tar.gz
+/Log-Dispatch-Config-1.04.tar.gz
diff --git a/perl-Log-Dispatch-Config.spec b/perl-Log-Dispatch-Config.spec
index 9e17c2d..4332bc9 100644
--- a/perl-Log-Dispatch-Config.spec
+++ b/perl-Log-Dispatch-Config.spec
@@ -1,30 +1,32 @@
 Name:           perl-Log-Dispatch-Config
 Summary:        Log4j for Perl        
-Version:        1.03
-Release:        6%{?dist}
+Version:        1.04
+Release:        1%{?dist}
 License:        GPL+ or Artistic        
 Group:          Development/Libraries
-Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Log-Dispatch-Config-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/Log-Dispatch-Config
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Log-Dispatch-Config-%{version}.tar.gz 
 BuildArch:      noarch
-
-BuildRequires:  perl(AppConfig) >= 1.52
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time
+BuildRequires:  perl(AppConfig) >= 1.52
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Log::Dispatch) >= 2
+# Time::Piece is optional. POSIX is fall-back
+BuildRequires:  perl(POSIX)
+# Tests
+BuildRequires:  perl(FileHandle)
+BuildRequires:  perl(File::Copy)
 BuildRequires:  perl(File::Temp) >= 0.12
 BuildRequires:  perl(IO::Scalar)
-BuildRequires:  perl(Log::Dispatch) >= 2
 BuildRequires:  perl(Test::More) >= 0.32
-
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(AppConfig) >= 1.52
-Requires:       perl(File::Temp) >= 0.12
-Requires:       perl(IO::Scalar)
-Requires:       perl(Log::Dispatch) >= 2
-
+Requires:       perl(POSIX)
 
-%{?perl_default_filter}
-%{?perl_default_subpackage_tests}
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(AppConfig\\)$
 
 %description
 Log::Dispatch::Config is a subclass of Log::Dispatch and provides a way to
@@ -34,37 +36,30 @@ format).
 %prep
 %setup -q -n Log-Dispatch-Config-%{version}
 
-
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
-
 %install
-rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
 find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 %{_fixperms} %{buildroot}/*
 
-
 %check
 make test
 
-
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Fri Jan 27 2012 Petr Pisar <ppisar at redhat.com> - 1.04-1
+- 1.04 bump
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.03-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index fc0482d..bcdc5ae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fc89b4353978f0bc3f26e0cf02d5527b  Log-Dispatch-Config-1.03.tar.gz
+ac6f91b838743adb3a47cb09bf8defe5  Log-Dispatch-Config-1.04.tar.gz



More information about the perl-devel mailing list