[perl-Log-Any-Adapter] Upstream update. Reflect upstream having abandoned using ExtUtils::AutoInstall. Spec cleanup. Add rp

corsepiu corsepiu at fedoraproject.org
Sat Jan 14 06:19:45 UTC 2012


commit f45430218fde38dd8d033b4c8ca9dbeded82ef83
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sat Jan 14 07:19:41 2012 +0100

    Upstream update.
    Reflect upstream having abandoned using ExtUtils::AutoInstall.
    Spec cleanup.
    Add rpm-4.9 filter.

 .gitignore                |    2 +-
 perl-Log-Any-Adapter.spec |   28 +++++++++++++++-------------
 sources                   |    2 +-
 3 files changed, 17 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9a3f9d1..4afe51a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Log-Any-Adapter-0.03.tar.gz
+/Log-Any-Adapter-0.06.tar.gz
diff --git a/perl-Log-Any-Adapter.spec b/perl-Log-Any-Adapter.spec
index aae20c9..fe08d7d 100644
--- a/perl-Log-Any-Adapter.spec
+++ b/perl-Log-Any-Adapter.spec
@@ -1,20 +1,22 @@
 Name:           perl-Log-Any-Adapter
-Version:        0.03
-Release:        3%{?dist}
+Version:        0.06
+Release:        1%{?dist}
 Summary:        Tell Log::Any where to send its logs
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Log-Any-Adapter/
 Source0:        http://www.cpan.org/authors/id/J/JS/JSWARTZ/Log-Any-Adapter-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Devel::GlobalDestruction)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(Guard)
 BuildRequires:  perl(Log::Any) >= 0.10
-BuildRequires:  perl(Scope::Guard)
 BuildRequires:  perl(Test::More)
-Requires:       perl(Log::Any) >= 0.10
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+Requires:       perl(Log::Any) >= 0.10
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Log::Any\\)
+
 %description
 The Log-Any-Adapter distribution implements Log::Any class methods to
 specify where logs should be sent. It is a separate distribution so as to
@@ -24,13 +26,10 @@ keep Log::Any itself as simple and unchanging as possible.
 %setup -q -n Log-Any-Adapter-%{version}
 
 %build
-# --skipdeps causes ExtUtils::AutoInstall not to try auto-installing
-%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
+%{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -41,9 +40,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -51,6 +47,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jan 14 2012 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.06-1
+- Upstream update.
+- Reflect upstream having abandoned using ExtUtils::AutoInstall.
+- Spec cleanup.
+- Add rpm-4.9 filter.
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.03-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index f25298f..03ef469 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-41655899a7a5e34650f5d4f784b05151  Log-Any-Adapter-0.03.tar.gz
+8a8fd64c9d670cf943d80116fec0d4a0  Log-Any-Adapter-0.06.tar.gz



More information about the perl-devel mailing list