perl-YAML-LibYAML/perl-YAML-LibYAML.spec

294 lines
9.7 KiB
RPMSpec
Raw Normal View History

2009-05-04 08:13:10 +00:00
Name: perl-YAML-LibYAML
Version: 0.71
Release: 2%{?dist}
Summary: Perl YAML Serialization using XS and libyaml
2009-05-04 08:13:10 +00:00
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/YAML-LibYAML/
Source0: http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/YAML-LibYAML-%{version}.tar.gz
# Build
BuildRequires: coreutils
2016-02-10 09:31:50 +00:00
BuildRequires: findutils
BuildRequires: gcc
2016-02-10 09:31:50 +00:00
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: libyaml, libyaml-devel
# Module
BuildRequires: perl(B::Deparse)
BuildRequires: perl(base)
BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
# Tests
2016-02-10 09:31:50 +00:00
BuildRequires: perl(blib)
BuildRequires: perl(Devel::Peek)
BuildRequires: perl(Encode)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Path)
BuildRequires: perl(IO::File)
BuildRequires: perl(IO::Pipe)
2014-07-14 13:55:09 +00:00
BuildRequires: perl(lib)
BuildRequires: perl(Test::Base)
BuildRequires: perl(Test::Base::Filter)
BuildRequires: perl(Test::More) >= 0.88
2011-09-30 11:15:07 +00:00
BuildRequires: perl(Tie::Array)
BuildRequires: perl(Tie::Hash)
2014-11-18 15:35:14 +00:00
BuildRequires: perl(utf8)
2009-05-04 08:13:10 +00:00
# Optional Tests
BuildRequires: perl(Path::Class)
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Avoid provides for perl shared objects
%{?perl_default_filter}
2009-05-04 08:13:10 +00:00
%description
Kirill Siminov's "libyaml" is arguably the best YAML implementation. The C
library is written precisely to the YAML 1.1 specification. It was originally
bound to Python and was later bound to Ruby.
2009-05-04 08:13:10 +00:00
%prep
%setup -q -n YAML-LibYAML-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
2009-05-04 08:13:10 +00:00
make %{?_smp_mflags}
%install
2011-09-30 11:15:07 +00:00
make pure_install DESTDIR=%{buildroot}
2016-02-10 09:31:50 +00:00
find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot}
2009-05-04 08:13:10 +00:00
%check
make test
%files
%license LICENSE
%doc Changes CONTRIBUTING README
%{perl_vendorarch}/auto/YAML/
%{perl_vendorarch}/YAML/
%{_mandir}/man3/YAML::LibYAML.3*
%{_mandir}/man3/YAML::XS.3*
%{_mandir}/man3/YAML::XS::LibYAML.3*
2009-05-04 08:13:10 +00:00
%changelog
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.71-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Sep 8 2016 Paul Howarth <paul@city-fan.org> - 0.71-1
- Update to 0.71
- Merge with libyaml 0.1.7 upstream
- cperl fixes for fake_signatures
- libyaml fix C++-compat errors
- Improve Makefile for Win32
- Improve ppport_sort.h
- Implement new NonStrict mode (for perl5 compat)
- libyaml reformat, minor optimizations, fix warnings
- Update documentation
- Use error codes, return undef on error
- Abstract the loader functionality to load_impl(), dump_impl() not yet
- Rearrange static funcs (not decl in header)
- DumpFile,LoadFile is now XS only, and do accept mg pv, io objects and
fileglobs; support filename in error messages
- Support $YAML::XS::NonStrict loader
- Add dumper options Indent, BestWidth, Canonical, Unicode, Encoding,
LineBreak, OpenEnded (kept defaults)
- Add loader option NonStrict, Encoding (kept defaults)
- Fix default emitter_set_width (2 80)
- Fix the tests for the new default IndentlessMap=0 and check also
IndentlessMap=1
- Enable 2 more test/glob.t tests
- Fix dump_yaml in test/TestYAMLTests.pm
- Avoid duplicate checks against NULL
- This release by RURBAN update source URL
* Fri Jul 8 2016 Paul Howarth <paul@city-fan.org> - 0.63-1
- Update to 0.63
- Fix memory leaks (GH#48)
- BR: perl-generators
- Simplify find command using -empty
2016-05-15 08:56:50 +00:00
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.62-2
- Perl 5.24 rebuild
* Mon Feb 22 2016 Paul Howarth <paul@city-fan.org> - 0.62-1
- Update to 0.62
- Fix for detecting filehandles (GH#42)
- This release by TINITA update source URL
* Sun Feb 21 2016 Paul Howarth <paul@city-fan.org> - 0.61-1
- Update to 0.61
- Allow reading from and writing to IO::Handle (and derived) objects (GH#37)
2016-02-10 09:31:50 +00:00
* Wed Feb 10 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.60-1
- 0.60 bump
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.59-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.59-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-06-03 17:33:32 +00:00
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.59-2
- Perl 5.22 rebuild
* Tue Jan 27 2015 Paul Howarth <paul@city-fan.org> - 0.59-1
- Update to 0.59
- Better scalar dump heuristics (PR/23)
- More closely match YAML.pm
* Wed Jan 21 2015 Paul Howarth <paul@city-fan.org> - 0.58-1
- Update to 0.58
- Add a VERSION statement to YAML::LibYAML (GH#8)
- This release by INGY update source URL
* Fri Jan 16 2015 Paul Howarth <paul@city-fan.org> - 0.57-1
- Update to 0.57
- Update copyright year
- Use Swim cpan-tail block functions in doc
- Format string fixes (PR#21, CPAN RT#46507, CVE-2012-1152)
- This release by NAWGLAN update source URL
- Drop patch for format string fixes, upstreamed at long last
* Wed Dec 24 2014 Paul Howarth <paul@city-fan.org> - 0.55-1
- Update to 0.55
- Get YAML::XS using latest libyaml
* Sun Nov 30 2014 Paul Howarth <paul@city-fan.org> - 0.54-1
- Update to 0.54
- Fix for an edge case in scanner that results in an assert() failing
(https://bitbucket.org/xi/libyaml/issue/10/wrapped-strings-cause-assert-failure)
(CVE-2014-9130)
- Drop upstreamed patches for CVE-2013-6393 and CVE-2014-2525
2014-11-18 15:35:14 +00:00
* Tue Nov 18 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.52-3
- Update BRs (bz#1165198)
2014-08-27 09:12:33 +00:00
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.52-2
- Perl 5.20 rebuild
* Sun Aug 24 2014 Paul Howarth <paul@city-fan.org> - 0.52-1
- Update to 0.52
- Fix e1 test failure on 5.21.4
* Mon Aug 18 2014 Paul Howarth <paul@city-fan.org> - 0.51-1
- Update to 0.51 (various minor tidy-ups, no functional changes)
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.47-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Aug 9 2014 Paul Howarth <paul@city-fan.org> - 0.47-1
- Update to 0.47:
- Fix swim errors
- Include upstream license file
2014-08-06 12:32:20 +00:00
* Wed Aug 06 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-1
- 0.46 bump
2014-08-05 11:54:34 +00:00
* Tue Aug 05 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.45-1
- 0.45 bump
2014-08-06 12:32:20 +00:00
2014-07-14 13:55:09 +00:00
* Mon Jul 14 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.44-1
- 0.44 bump
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Mar 27 2014 Paul Howarth <paul@city-fan.org> - 0.41-4
- Fix LibYAML input sanitization errors (CVE-2014-2525)
- Fix heap-based buffer overflow when parsing YAML tags (CVE-2013-6393)
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-17 19:39:23 +00:00
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.41-2
- Perl 5.18 rebuild
* Wed Mar 13 2013 Paul Howarth <paul@city-fan.org> - 0.41-1
- Update to 0.41:
- Removed C++ // style comments, for better portability
* Tue Feb 12 2013 Paul Howarth <paul@city-fan.org> - 0.39-1
- Update to 0.39:
- Using the latest libyaml codebase
(https://github.com/yaml/libyaml/tree/perl-yaml-xs)
- Changes have been made to start moving libyaml to 1.2
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.38-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-06-11 08:47:59 +00:00
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.38-3
- Perl 5.16 rebuild
2012-06-11 11:04:30 +00:00
- Build-require Data::Dumper
2012-06-11 08:47:59 +00:00
* Thu Mar 29 2012 Paul Howarth <paul@city-fan.org> - 0.38-2
- Fix various format string vulnerabilities (CVE-2012-1152, CPAN RT#46507)
- De-duplicate buildreqs, with Module>Install>Tests priority
- Install to vendor directories
- Don't need to remove empty directories from buildroot
- Don't use macros for commands
- Make %%files list more explicit
- Tidy %%description
* Fri Jan 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.38-1
- Bump to 0.38
2012-01-13 14:00:54 +00:00
2011-09-30 11:15:07 +00:00
* Fri Sep 30 2011 Petr Sabata <contyk@redhat.com> - 0.37-1
- 0.37 bump
- Remove defattr
- Correct BR
2011-06-17 10:00:47 +00:00
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.35-2
- Perl mass rebuild
2011-04-04 11:21:09 +00:00
* Mon Apr 04 2011 Petr Sabata <psabata@redhat.com> - 0.35-1
- 0.35 bump
- Removing obsolete buildroot stuff
* Wed Mar 16 2011 Paul Howarth <paul@city-fan.org> - 0.34-4
- Improve overly-generic package summary
- README is already UTF-8 encoded in version 0.34 so don't try converting it
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-09-29 22:03:32 +00:00
* Wed Sep 29 2010 jkeating - 0.34-2
- Rebuilt for gcc bug 634757
* Fri Sep 24 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.34-1
- update
2010-09-24 11:30:25 +00:00
2010-06-03 09:05:49 +00:00
* Thu Jun 3 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.33-1
- update
2010-05-07 14:54:43 +00:00
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.32-6
- Mass rebuild with perl-5.12.0
* Sat Mar 27 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.32-5
- perl_default_filter, PERL_INSTALL_ROOT => DESTDIR
2009-12-07 03:35:30 +00:00
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.32-4
- rebuild against perl 5.10.1
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-05-04 08:13:10 +00:00
* Wed Apr 29 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.32-2
- add BR
* Wed Apr 29 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.32-1
- Specfile autogenerated by cpanspec 1.78.