Hello community,
here is the log from the commit of package perl-Apache-LogFormat-Compiler for
openSUSE:Factory checked in at 2017-06-01 16:33:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Apache-LogFormat-Compiler (Old)
and /work/SRC/openSUSE:Factory/.perl-Apache-LogFormat-Compiler.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Apache-LogFormat-Compiler"
Thu Jun 1 16:33:16 2017 rev:6 rq:499786 version:0.35
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Apache-LogFormat-Compiler/perl-Apache-LogFormat-Compiler.changes
2015-02-10 20:23:33.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Apache-LogFormat-Compiler.new/perl-Apache-LogFormat-Compiler.changes
2017-06-01 16:33:21.205882256 +0200
@@ -1,0 +2,18 @@
+Tue May 30 14:18:48 UTC 2017 - [email protected]
+
+- updated to 0.35
+ see /usr/share/doc/packages/perl-Apache-LogFormat-Compiler/Changes
+
+ 0.35 2017-03-08T04:10:07Z
+
+ - fixed test. load module from relative path.
+
+ 0.34 2017-03-07T03:18:42Z
+
+ - re package with Minilla v3
+
+ 0.33 2016-01-28T12:19:05Z
+
+ - bugfix: Make `%T` to formatted in seconds (Thank you astj)
+
+-------------------------------------------------------------------
Old:
----
Apache-LogFormat-Compiler-0.32.tar.gz
New:
----
Apache-LogFormat-Compiler-0.35.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Apache-LogFormat-Compiler.spec ++++++
--- /var/tmp/diff_new_pack.9biXHe/_old 2017-06-01 16:33:21.841792552 +0200
+++ /var/tmp/diff_new_pack.9biXHe/_new 2017-06-01 16:33:21.845791988 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Apache-LogFormat-Compiler
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,22 +17,22 @@
Name: perl-Apache-LogFormat-Compiler
-Version: 0.32
+Version: 0.35
Release: 0
%define cpan_name Apache-LogFormat-Compiler
Summary: Compile a log format string to perl-code
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Apache-LogFormat-Compiler/
-Source:
http://www.cpan.org/authors/id/K/KA/KAZEBURO/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(CPAN::Meta)
-BuildRequires: perl(CPAN::Meta::Prereqs)
+BuildRequires: timezone
BuildRequires: perl(HTTP::Request::Common)
-BuildRequires: perl(Module::Build) >= 0.38
+BuildRequires: perl(Module::Build::Tiny) >= 0.035
BuildRequires: perl(POSIX::strftime::Compiler) >= 0.30
BuildRequires: perl(Test::MockTime)
BuildRequires: perl(Test::More) >= 0.98
@@ -41,8 +41,6 @@
BuildRequires: perl(URI::Escape) >= 1.60
Requires: perl(POSIX::strftime::Compiler) >= 0.30
%{perl_requires}
-# MANUAL
-BuildRequires: timezone
%description
Compile a log format string to perl-code. For faster generation of
@@ -52,18 +50,19 @@
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Build.PL installdirs=vendor
-./Build build flags=%{?_smp_mflags}
+%{__perl} Build.PL --installdirs=vendor
+./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
-./Build install destdir=%{buildroot} create_packlist=0
+./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes cpanfile LICENSE minil.toml README.md
+%doc Changes minil.toml README.md
+%license LICENSE
%changelog
++++++ Apache-LogFormat-Compiler-0.32.tar.gz ->
Apache-LogFormat-Compiler-0.35.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-LogFormat-Compiler-0.32/Build.PL
new/Apache-LogFormat-Compiler-0.35/Build.PL
--- old/Apache-LogFormat-Compiler-0.32/Build.PL 2014-06-09 04:00:33.000000000
+0200
+++ new/Apache-LogFormat-Compiler-0.35/Build.PL 2017-03-08 05:10:15.000000000
+0100
@@ -4,69 +4,9 @@
# =========================================================================
use 5.008_001;
-
use strict;
-use warnings;
-use utf8;
-
-use Module::Build;
-use File::Basename;
-use File::Spec;
-use CPAN::Meta;
-use CPAN::Meta::Prereqs;
-
-my %args = (
- license => 'perl',
- dynamic_config => 0,
-
- configure_requires => {
- 'Module::Build' => 0.38,
- },
-
- name => 'Apache-LogFormat-Compiler',
- module_name => 'Apache::LogFormat::Compiler',
- allow_pureperl => 0,
-
- script_files => [glob('script/*'), glob('bin/*')],
- c_source => [qw()],
- PL_files => {},
-
- test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt')
? 't/ xt/' : 't/',
- recursive_test_files => 1,
-
-);
-if (-d 'share') {
- $args{share_dir} = 'share';
-}
+use Module::Build::Tiny 0.035;
-my $builder = Module::Build->subclass(
- class => 'MyBuilder',
- code => q{
- sub ACTION_distmeta {
- die "Do not run distmeta. Install Minilla and `minil install`
instead.\n";
- }
- sub ACTION_installdeps {
- die "Do not run installdeps. Run `cpanm --installdeps .`
instead.\n";
- }
- }
-)->new(%args);
-$builder->create_build_script();
+Build_PL();
-my $mbmeta = CPAN::Meta->load_file('MYMETA.json');
-my $meta = CPAN::Meta->load_file('META.json');
-my $prereqs_hash = CPAN::Meta::Prereqs->new(
- $meta->prereqs
-)->with_merged_prereqs(
- CPAN::Meta::Prereqs->new($mbmeta->prereqs)
-)->as_string_hash;
-my $mymeta = CPAN::Meta->new(
- {
- %{$meta->as_struct},
- prereqs => $prereqs_hash
- }
-);
-print "Merging cpanfile prereqs to MYMETA.yml\n";
-$mymeta->save('MYMETA.yml', { version => 1.4 });
-print "Merging cpanfile prereqs to MYMETA.json\n";
-$mymeta->save('MYMETA.json', { version => 2 });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-LogFormat-Compiler-0.32/Changes
new/Apache-LogFormat-Compiler-0.35/Changes
--- old/Apache-LogFormat-Compiler-0.32/Changes 2014-06-09 04:00:33.000000000
+0200
+++ new/Apache-LogFormat-Compiler-0.35/Changes 2017-03-08 05:10:15.000000000
+0100
@@ -1,5 +1,17 @@
Revision history for Perl extension Apache::LogFormat::Compiler
+0.35 2017-03-08T04:10:07Z
+
+ - fixed test. load module from relative path.
+
+0.34 2017-03-07T03:18:42Z
+
+ - re package with Minilla v3
+
+0.33 2016-01-28T12:19:05Z
+
+ - bugfix: Make `%T` to formatted in seconds (Thank you astj)
+
0.32 2014-06-09T02:00:15Z
- change perl version requirements to 5.8.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-LogFormat-Compiler-0.32/META.json
new/Apache-LogFormat-Compiler-0.35/META.json
--- old/Apache-LogFormat-Compiler-0.32/META.json 2014-06-09
04:00:33.000000000 +0200
+++ new/Apache-LogFormat-Compiler-0.35/META.json 2017-03-08
05:10:15.000000000 +0100
@@ -4,7 +4,7 @@
"Masahiro Nagano <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Minilla/v1.1.0",
+ "generated_by" : "Minilla/v3.0.10",
"license" : [
"perl_5"
],
@@ -28,9 +28,7 @@
"prereqs" : {
"configure" : {
"requires" : {
- "CPAN::Meta" : "0",
- "CPAN::Meta::Prereqs" : "0",
- "Module::Build" : "0.38"
+ "Module::Build::Tiny" : "0.035"
}
},
"develop" : {
@@ -64,7 +62,7 @@
"provides" : {
"Apache::LogFormat::Compiler" : {
"file" : "lib/Apache/LogFormat/Compiler.pm",
- "version" : "0.32"
+ "version" : "0.35"
}
},
"release_status" : "stable",
@@ -78,9 +76,11 @@
"web" : "https://github.com/kazeburo/Apache-LogFormat-Compiler"
}
},
- "version" : "0.32",
+ "version" : "0.35",
"x_contributors" : [
"Florian Schlichting <[email protected]>",
- "Piotr Roszatycki <[email protected]>"
- ]
+ "Piotr Roszatycki <[email protected]>",
+ "Asato Wakisaka <[email protected]>"
+ ],
+ "x_serialization_backend" : "JSON::PP version 2.27400"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-LogFormat-Compiler-0.32/META.yml
new/Apache-LogFormat-Compiler-0.35/META.yml
--- old/Apache-LogFormat-Compiler-0.32/META.yml 2014-06-09 04:00:33.000000000
+0200
+++ new/Apache-LogFormat-Compiler-0.35/META.yml 2017-03-08 05:10:15.000000000
+0100
@@ -10,11 +10,9 @@
Try::Tiny: '0.12'
URI::Escape: '1.60'
configure_requires:
- CPAN::Meta: '0'
- CPAN::Meta::Prereqs: '0'
- Module::Build: '0.38'
+ Module::Build::Tiny: '0.035'
dynamic_config: 0
-generated_by: 'Minilla/v1.1.0, CPAN::Meta::Converter version 2.141170'
+generated_by: 'Minilla/v3.0.10, CPAN::Meta::Converter version 2.150005'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -33,7 +31,7 @@
provides:
Apache::LogFormat::Compiler:
file: lib/Apache/LogFormat/Compiler.pm
- version: '0.32'
+ version: '0.35'
requires:
POSIX: '0'
POSIX::strftime::Compiler: '0.30'
@@ -43,7 +41,9 @@
bugtracker: https://github.com/kazeburo/Apache-LogFormat-Compiler/issues
homepage: https://github.com/kazeburo/Apache-LogFormat-Compiler
repository: git://github.com/kazeburo/Apache-LogFormat-Compiler.git
-version: '0.32'
+version: '0.35'
x_contributors:
- 'Florian Schlichting <[email protected]>'
- 'Piotr Roszatycki <[email protected]>'
+ - 'Asato Wakisaka <[email protected]>'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-LogFormat-Compiler-0.32/README.md
new/Apache-LogFormat-Compiler-0.35/README.md
--- old/Apache-LogFormat-Compiler-0.32/README.md 2014-06-09
04:00:33.000000000 +0200
+++ new/Apache-LogFormat-Compiler-0.35/README.md 2017-03-08
05:10:15.000000000 +0100
@@ -1,4 +1,4 @@
-[](https://travis-ci.org/kazeburo/Apache-LogFormat-Compiler)
+[](https://travis-ci.org/kazeburo/Apache-LogFormat-Compiler)
# NAME
Apache::LogFormat::Compiler - Compile a log format string to perl-code
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Apache-LogFormat-Compiler-0.32/lib/Apache/LogFormat/Compiler.pm
new/Apache-LogFormat-Compiler-0.35/lib/Apache/LogFormat/Compiler.pm
--- old/Apache-LogFormat-Compiler-0.32/lib/Apache/LogFormat/Compiler.pm
2014-06-09 04:00:33.000000000 +0200
+++ new/Apache-LogFormat-Compiler-0.35/lib/Apache/LogFormat/Compiler.pm
2017-03-08 05:10:15.000000000 +0100
@@ -13,7 +13,7 @@
TIME => 4,
};
-our $VERSION = '0.32';
+our $VERSION = '0.35';
# copy from Plack::Middleware::AccessLog
our %formats = (
@@ -84,7 +84,7 @@
" " . $_[ENVS]->{SERVER_PROTOCOL}!,
s => q!$_[RES]->[0]!,
b => q!(defined $_[LENGTH] ? $_[LENGTH] : '-')!,
- T => q!(defined $_[REQTIME] ? int($_[REQTIME]*1_000_000) : '-')!,
+ T => q!(defined $_[REQTIME] ? int($_[REQTIME]/1_000_000) : '-')!,
D => q!(defined $_[REQTIME] ? $_[REQTIME] : '-')!,
v => q!($_[ENVS]->{SERVER_NAME} || '-')!,
V => q!($_[ENVS]->{HTTP_HOST} || $_[ENVS]->{SERVER_NAME} || '-')!,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-LogFormat-Compiler-0.32/t/01_basic.t
new/Apache-LogFormat-Compiler-0.35/t/01_basic.t
--- old/Apache-LogFormat-Compiler-0.32/t/01_basic.t 2014-06-09
04:00:33.000000000 +0200
+++ new/Apache-LogFormat-Compiler-0.35/t/01_basic.t 2017-03-08
05:10:15.000000000 +0100
@@ -1,7 +1,8 @@
use strict;
use warnings;
use HTTP::Request::Common;
-use t::Req2PSGI;
+require "./t/Req2PSGI.pm";
+t::Req2PSGI->import();
use Test::More;
use Apache::LogFormat::Compiler;
@@ -34,7 +35,7 @@
{
my $log_handler = Apache::LogFormat::Compiler->new(
- '%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i" %D'
+ '%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i" %D %T'
);
ok($log_handler);
my $log = $log_handler->log_line(
@@ -45,7 +46,7 @@
time()
);
like $log,
- qr!^[a-z0-9\.]+ - - \[\d{2}/\w{3}/\d{4}:\d{2}:\d{2}:\d{2} [+\-]\d{4}\]
"GET / HTTP/1\.1" 200 2 "-" "-" 1000000$!;
+ qr!^[a-z0-9\.]+ - - \[\d{2}/\w{3}/\d{4}:\d{2}:\d{2}:\d{2} [+\-]\d{4}\]
"GET / HTTP/1\.1" 200 2 "-" "-" 1000000 1$!;
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-LogFormat-Compiler-0.32/t/02_custom.t
new/Apache-LogFormat-Compiler-0.35/t/02_custom.t
--- old/Apache-LogFormat-Compiler-0.32/t/02_custom.t 2014-06-09
04:00:33.000000000 +0200
+++ new/Apache-LogFormat-Compiler-0.35/t/02_custom.t 2017-03-08
05:10:15.000000000 +0100
@@ -1,7 +1,8 @@
use strict;
use warnings;
use HTTP::Request::Common;
-use t::Req2PSGI;
+require "./t/Req2PSGI.pm";
+t::Req2PSGI->import();
use Test::More;
use Apache::LogFormat::Compiler;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-LogFormat-Compiler-0.32/t/03_extra.t
new/Apache-LogFormat-Compiler-0.35/t/03_extra.t
--- old/Apache-LogFormat-Compiler-0.32/t/03_extra.t 2014-06-09
04:00:33.000000000 +0200
+++ new/Apache-LogFormat-Compiler-0.35/t/03_extra.t 2017-03-08
05:10:15.000000000 +0100
@@ -1,7 +1,8 @@
use strict;
use warnings;
use HTTP::Request::Common;
-use t::Req2PSGI;
+require "./t/Req2PSGI.pm";
+t::Req2PSGI->import();
use Test::More;
use Apache::LogFormat::Compiler;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-LogFormat-Compiler-0.32/t/04_tz.t
new/Apache-LogFormat-Compiler-0.35/t/04_tz.t
--- old/Apache-LogFormat-Compiler-0.32/t/04_tz.t 2014-06-09
04:00:33.000000000 +0200
+++ new/Apache-LogFormat-Compiler-0.35/t/04_tz.t 2017-03-08
05:10:15.000000000 +0100
@@ -4,7 +4,8 @@
use POSIX;
use Time::Local;
use Test::MockTime qw/set_fixed_time restore_time/;
-use t::Req2PSGI;
+require "./t/Req2PSGI.pm";
+t::Req2PSGI->import();
use Apache::LogFormat::Compiler;
use HTTP::Request::Common;
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
preamble: |-
BuildRequires: timezone
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module