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)
This commit is contained in:
Paul Howarth 2017-04-09 12:15:10 +01:00
parent db1ac6b6df
commit ffaaebdf98
3 changed files with 22 additions and 5 deletions

2
.rpmlint Normal file
View File

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error %description -l en_US Kirill -> ");

View File

@ -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 <paul@city-fan.org> - 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 <paul@city-fan.org> - 1:0.63-2
- Revert to 0.63; the 0.71 release was unauthorized

View File

@ -1 +1 @@
SHA512 (YAML-LibYAML-0.63.tar.gz) = c1161ac72f678e4531f8fe5daf09553ba946513c3d1efa1d354ea17ef4dfefd4281a2d77e2fe49960388d338681a24d7547b36dc08ad8993651e807a303df954
SHA512 (YAML-LibYAML-0.64.tar.gz) = c8d996a9bc86e644c85fa8662b91afb75e0e9bcfeaba88b0a661ef83c9d1dfbcd4464fdba8fcc16269dc3c561c3c5257818f7f15df78bf4331ec2f91a6245faf