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
epel9
Paul Howarth 8 years ago
parent 59ba9d8ab4
commit 5454878158

@ -1,2 +1,3 @@
from Config import * 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");

@ -1,12 +1,10 @@
Name: perl-YAML-Syck Name: perl-YAML-Syck
Version: 1.29 Version: 1.30
Release: 7%{?dist} Release: 1%{?dist}
Summary: Fast, lightweight YAML loader and dumper Summary: Fast, lightweight YAML loader and dumper
License: BSD and MIT License: BSD and MIT
Group: Development/Libraries
URL: http://search.cpan.org/dist/YAML-Syck/ URL: http://search.cpan.org/dist/YAML-Syck/
Source0: http://www.cpan.org/authors/id/T/TO/TODDR/YAML-Syck-%{version}.tar.gz 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: coreutils
BuildRequires: findutils BuildRequires: findutils
BuildRequires: gcc BuildRequires: gcc
@ -37,9 +35,11 @@ BuildRequires: perl(Tie::Hash)
# Optional tests # Optional tests
BuildRequires: perl(Devel::Leak) BuildRequires: perl(Devel::Leak)
BuildRequires: perl(JSON) BuildRequires: perl(JSON)
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(XSLoader) Requires: perl(XSLoader)
# Avoid provides for private perl objects
%{?perl_default_filter} %{?perl_default_filter}
%description %description
@ -49,28 +49,26 @@ structures to YAML strings, and the other way around.
%prep %prep
%setup -q -n YAML-Syck-%{version} %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 %build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -empty -delete find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot} %{_fixperms} -c %{buildroot}
%check %check
make test make test
%clean
rm -rf %{buildroot}
%files %files
%license COPYING %license COPYING
%doc Changes COMPATIBILITY README %doc Changes COMPATIBILITY
%{perl_vendorarch}/auto/YAML/ %{perl_vendorarch}/auto/YAML/
%{perl_vendorarch}/YAML/ %{perl_vendorarch}/YAML/
%{perl_vendorarch}/JSON/ %{perl_vendorarch}/JSON/
@ -78,6 +76,18 @@ rm -rf %{buildroot}
%{_mandir}/man3/YAML::Syck.3* %{_mandir}/man3/YAML::Syck.3*
%changelog %changelog
* Thu Apr 20 2017 Paul Howarth <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 1.29-7 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

@ -1 +1 @@
0f906ae8b3747039b26c29c481cda607 YAML-Syck-1.29.tar.gz SHA512 (YAML-Syck-1.30.tar.gz) = 3c38c77589c12652b456ad95120b3223df9e96475a9478692511bf6207ce81bc61204feaa332dbd913d934c41cf5d6515420961b31c20c9fe245373e81ecdda4

Loading…
Cancel
Save