Re: [perl-Log-Any] 1.03 bump

2015-01-05 Thread Petr Šabata
On Sat, Jan 03, 2015 at 05:41:57PM +, Paul Howarth wrote:
 On Fri,  2 Jan 2015 17:22:05 + (UTC)
 Petr Šabata psab...@fedoraproject.org wrote:
 
  commit be2d78e4f47afb2fdb1ea7374d60b29e9c63dadd
  Author: Petr Šabata con...@redhat.com
  Date:   Fri Jan 2 18:22:13 2015 +0100
  
  1.03 bump
  
   perl-Log-Any.spec |   68
  +
  sources   |2 +- 2 files changed, 33 insertions(+), 37
  deletions(-) ---
  diff --git a/perl-Log-Any.spec b/perl-Log-Any.spec
  index dc7f29f..3161102 100644
  --- a/perl-Log-Any.spec
  +++ b/perl-Log-Any.spec
  @@ -1,33 +1,33 @@
   Name:   perl-Log-Any
  -Version:0.15
  -Release:6%{?dist}
  +Version:1.03
 
 This update merges perl-Log-Any-Adapter into perl-Log-Any, and so
 should have obsoletes/provides for it.
 
 Paul.

You're right, thank you for noticing this.

Petr


pgp7IceRLWVXP.pgp
Description: PGP signature
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Re: [perl-Log-Any] 1.03 bump

2015-01-03 Thread Paul Howarth
On Fri,  2 Jan 2015 17:22:05 + (UTC)
Petr Šabata psab...@fedoraproject.org wrote:

 commit be2d78e4f47afb2fdb1ea7374d60b29e9c63dadd
 Author: Petr Šabata con...@redhat.com
 Date:   Fri Jan 2 18:22:13 2015 +0100
 
 1.03 bump
 
  perl-Log-Any.spec |   68
 +
 sources   |2 +- 2 files changed, 33 insertions(+), 37
 deletions(-) ---
 diff --git a/perl-Log-Any.spec b/perl-Log-Any.spec
 index dc7f29f..3161102 100644
 --- a/perl-Log-Any.spec
 +++ b/perl-Log-Any.spec
 @@ -1,33 +1,33 @@
  Name:   perl-Log-Any
 -Version:0.15
 -Release:6%{?dist}
 +Version:1.03

This update merges perl-Log-Any-Adapter into perl-Log-Any, and so
should have obsoletes/provides for it.

Paul.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[perl-Log-Any] 1.03 bump

2015-01-02 Thread Petr Šabata
commit be2d78e4f47afb2fdb1ea7374d60b29e9c63dadd
Author: Petr Šabata con...@redhat.com
Date:   Fri Jan 2 18:22:13 2015 +0100

1.03 bump

 perl-Log-Any.spec |   68 +
 sources   |2 +-
 2 files changed, 33 insertions(+), 37 deletions(-)
---
diff --git a/perl-Log-Any.spec b/perl-Log-Any.spec
index dc7f29f..3161102 100644
--- a/perl-Log-Any.spec
+++ b/perl-Log-Any.spec
@@ -1,33 +1,33 @@
 Name:   perl-Log-Any
-Version:0.15
-Release:6%{?dist}
+Version:1.03
+Release:1%{?dist}
 Summary:Bringing loggers and listeners together
 License:GPL+ or Artistic
-Group:  Development/Libraries
 URL:http://search.cpan.org/dist/Log-Any/
-Source0:
http://www.cpan.org/authors/id/J/JS/JSWARTZ/Log-Any-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+Source0:
http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Log-Any-%{version}.tar.gz
 BuildArch:  noarch
-# Module Build
-BuildRequires:  perl(ExtUtils::MakeMaker) = 6.30
-# Module Runtime
-BuildRequires:  perl(base)
-BuildRequires:  perl(Data::Dumper)
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) = 6.76
 BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
-BuildRequires:  perl(Test::Builder)
-# Test Suite
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Simple)
-# Release Tests
-%if 0%{!?perl_bootstrap:1}
-BuildRequires:  perl(Capture::Tiny)
-BuildRequires:  perl(Log::Any::Adapter)
-BuildRequires:  perl(Log::Any::Adapter::Dispatch)
-BuildRequires:  perl(Log::Dispatch)
-%endif
 # Runtime
-Requires:   perl(:MODULE_COMPAT_%(eval `perl -V:version`; echo $version))
+BuildRequires:  perl(B)
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+# Unused BuildRequires:  perl(Config)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Exporter)
+# Unused BuildRequires:  perl(Fcntl)
+# Unused BuildRequires:  perl(IO::File)
+# Unused BuildRequires:  perl(Test::Builder)
+# Tests only
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Test::More)
+Requires:   perl(:MODULE_COMPAT_%(eval $(perl -V:version); echo 
$version))
+Requires:   perl(B)
 
 %description
 Log::Any allows CPAN modules to safely and efficiently log messages, while
@@ -38,30 +38,26 @@ such as Log::Dispatch or Log::Log4perl.
 %setup -q -n Log-Any-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-%{_fixperms} $RPM_BUILD_ROOT
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}
 
 %check
-make test %{!?perl_bootstrap:RELEASE_TESTING=1}
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make test
 
 %files
-%doc Changes LICENSE README
+%license LICENSE
+%doc Changes README
 %{perl_vendorlib}/Log/
-%{_mandir}/man3/Log::Any.3pm*
-%{_mandir}/man3/Log::Any::Adapter::Core.3pm*
-%{_mandir}/man3/Log::Any::Adapter::Null.3pm*
-%{_mandir}/man3/Log::Any::Test.3pm*
+%{_mandir}/man3/*
 
 %changelog
+* Fri Jan 02 2015 Petr Šabata con...@redhat.com - 1.03-1
+- 1.03 bump
+
 * Sun Sep 07 2014 Jitka Plesnikova jples...@redhat.com - 0.15-6
 - Perl 5.20 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index 41b0c26..a449664 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8337dd1dedd499de70f941ef980b5fe9  Log-Any-0.15.tar.gz
+1a43f418fa351d231cbb1c22b55a46e4  Log-Any-1.03.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel