|
|
463643 |
Name: perl-Log-Message
|
|
|
463643 |
# Epoch to compete with perl.spec
|
|
|
463643 |
Epoch: 1
|
|
|
463643 |
Version: 0.08
|
|
|
a0c2f8 |
Release: 3%{?dist}
|
|
|
463643 |
Summary: Generic message storing mechanism
|
|
|
463643 |
License: GPL+ or Artistic
|
|
|
463643 |
Group: Development/Libraries
|
|
|
463643 |
URL: http://search.cpan.org/dist/Log-Message/
|
|
|
463643 |
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Log-Message-%{version}.tar.gz
|
|
|
463643 |
BuildArch: noarch
|
|
|
463643 |
BuildRequires: perl
|
|
|
463643 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
463643 |
BuildRequires: perl(strict)
|
|
|
463643 |
# Run-time:
|
|
|
463643 |
BuildRequires: perl(Carp)
|
|
|
463643 |
%if 0%(perl -e 'print $] > 5.017')
|
|
|
463643 |
BuildRequires: perl(deprecate)
|
|
|
463643 |
%endif
|
|
|
463643 |
BuildRequires: perl(FileHandle)
|
|
|
463643 |
BuildRequires: perl(if)
|
|
|
463643 |
BuildRequires: perl(Locale::Maketext::Simple)
|
|
|
463643 |
BuildRequires: perl(Module::Load)
|
|
|
463643 |
BuildRequires: perl(Params::Check)
|
|
|
463643 |
BuildRequires: perl(vars)
|
|
|
463643 |
# Tests:
|
|
|
463643 |
BuildRequires: perl(File::Basename)
|
|
|
463643 |
BuildRequires: perl(File::Spec)
|
|
|
463643 |
BuildRequires: perl(lib)
|
|
|
463643 |
BuildRequires: perl(Test::More)
|
|
|
463643 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
463643 |
%if 0%(perl -e 'print $] > 5.017')
|
|
|
463643 |
Requires: perl(deprecate)
|
|
|
463643 |
%endif
|
|
|
463643 |
|
|
|
463643 |
%description
|
|
|
463643 |
This package enables you to do generic message logging throughout programs and
|
|
|
463643 |
projects. Every message will be logged with stack traces, time stamps and so
|
|
|
463643 |
on. You can use built-in handlers immediately, or after the fact when you
|
|
|
463643 |
inspect the error stack. It is highly configurable and let's you even provide
|
|
|
463643 |
your own handlers for dealing with messages.
|
|
|
463643 |
|
|
|
463643 |
%prep
|
|
|
463643 |
%setup -q -n Log-Message-%{version}
|
|
|
463643 |
|
|
|
463643 |
%build
|
|
|
463643 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
463643 |
make %{?_smp_mflags}
|
|
|
463643 |
|
|
|
463643 |
%install
|
|
|
463643 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
463643 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
463643 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
463643 |
|
|
|
463643 |
%check
|
|
|
463643 |
make test
|
|
|
463643 |
|
|
|
463643 |
%files
|
|
|
463643 |
%doc CHANGES README
|
|
|
463643 |
%{perl_vendorlib}/*
|
|
|
463643 |
%{_mandir}/man3/*
|
|
|
463643 |
|
|
|
463643 |
%changelog
|
|
|
a0c2f8 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:0.08-3
|
|
|
a0c2f8 |
- Mass rebuild 2013-12-27
|
|
|
a0c2f8 |
|
|
|
463643 |
* Mon May 20 2013 Petr Pisar <ppisar@redhat.com> - 1:0.08-2
|
|
|
463643 |
- Correct a typo in dependencies
|
|
|
463643 |
|
|
|
463643 |
* Mon Apr 29 2013 Petr Pisar <ppisar@redhat.com> - 1:0.08-1
|
|
|
463643 |
- 0.08 bump
|
|
|
463643 |
|
|
|
463643 |
* Thu Apr 25 2013 Petr Pisar <ppisar@redhat.com> - 1:0.06-2
|
|
|
463643 |
- Open configuration file for reading explicitly (bug #955210)
|
|
|
463643 |
|
|
|
463643 |
* Thu Jan 24 2013 Petr Pisar <ppisar@redhat.com> 1:0.06-1
|
|
|
463643 |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
463643 |
- Require deprecated module if needed
|