@ -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