Chris Weyl 1b5436b
Name:           perl-YAML-Syck
5454878
Version:        1.30
5454878
Release:        1%{?dist}
Chris Weyl 1b5436b
Summary:        Fast, lightweight YAML loader and dumper
1cb78a7
License:        BSD and MIT
Chris Weyl 1b5436b
URL:            http://search.cpan.org/dist/YAML-Syck/
0b76059
Source0:        http://www.cpan.org/authors/id/T/TO/TODDR/YAML-Syck-%{version}.tar.gz
c14c1c9
BuildRequires:  coreutils
c14c1c9
BuildRequires:  findutils
c14c1c9
BuildRequires:  gcc
c14c1c9
BuildRequires:  make
03bfee1
BuildRequires:  perl
c14c1c9
BuildRequires:  perl-devel
e108068
BuildRequires:  perl-generators
3e706bc
# Keep bundled inc::Module::Install to break cycle
3e706bc
# perl-Module-Install → perl-YAML-Tiny → perl-YAML-Syck
803c6e6
BuildRequires:  perl(Cwd)
803c6e6
BuildRequires:  perl(File::Path)
803c6e6
BuildRequires:  perl(File::Spec)
803c6e6
BuildRequires:  perl(lib)
Chris Weyl 62cb93e
BuildRequires:  perl(ExtUtils::MakeMaker)
803c6e6
# Run-time
803c6e6
BuildRequires:  perl(constant)
03bfee1
# DynaLoader not used if XSLoader is available
803c6e6
BuildRequires:  perl(Exporter)
03bfee1
BuildRequires:  perl(strict)
03bfee1
BuildRequires:  perl(vars)
803c6e6
BuildRequires:  perl(XSLoader)
803c6e6
# Tests
803c6e6
BuildRequires:  perl(Data::Dumper)
803c6e6
BuildRequires:  perl(IO::File)
803c6e6
BuildRequires:  perl(Storable)
Chris Weyl 62cb93e
BuildRequires:  perl(Test::More)
803c6e6
BuildRequires:  perl(Tie::Hash)
803c6e6
# Optional tests
803c6e6
BuildRequires:  perl(Devel::Leak)
803c6e6
BuildRequires:  perl(JSON)
5454878
# Dependencies
0fb6eb5
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
0fb6eb5
Requires:       perl(XSLoader)
Chris Weyl 1b5436b
5454878
# Avoid provides for private perl objects
Chris Weyl 2dee4f2
%{?perl_default_filter}
Chris Weyl 2dee4f2
Chris Weyl 1b5436b
%description
Chris Weyl 1b5436b
This module provides a Perl interface to the libsyck data serialization
Chris Weyl 1b5436b
library. It exports the Dump and Load functions for converting Perl data
Chris Weyl 1b5436b
structures to YAML strings, and the other way around.
Chris Weyl 1b5436b
Chris Weyl 1b5436b
%prep
Chris Weyl 1b5436b
%setup -q -n YAML-Syck-%{version}
5454878
5454878
# Unbundle core and unused modules
5454878
rm -rvf inc/{parent.pm,PerlIO.pm,Scalar/,Test/}
Chris Weyl 1b5436b
Chris Weyl 1b5436b
%build
c14c1c9
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
Chris Weyl 1b5436b
make %{?_smp_mflags}
Chris Weyl 1b5436b
Chris Weyl 1b5436b
%install
c14c1c9
make pure_install DESTDIR=%{buildroot}
c14c1c9
find %{buildroot} -type f -name .packlist -delete
c14c1c9
find %{buildroot} -type f -name '*.bs' -empty -delete
5454878
%{_fixperms} -c %{buildroot}
Chris Weyl 1b5436b
Chris Weyl 1b5436b
%check
Chris Weyl 1b5436b
make test
Chris Weyl 1b5436b
Chris Weyl 1b5436b
%files
e8dc793
%license COPYING
5454878
%doc Changes COMPATIBILITY
0fb6eb5
%{perl_vendorarch}/auto/YAML/
0fb6eb5
%{perl_vendorarch}/YAML/
0fb6eb5
%{perl_vendorarch}/JSON/
e8dc793
%{_mandir}/man3/JSON::Syck.3*
e8dc793
%{_mandir}/man3/YAML::Syck.3*
Chris Weyl 1b5436b
Chris Weyl 1b5436b
%changelog
5454878
* Thu Apr 20 2017 Paul Howarth <paul@city-fan.org> - 1.30-1
5454878
- Update to 1.30
5454878
  - Fix handling carriage return after c-indicator (CPAN RT#41141)
5454878
  - Fix CHECK_UTF8 SEGV with empty len=0 strings (CPAN RT#61562)
5454878
  - Add missing function declarations
5454878
  - Tighten the TODO tests; no passing TODOs now, but still JSON
5454878
  - SingleQuote and \/ and \u roundtrips do fail
5454878
- Drop EL-5 support
5454878
  - Drop Group: and BuildRoot: tags
5454878
  - Drop buildroot cleaning in %%install
5454878
  - Drop explicit %%clean section
5454878
59ba9d8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-7
59ba9d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
59ba9d8
61e30ce
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-6
61e30ce
- Perl 5.24 rebuild
61e30ce
c14c1c9
* Wed Apr 20 2016 Paul Howarth <paul@city-fan.org> - 1.29-5
c14c1c9
- Fix FTBFS due to missing buildreq perl-devel
c14c1c9
- Simplify find commands using -empty and -delete
c14c1c9
23871d3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-4
23871d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
23871d3
eaf87ac
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29-3
eaf87ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
eaf87ac
eaee78a
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-2
eaee78a
- Perl 5.22 rebuild
eaee78a
e8dc793
* Tue Dec 16 2014 Paul Howarth <paul@city-fan.org> - 1.29-1
e8dc793
- Update to 1.29
e8dc793
  - Upstreamed fix for test failures on PPC and ARM (CPAN RT#83825)
e8dc793
  - Fix crash in syck_emit on platforms with long long pointers
e8dc793
- Use %%license
e8dc793
03bfee1
* Thu Dec 11 2014 Petr Pisar <ppisar@redhat.com> - 1.28-1
03bfee1
- 1.28 bump
03bfee1
5ff4e6e
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.27-6
5ff4e6e
- Perl 5.20 rebuild
5ff4e6e
f8f816a
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-5
f8f816a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f8f816a
eb29134
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-4
eb29134
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
eb29134
7440fd7
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-3
7440fd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7440fd7
432d2ad
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.27-2
432d2ad
- Perl 5.18 rebuild
432d2ad
3e706bc
* Tue May 21 2013 Paul Howarth <paul@city-fan.org> 1.27-1
3e706bc
- Update to 1.27
3e706bc
  - Fix for hash randomization in yaml-alias.t on perl 5.18.0 (CPAN RT#84882,
3e706bc
    CPAN RT#84466)
3e706bc
fb95d72
* Mon Mar 11 2013 Paul Howarth <paul@city-fan.org> 1.25-1
fb95d72
- Update to 1.25
fb95d72
  - Bump version number and release to fix a MANIFEST mistake in 1.24
fb95d72
eac058c
* Sun Mar 10 2013 Paul Howarth <paul@city-fan.org> 1.24-2
eac058c
- Work around test failures on PPC and ARM (#919806, CPAN RT#83825)
eac058c
dbae813
* Thu Mar  7 2013 Paul Howarth <paul@city-fan.org> 1.24-1
dbae813
- Update to 1.24
dbae813
  - Implement $JSON::Syck::MaxDepth
dbae813
  - Prevent failure when the same object is seen twice during Dump
eac058c
  - Prevent YAML from being influenced by the previous change
dbae813
  - MinGW64 compatibility (CPAN RT#78363)
dbae813
0fb6eb5
* Wed Feb 27 2013 Paul Howarth <paul@city-fan.org> 1.23-1
0fb6eb5
- Update to 1.23
0fb6eb5
  - Synchronize JSON::Syck with YAML::Syck version number
0fb6eb5
  - Add DumpInto functions (YAML+Syck), which dump into a provided scalar
0fb6eb5
    instead of a newly-allocated one
0fb6eb5
  - Modify DumpFile functions to output directly to the specified
0fb6eb5
    file/filehandle instead of buffering all output in memory
0fb6eb5
  - Avoid modifying numbers into strings when emitting
0fb6eb5
  - Fix error message typo: s/existant/existent/g
0fb6eb5
  - Fix for non-printable character detection
0fb6eb5
  - Quote if non-printable characters are present
0fb6eb5
  - Make sure that LoadBlessed=0 blocks all blessing
0fb6eb5
  - Start listing primary repo as http://github.com/toddr/YAML-Syck
0fb6eb5
  - README refreshed via perldoc -t
0fb6eb5
- Require perl(XSLoader) at runtime
0fb6eb5
- Drop %%defattr, redundant since rpm 4.4
0fb6eb5
- Don't need to remove empty directories from the buildroot
0fb6eb5
- Don't use macros for commands
0fb6eb5
- Use DESTDIR rather than PERL_INSTALL_ROOT
0fb6eb5
- Make %%files list more explicit
0fb6eb5
2719fa8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-4
2719fa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2719fa8
588340a
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-3
588340a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
588340a
52ebe9b
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 1.20-2
52ebe9b
- Perl 5.16 rebuild
52ebe9b
0b76059
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 1.20-1
0b76059
- 1.20 bump
0b76059
36de900
* Sat Jun 16 2012 Petr Pisar <ppisar@redhat.com> - 1.17-5
36de900
- Perl 5.16 rebuild
803c6e6
- Specify all dependencies
36de900
c8a1b3a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-4
c8a1b3a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c8a1b3a
f0c9020
* Wed Jul 20 2011 Iain Arnell <iarnell@gmail.com> - 1.17 -3
f0c9020
- Perl mass rebuild
f0c9020
ad4715a
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-2
ad4715a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ad4715a
Steven Pritchard 30612de
* Tue Dec 07 2010 Steven Pritchard <steve@kspei.com> 1.17-1
Steven Pritchard 30612de
- Update to 1.17.
Steven Pritchard 30612de
- Update Source0 URL.
Steven Pritchard 30612de
- BR JSON (for tests).
Steven Pritchard 30612de
360ad17
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.07-4
360ad17
- Mass rebuild with perl-5.12.0
360ad17
faf6d3c
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.07-3
faf6d3c
- rebuild against perl 5.10.1
faf6d3c
1cb78a7
* Tue Oct  6 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.07-2
1cb78a7
- fix license
1cb78a7
Chris Weyl 2dee4f2
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.07-1
Chris Weyl 2dee4f2
- auto-update to 1.07 (by cpan-spec-update 0.01)
Chris Weyl 2dee4f2
bf8ae1d
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-3
bf8ae1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bf8ae1d
a305f7f
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-2
a305f7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a305f7f
feb1e09
* Mon Jun 09 2008 Steven Pritchard <steve@kspei.com> 1.05-1
feb1e09
- Update to 1.05.
feb1e09
a044e4e
* Mon Mar  3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.04-2
a044e4e
- rebuild for new perl (again)
a044e4e
fa6d8d4
* Wed Feb 20 2008 Steven Pritchard <steve@kspei.com> 1.04-1
fa6d8d4
- Update to 1.04.
fa6d8d4
365701a
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.01-3
365701a
- Autorebuild for GCC 4.3
365701a
7fcca2f
* Fri Feb  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.01-2
7fcca2f
- rebuild for new perl
7fcca2f
7e7be77
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 1.01-1
7e7be77
- Update to 1.01.
7e7be77
4149c7c
* Tue Oct 16 2007 Steven Pritchard <steve@kspei.com> 0.98-1
4149c7c
- Update to 0.98.
4149c7c
7a022a0
* Tue Sep 18 2007 Steven Pritchard <steve@kspei.com> 0.97-1
7a022a0
- Update to 0.97.
7a022a0
4337f69
* Sun Aug 12 2007 Steven Pritchard <steve@kspei.com> 0.96-1
4337f69
- Update to 0.96.
4337f69
4337f69
* Fri Aug 03 2007 Steven Pritchard <steve@kspei.com> 0.95-1
4337f69
- Update to 0.95.
4337f69
766778c
* Fri Jul 13 2007 Steven Pritchard <steve@kspei.com> 0.94-1
766778c
- Update to 0.94.
766778c
b1f1779
* Wed Jun 27 2007 Steven Pritchard <steve@kspei.com> 0.91-1
b1f1779
- Update to 0.91.
b1f1779
4a747f6
* Sat May 19 2007 Steven Pritchard <steve@kspei.com> 0.85-1
4a747f6
- Update to 0.85.
4a747f6
Chris Weyl 62cb93e
* Fri May 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.82-3
Chris Weyl 62cb93e
- add perl split BR's
Chris Weyl 62cb93e
Chris Weyl ee219f4
* Fri May 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.82-2
Chris Weyl ee219f4
- bump
Chris Weyl ee219f4
Chris Weyl 1b5436b
* Thu Feb 01 2007 Steven Pritchard <steve@kspei.com> 0.82-1
Chris Weyl 1b5436b
- Specfile autogenerated by cpanspec 1.69.1.
Chris Weyl 1b5436b
- Remove explicit build dependency on perl.
Chris Weyl 1b5436b
- Include JSON module.
Chris Weyl 1b5436b
- BR Devel::Leak (for tests).