commit e6f90dd98b6aca4b9af12fabdbad9b5c1e9f7d8c Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Fri Jun 29 13:46:22 2012 +0200 1.37 bump .gitignore | 1 + perl-Log-Log4perl.spec | 26 ++++++++++++++++---------- sources | 2 +- 3 files changed, 18 insertions(+), 11 deletions(-) --- diff --git a/.gitignore b/.gitignore index 49b3080..2b8e767 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ Log-Log4perl-1.24.tar.gz /Log-Log4perl-1.34.tar.gz /Log-Log4perl-1.35.tar.gz /Log-Log4perl-1.36.tar.gz +/Log-Log4perl-1.37.tar.gz diff --git a/perl-Log-Log4perl.spec b/perl-Log-Log4perl.spec index 780d488..807abe3 100644 --- a/perl-Log-Log4perl.spec +++ b/perl-Log-Log4perl.spec @@ -1,5 +1,5 @@ Name: perl-Log-Log4perl -Version: 1.36 +Version: 1.37 Release: 1%{?dist} Summary: Log4j implementation for Perl Group: Development/Libraries @@ -7,12 +7,14 @@ License: GPL+ or Artistic URL: http://search.cpan.org/dist/Log-Log4perl/ Source0: http://www.cpan.org/authors/id/M/MS/MSCHILLI/Log-Log4perl-%{version}.tar.gz BuildArch: noarch +BuildRequires: perl(base) +BuildRequires: perl(constant) +BuildRequires: perl(Carp) +BuildRequires: perl(Data::Dumper) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) >= 0.82 BuildRequires: perl(Test::More) >= 0.45 - # Tests -BuildRequires: perl(Data::Dumper) BuildRequires: perl(IO::Socket::INET) # Optional tests BuildRequires: perl(DBD::CSV) @@ -23,7 +25,7 @@ BuildRequires: perl(RRDs) BuildRequires: perl(SQL::Statement) BuildRequires: perl(XML::DOM) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Log::Log4perl lets you remote-control and fine-tune the logging @@ -33,17 +35,17 @@ popular (Java-based) Log4j logging package in pure Perl. %prep %setup -q -n Log-Log4perl-%{version} find lib -name "*.pm" -exec chmod -c a-x {} ';' -%{__perl} -pi -e 's|^#!/usr/local/bin/perl|#!%{__perl}|' eg/newsyslog-test eg/benchmarks/simple +perl -pi -e 's|^#!/usr/local/bin/perl|#!%{__perl}|' eg/newsyslog-test eg/benchmarks/simple %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$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/* +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +%{_fixperms} %{buildroot}/* %check make test L4P_ALL_TESTS=1 @@ -57,6 +59,10 @@ make test L4P_ALL_TESTS=1 %changelog +* Fri Jun 08 2012 Petr Šabata <contyk@xxxxxxxxxx> - 1.37-1 +- 1.37 bump +- Drop command macros + * Wed Feb 22 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1.36-1 - 1.36 bump diff --git a/sources b/sources index da00af9..3268bf8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ae6a51735b0b0e6661d2e66d30d91fa5 Log-Log4perl-1.36.tar.gz +56325c6c39abe33f440354f2e48afa78 Log-Log4perl-1.37.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel