commit 5ab93776dc747748c95d2e46100e771ee12ff841 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Fri Dec 5 14:57:16 2014 +0100 2.012 bump, various optimizations .gitignore | 1 + perl-Log-Dispatchouli.spec | 30 +++++++++++++++++------------- sources | 2 +- 3 files changed, 19 insertions(+), 14 deletions(-) --- diff --git a/.gitignore b/.gitignore index d1807ed..d08918b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ Log-Dispatchouli-1.102220.tar.gz /Log-Dispatchouli-2.004.tar.gz /Log-Dispatchouli-2.005.tar.gz /Log-Dispatchouli-2.010.tar.gz +/Log-Dispatchouli-2.012.tar.gz diff --git a/perl-Log-Dispatchouli.spec b/perl-Log-Dispatchouli.spec index 9ec296e..b6cdd42 100644 --- a/perl-Log-Dispatchouli.spec +++ b/perl-Log-Dispatchouli.spec @@ -1,5 +1,5 @@ Name: perl-Log-Dispatchouli -Version: 2.010 +Version: 2.012 Release: 1%{?dist} Summary: Simple wrapper around Log::Dispatch License: GPL+ or Artistic @@ -7,8 +7,13 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/Log-Dispatchouli/ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Log-Dispatchouli-%{version}.tar.gz BuildArch: noarch +# Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime BuildRequires: perl(Carp) -BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(Log::Dispatch) BuildRequires: perl(Log::Dispatch::Array) @@ -18,13 +23,11 @@ BuildRequires: perl(Log::Dispatch::Syslog) BuildRequires: perl(overload) BuildRequires: perl(Params::Util) BuildRequires: perl(Scalar::Util) -BuildRequires: perl(strict) BuildRequires: perl(String::Flogger) BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Sub::Exporter::GlobExporter) >= 0.002 BuildRequires: perl(Try::Tiny) >= 0.04 -BuildRequires: perl(warnings) -# tests +# Tests only BuildRequires: perl(base) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Temp) @@ -32,9 +35,7 @@ BuildRequires: perl(lib) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.96 - -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -# not automatically detected +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Log::Dispatch::Array) Requires: perl(Log::Dispatch::File) Requires: perl(Log::Dispatch::Screen) @@ -53,23 +54,26 @@ just easy enough that you will actually log things. %setup -q -n Log-Dispatchouli-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install -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 %files -%doc Changes LICENSE README +%license LICENSE +%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Fri Dec 05 2014 Petr Šabata <contyk@xxxxxxxxxx> - 2.012-1 +- 2.012 bump, various optimizations + * Fri Nov 21 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 2.010-1 - 2.010 bump - Modernize spec file diff --git a/sources b/sources index 5c7173a..57a15a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7546f7d94497b5c53159831eef14b05b Log-Dispatchouli-2.010.tar.gz +080d1b18d49b6f55ed2e367bdece7f01 Log-Dispatchouli-2.012.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