cvsextras fb66c5
Name:           perl-YAML
55e602
Version:        0.95
b31f63
Release:        1%{?dist}
cvsextras fb66c5
Summary:        YAML Ain't Markup Language (tm)
091bdc
License:        GPL+ or Artistic
295540
Group:          Development/Libraries
cvsextras fb66c5
URL:            http://search.cpan.org/dist/YAML/
1ccbcc
Source0:        http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-%{version}.tar.gz
cvsextras fb66c5
BuildArch:      noarch
e4b038
BuildRequires:  perl
48fd12
BuildRequires:  perl(Carp)
48fd12
BuildRequires:  perl(constant)
Marcela Mašláňová 13b616
BuildRequires:  perl(Data::Dumper)
48fd12
BuildRequires:  perl(Exporter)
1ccbcc
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
Petr Šabata 1cf55c
BuildRequires:  perl(lib)
1ccbcc
BuildRequires:  perl(overload)
1ccbcc
BuildRequires:  perl(strict)
b31f63
BuildRequires:  perl(Test::More) >= 0.88
2257bd
# Avoid circular build deps via Module::Build when bootstrapping
2257bd
%if 0%{!?perl_bootstrap:1}
1ccbcc
BuildRequires:  perl(Test::Pod) >= 1.41
2257bd
%endif
1ccbcc
BuildRequires:  perl(warnings)
Petr Šabata 1cf55c
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
48fd12
Requires:       perl(Carp)
48fd12
Requires:       perl(Data::Dumper)
cvsextras fb66c5
b92f5a
# Filter private provides:
b92f5a
# perl(yaml_mapping) perl(yaml_scalar) perl(yaml_sequence)
b92f5a
%global __provides_exclude ^perl\\(yaml_
b92f5a
cvsextras fb66c5
%description
cvsextras fb66c5
The YAML.pm module implements a YAML Loader and Dumper based on the
cvsextras fb66c5
YAML 1.0 specification. http://www.yaml.org/spec/
cvsextras fb66c5
YAML is a generic data serialization language that is optimized for
cvsextras fb66c5
human readability. It can be used to express the data structures of
cvsextras fb66c5
most modern programming languages, including Perl.
cvsextras fb66c5
For information on the YAML syntax, please refer to the YAML
cvsextras fb66c5
specification.
cvsextras fb66c5
cvsextras fb66c5
%prep
cvsextras fb66c5
%setup -q -n YAML-%{version}
cvsextras fb66c5
cvsextras fb66c5
%build
1ccbcc
perl Makefile.PL INSTALLDIRS=vendor
cvsextras fb66c5
make %{?_smp_mflags}
cvsextras fb66c5
cvsextras fb66c5
%install
Petr Šabata 1cf55c
make pure_install DESTDIR=%{buildroot}
b92f5a
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
b92f5a
%{_fixperms} %{buildroot}
b92f5a
9a7543
# Removing Test::YAML (at least temporarily) due
9a7543
# to security concerns and questionable value.
9a7543
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197539
Petr Šabata 1cf55c
rm -f %{buildroot}%{perl_vendorlib}/Test/YAML* \
Petr Šabata 1cf55c
    %{buildroot}%{_mandir}/man3/Test::YAML*.3*
cvsextras fb66c5
295540
%check
d397f0
# Avoid circular build deps via Module::Build on Test::Pod when bootstrapping
d397f0
make test RELEASE_TESTING=0%{!?perl_bootstrap:1}
2dbaa3
cvsextras fb66c5
%files
1ccbcc
%doc Changes LICENSE README
b31f63
%dir %{perl_vendorlib}/YAML/
b31f63
%dir %{perl_vendorlib}/YAML/Dumper/
b31f63
%dir %{perl_vendorlib}/YAML/Loader/
b31f63
%doc %{perl_vendorlib}/YAML.pod
b31f63
%doc %{perl_vendorlib}/YAML/Any.pod
b31f63
%doc %{perl_vendorlib}/YAML/Dumper.pod
b31f63
%doc %{perl_vendorlib}/YAML/Dumper/Base.pod
b31f63
%doc %{perl_vendorlib}/YAML/Error.pod
b31f63
%doc %{perl_vendorlib}/YAML/Loader.pod
b31f63
%doc %{perl_vendorlib}/YAML/Loader/Base.pod
b31f63
%doc %{perl_vendorlib}/YAML/Marshall.pod
b31f63
%doc %{perl_vendorlib}/YAML/Node.pod
b31f63
%doc %{perl_vendorlib}/YAML/Tag.pod
b31f63
%doc %{perl_vendorlib}/YAML/Types.pod
1ccbcc
%{perl_vendorlib}/YAML.pm
b31f63
%{perl_vendorlib}/YAML/Any.pm
b31f63
%{perl_vendorlib}/YAML/Dumper.pm
b31f63
%{perl_vendorlib}/YAML/Dumper/Base.pm
b31f63
%{perl_vendorlib}/YAML/Error.pm
b31f63
%{perl_vendorlib}/YAML/Loader.pm
b31f63
%{perl_vendorlib}/YAML/Loader/Base.pm
b31f63
%{perl_vendorlib}/YAML/Marshall.pm
b31f63
%{perl_vendorlib}/YAML/Mo.pm
b31f63
%{perl_vendorlib}/YAML/Node.pm
b31f63
%{perl_vendorlib}/YAML/Tag.pm
b31f63
%{perl_vendorlib}/YAML/Types.pm
1ccbcc
%{_mandir}/man3/YAML.3pm*
1ccbcc
%{_mandir}/man3/YAML::Any.3pm*
1ccbcc
%{_mandir}/man3/YAML::Dumper.3pm*
1ccbcc
%{_mandir}/man3/YAML::Dumper::Base.3pm*
1ccbcc
%{_mandir}/man3/YAML::Error.3pm*
1ccbcc
%{_mandir}/man3/YAML::Loader.3pm*
1ccbcc
%{_mandir}/man3/YAML::Loader::Base.3pm*
1ccbcc
%{_mandir}/man3/YAML::Marshall.3pm*
1ccbcc
%{_mandir}/man3/YAML::Node.3pm*
1ccbcc
%{_mandir}/man3/YAML::Tag.3pm*
1ccbcc
%{_mandir}/man3/YAML::Types.3pm*
5e2ec0
2dbaa3
%changelog
55e602
* Mon Jun 23 2014 Paul Howarth <paul@city-fan.org> - 0.95-1
55e602
- Update to 0.95
55e602
  - Fix dumping blessed globs
55e602
b31f63
* Sun Jun 15 2014 Paul Howarth <paul@city-fan.org> - 0.94-1
b31f63
- Update to 0.94
b31f63
  - Switch to Zilla::Dist
b31f63
  - Add badges to doc
b31f63
  - Fix regression introduced with earlier fix for complex regular
b31f63
    subexpression recursion limit (GH#18)
b31f63
  - Fix reference to non-existent sub Carp::Croak (GH#19)
b31f63
- Enumerate all files so we can mark POD files as %%doc
b31f63
- Bump Test::More version requirement to 0.88 due to use of done_testing
b31f63
2e6818
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-3
2e6818
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2e6818
d397f0
* Tue Jun 03 2014 Petr Pisar <ppisar@redhat.com> - 0.92-2
d397f0
- Do not run release tests on bootstrap (bug #1104137)
d397f0
96f01c
* Thu May 29 2014 Paul Howarth <paul@city-fan.org> 0.92-1
96f01c
- Update to 0.92
96f01c
  - Metadata fixes (https://github.com/ingydotnet/yaml-pm/pull/23)
96f01c
e4b038
* Wed May 28 2014 Paul Howarth <paul@city-fan.org> - 0.91-1
e4b038
- Update to 0.91
e4b038
  - Force escaping of single '-'
e4b038
    (https://github.com/ingydotnet/yaml-pm/pull/22)
e4b038
2257bd
* Fri Feb 28 2014 Paul Howarth <paul@city-fan.org> - 0.90-2
2257bd
- Avoid circular build deps via Module::Build when bootstrapping
2257bd
24e96f
* Tue Feb 11 2014 Paul Howarth <paul@city-fan.org> - 0.90-1
24e96f
- Update to 0.90
24e96f
  - Revert Mo from 0.38 to 0.31 following a report of it breaking cpan client
24e96f
1ccbcc
* Mon Feb 10 2014 Paul Howarth <paul@city-fan.org> - 0.89-1
1ccbcc
- Update to 0.89
1ccbcc
  - Synopsis in YAML::Dumper didn't work as expected (CPAN RT#19838)
1ccbcc
  - Address complex regular subexpression recursion limit (CPAN RT#90593)
1ccbcc
  - Use latest Test::Builder (CPAN RT#90847)
1ccbcc
  - Fixed tests to work under parallel testing
1ccbcc
  - Switched to dzil release process
1ccbcc
- This release by INGY -> update source URL
1ccbcc
- Make %%files list more explicit
1ccbcc
- Specify all dependencies
1ccbcc
a64440
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.84-7
a64440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a64440
1e7c7a
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 0.84-6
1e7c7a
- Perl 5.18 rebuild
1e7c7a
c5f24c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.84-5
c5f24c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c5f24c
f52190
* Tue Aug 28 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.84-4
1ccbcc
- Specify all dependencies
f52190
ea2c12
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.84-3
ea2c12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ea2c12
b92f5a
* Tue Jul 17 2012 Paul Howarth <paul@city-fan.org> - 0.84-2
b92f5a
- Haven't needed to fix documentation character encoding since 0.79
b92f5a
- Drop Test::Base build dependency again to avoid a BR loop (#215637)
b92f5a
- Filter private provides perl(yaml_mapping), perl(yaml_scalar) and
b92f5a
  perl(yaml_sequence)
b92f5a
- Don't need to remove empty directories from the buildroot
b92f5a
- This release by MSTROUT -> update source URL
b92f5a
Petr Šabata 1cf55c
* Mon Jul 16 2012 Petr Šabata <contyk@redhat.com> - 0.84-1
Petr Šabata 1cf55c
- 0.84 bump
Petr Šabata 1cf55c
- Drop command macros
Petr Šabata 1cf55c
- Drop previously added patch (included in 0.82)
Petr Šabata 1cf55c
3c5630
* Fri Jun 22 2012 Jitka Plesnikova <jplesnik@redhat.com> 0.81-4
1ccbcc
- Apply patch to for YAML::Any RT#74226
3c5630
a68693
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 0.81-3
a68693
- Perl 5.16 rebuild
a68693
48fd12
* Mon Apr 23 2012 Paul Howarth <paul@city-fan.org> - 0.81-2
48fd12
- R: perl(Carp) and perl(Data::Dumper)
48fd12
- BR: perl(Carp), perl(constant) and perl(Exporter)
48fd12
- Release tests no longer shipped, so drop buildreqs for them and don't bother
48fd12
  setting AUTOMATED_TESTING; run tests even when bootstrapping
48fd12
Marcela Mašláňová 13b616
* Mon Apr 23 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.81-1
48fd12
- Update to 0.81
48fd12
- Add BR Data::Dumper
Marcela Mašláňová 13b616
df5563
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.73-3
df5563
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
df5563
Marcela Mašláňová f2e00c
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.73-2
Marcela Mašláňová f2e00c
- Perl mass rebuild
Marcela Mašláňová f2e00c
- add perl_bootstrap macro
Marcela Mašláňová f2e00c
c7add1
* Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 0.73-1
c7add1
- update to latest upstream version
c7add1
- clean up spec for modern rpmbuild
c7add1
e766e0
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.72-2
e766e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e766e0
Steven Pritchard 2e0508
* Wed Dec 08 2010 Steven Pritchard <steve@kspei.com> 0.72-1
Steven Pritchard 2e0508
- Update to 0.72.
Steven Pritchard 2e0508
1d6873
* Wed Aug 18 2010 Paul Howarth <paul@city-fan.org> - 0.71-1
1d6873
- Update to 0.71 (use UTF-8 encoding in LoadFile/DumpFile: CPAN RT#25434)
1d6873
- Enable AUTOMATED_TESTING
1d6873
- BR: perl(Test::CPAN::Meta), perl(Test::MinimumVersion), perl(Test::Pod)
1d6873
- This release by ADAMK -> update source URL
1d6873
- Re-code docs as UTF-8
1d6873
694c78
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.70-5
694c78
- Mass rebuild with perl-5.12.0
694c78
62da76
* Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.70-4
62da76
- add license
62da76
72a551
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.70-3
72a551
- rebuild against perl 5.10.1
72a551
119394
* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.70-2
119394
- rebuild for push
119394
7a83cd
* Tue Oct 6  2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.70-1
7a83cd
- new upstream version
7a83cd
ab58ea
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-3
ab58ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ab58ea
5d2ed6
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-2
5d2ed6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5d2ed6
1d3272
* Wed Dec 10 2008 Steven Pritchard <steve@kspei.com> 0.68-1
1d3272
- Update to 0.68.
1d3272
- COMPATIBILITY went away.
1d3272
- ysh moved to YAML::Shell.
1d3272
837bc0
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.66-3
837bc0
- Rebuild for perl 5.10 (again)
837bc0
4dfc7a
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.66-2
4dfc7a
- rebuild for new perl
4dfc7a
091bdc
* Tue Oct 16 2007 Steven Pritchard <steve@kspei.com> 0.66-1
091bdc
- Update to 0.66.
091bdc
- Update License tag.
091bdc
f86e5e
* Wed Jun 27 2007 Steven Pritchard <steve@kspei.com> 0.65-1
f86e5e
- Update to 0.65.
f86e5e
d6b630
* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 0.62-3
d6b630
- Use fixperms macro instead of our own chmod incantation.
6821ee
- Drop Test::Base build dependency to avoid a BR loop (#215637).
d6b630
- BR ExtUtils::MakeMaker.
d6b630
d6602c
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.62-2
d6602c
- Fix find option order.
d6602c
9a7543
* Fri Jul 07 2006 Steven Pritchard <steve@kspei.com> 0.62-1
9a7543
- Update to 0.62.
9a7543
- Removed Test::YAML (bug #197539).
9a7543
9a7543
* Mon Jul 03 2006 Steven Pritchard <steve@kspei.com> 0.61-1
9a7543
- Update to 0.61.
9a7543
539a4c
* Sat May 20 2006 Steven Pritchard <steve@kspei.com> 0.58-3
539a4c
- Rebuild.
539a4c
295540
* Tue May 09 2006 Steven Pritchard <steve@kspei.com> 0.58-2
295540
- Drop testmore patch.
295540
- Catch Test::YAML module and man page in file list.
295540
295540
* Thu May 04 2006 Steven Pritchard <steve@kspei.com> 0.58-1
295540
- Update to 0.58.
295540
- Small spec cleanups.
295540
e1aabd
* Thu Apr 14 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.39-2
e1aabd
- 0.39.
e1aabd
1ccbcc
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
dc348d
- rebuilt
dc348d
cvsextras fb66c5
* Sat May 15 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.35-0.fdr.5
cvsextras fb66c5
- Avoid creation of the perllocal.pod file (make pure_install).
cvsextras fb66c5
cvsextras fb66c5
* Sun Apr 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.4
cvsextras fb66c5
- Require perl(:MODULE_COMPAT_*).
cvsextras fb66c5
- Cosmetic tweaks (bug 1383).
cvsextras fb66c5
cvsextras fb66c5
* Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.3
cvsextras fb66c5
- Reduce directory ownership bloat.
cvsextras fb66c5
cvsextras fb66c5
* Tue Nov 18 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.2
cvsextras fb66c5
- Use INSTALLARCHLIB workaround in %%install.
cvsextras fb66c5
cvsextras fb66c5
* Wed Sep  3 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.1
cvsextras fb66c5
- First build.