From ffaaebdf986cfce27f042d890468fc8506af0f11 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Sun, 9 Apr 2017 12:15:10 +0100 Subject: [PATCH] Update to 0.64 - New upstream release 0.64 - use lib FindBin::Bin in tests, preparing for perl 5.26 where '.' gets removed from @INC (GH#54) - Use the latest libyaml sources - Lazy load B::Deparse for faster startup time (GH#52, GH#53) - Drop redundant Group: tag - Add provide for bundled(libyaml) --- .rpmlint | 2 ++ perl-YAML-LibYAML.spec | 23 +++++++++++++++++++---- sources | 2 +- 3 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 .rpmlint diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..4fb3431 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error %description -l en_US Kirill -> "); diff --git a/perl-YAML-LibYAML.spec b/perl-YAML-LibYAML.spec index e43497a..30ec365 100644 --- a/perl-YAML-LibYAML.spec +++ b/perl-YAML-LibYAML.spec @@ -1,10 +1,9 @@ Name: perl-YAML-LibYAML Epoch: 1 -Version: 0.63 -Release: 2%{?dist} +Version: 0.64 +Release: 1%{?dist} Summary: Perl YAML Serialization using XS and libyaml License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/YAML-LibYAML/ Source0: http://search.cpan.org/CPAN/authors/id/T/TI/TINITA/YAML-LibYAML-%{version}.tar.gz @@ -18,7 +17,6 @@ BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: libyaml, libyaml-devel # Module BuildRequires: perl(B::Deparse) @@ -39,6 +37,7 @@ BuildRequires: perl(Encode) BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) BuildRequires: perl(Filter::Util::Call) +BuildRequires: perl(FindBin) BuildRequires: perl(IO::File) BuildRequires: perl(IO::Pipe) BuildRequires: perl(lib) @@ -53,6 +52,13 @@ BuildRequires: perl(Path::Class) # Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(B::Deparse) + +# libyaml is tweaked and bundled +# https://github.com/ingydotnet/yaml-libyaml-pm/issues/49 +# version number determined by comparing commits in upstream repo: +# https://bitbucket.org/xi/libyaml/commits/branch/default +Provides: bundled(libyaml) = 0.1.7 # Avoid provides for perl shared objects %{?perl_default_filter} @@ -88,6 +94,15 @@ make test %{_mandir}/man3/YAML::XS::LibYAML.3* %changelog +* Sun Apr 9 2017 Paul Howarth - 1:0.64-1 +- Update to 0.64 + - use lib FindBin::Bin in tests, preparing for perl 5.26 where '.' gets + removed from @INC (GH#54) + - Use the latest libyaml sources + - Lazy load B::Deparse for faster startup time (GH#52, GH#53) +- Drop redundant Group: tag +- Add provide for bundled(libyaml) + * Tue Mar 7 2017 Paul Howarth - 1:0.63-2 - Revert to 0.63; the 0.71 release was unauthorized diff --git a/sources b/sources index 73a2246..ed3a5db 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (YAML-LibYAML-0.63.tar.gz) = c1161ac72f678e4531f8fe5daf09553ba946513c3d1efa1d354ea17ef4dfefd4281a2d77e2fe49960388d338681a24d7547b36dc08ad8993651e807a303df954 +SHA512 (YAML-LibYAML-0.64.tar.gz) = c8d996a9bc86e644c85fa8662b91afb75e0e9bcfeaba88b0a661ef83c9d1dfbcd4464fdba8fcc16269dc3c561c3c5257818f7f15df78bf4331ec2f91a6245faf