From 5454878158f3a1eca83b59ebbff5f21b1284a3af Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Thu, 20 Apr 2017 19:44:27 +0100 Subject: [PATCH] Update to 1.30 and drop EL-5 support - New upstream release 1.30 - Fix handling carriage return after c-indicator (CPAN RT#41141) - Fix CHECK_UTF8 SEGV with empty len=0 strings (CPAN RT#61562) - Add missing function declarations - Tighten the TODO tests; no passing TODOs now, but still JSON - SingleQuote and \/ and \u roundtrips do fail - Drop EL-5 support - Drop Group: and BuildRoot: tags - Drop buildroot cleaning in %install - Drop explicit %clean section --- .rpmlint | 3 ++- perl-YAML-Syck.spec | 32 +++++++++++++++++++++----------- sources | 2 +- 3 files changed, 24 insertions(+), 13 deletions(-) diff --git a/.rpmlint b/.rpmlint index 0743fc8..06a02b8 100644 --- a/.rpmlint +++ b/.rpmlint @@ -1,2 +1,3 @@ from Config import * -addFilter("spelling-error .* libsyck"); +addFilter("spelling-error %description -l en_US libsyck -> "); +addFilter("incorrect-fsf-address /usr/src/debug/perl-YAML-Syck-.*/gram\.c"); diff --git a/perl-YAML-Syck.spec b/perl-YAML-Syck.spec index 8486606..6d567fe 100644 --- a/perl-YAML-Syck.spec +++ b/perl-YAML-Syck.spec @@ -1,12 +1,10 @@ Name: perl-YAML-Syck -Version: 1.29 -Release: 7%{?dist} +Version: 1.30 +Release: 1%{?dist} Summary: Fast, lightweight YAML loader and dumper License: BSD and MIT -Group: Development/Libraries URL: http://search.cpan.org/dist/YAML-Syck/ Source0: http://www.cpan.org/authors/id/T/TO/TODDR/YAML-Syck-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc @@ -37,9 +35,11 @@ BuildRequires: perl(Tie::Hash) # Optional tests BuildRequires: perl(Devel::Leak) BuildRequires: perl(JSON) +# Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(XSLoader) +# Avoid provides for private perl objects %{?perl_default_filter} %description @@ -49,28 +49,26 @@ structures to YAML strings, and the other way around. %prep %setup -q -n YAML-Syck-%{version} -rm -rf inc/parent.pm inc/PerlIO.pm inc/Scalar/Util.pm + +# Unbundle core and unused modules +rm -rvf inc/{parent.pm,PerlIO.pm,Scalar/,Test/} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install -rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name '*.bs' -empty -delete -%{_fixperms} %{buildroot} +%{_fixperms} -c %{buildroot} %check make test -%clean -rm -rf %{buildroot} - %files %license COPYING -%doc Changes COMPATIBILITY README +%doc Changes COMPATIBILITY %{perl_vendorarch}/auto/YAML/ %{perl_vendorarch}/YAML/ %{perl_vendorarch}/JSON/ @@ -78,6 +76,18 @@ rm -rf %{buildroot} %{_mandir}/man3/YAML::Syck.3* %changelog +* Thu Apr 20 2017 Paul Howarth - 1.30-1 +- Update to 1.30 + - Fix handling carriage return after c-indicator (CPAN RT#41141) + - Fix CHECK_UTF8 SEGV with empty len=0 strings (CPAN RT#61562) + - Add missing function declarations + - Tighten the TODO tests; no passing TODOs now, but still JSON + - SingleQuote and \/ and \u roundtrips do fail +- Drop EL-5 support + - Drop Group: and BuildRoot: tags + - Drop buildroot cleaning in %%install + - Drop explicit %%clean section + * Sat Feb 11 2017 Fedora Release Engineering - 1.29-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index ab494d0..ec29532 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0f906ae8b3747039b26c29c481cda607 YAML-Syck-1.29.tar.gz +SHA512 (YAML-Syck-1.30.tar.gz) = 3c38c77589c12652b456ad95120b3223df9e96475a9478692511bf6207ce81bc61204feaa332dbd913d934c41cf5d6515420961b31c20c9fe245373e81ecdda4