2b9ccb
Name:           perl-YAML
2b9ccb
Version:        0.84
2b9ccb
Release:        5%{?dist}
2b9ccb
Summary:        YAML Ain't Markup Language (tm)
2b9ccb
License:        GPL+ or Artistic
2b9ccb
Group:          Development/Libraries
2b9ccb
URL:            http://search.cpan.org/dist/YAML/
2b9ccb
Source0:        http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/YAML-%{version}.tar.gz
2b9ccb
BuildArch:      noarch
2b9ccb
BuildRequires:  perl(Carp)
2b9ccb
BuildRequires:  perl(constant)
2b9ccb
BuildRequires:  perl(Cwd)
2b9ccb
BuildRequires:  perl(Data::Dumper)
2b9ccb
BuildRequires:  perl(Exporter)
2b9ccb
BuildRequires:  perl(ExtUtils::MakeMaker)
2b9ccb
BuildRequires:  perl(File::Path)
2b9ccb
BuildRequires:  perl(lib)
2b9ccb
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
2b9ccb
Requires:       perl(Carp)
2b9ccb
Requires:       perl(Data::Dumper)
2b9ccb
2b9ccb
# Filter private provides:
2b9ccb
# perl(yaml_mapping) perl(yaml_scalar) perl(yaml_sequence)
2b9ccb
%global __provides_exclude ^perl\\(yaml_
2b9ccb
2b9ccb
%description
2b9ccb
The YAML.pm module implements a YAML Loader and Dumper based on the
2b9ccb
YAML 1.0 specification. http://www.yaml.org/spec/
2b9ccb
YAML is a generic data serialization language that is optimized for
2b9ccb
human readability. It can be used to express the data structures of
2b9ccb
most modern programming languages, including Perl.
2b9ccb
For information on the YAML syntax, please refer to the YAML
2b9ccb
specification.
2b9ccb
2b9ccb
%prep
2b9ccb
%setup -q -n YAML-%{version}
2b9ccb
2b9ccb
%build
2b9ccb
perl Makefile.PL INSTALLDIRS=vendor < /dev/null
2b9ccb
make %{?_smp_mflags}
2b9ccb
2b9ccb
%install
2b9ccb
make pure_install DESTDIR=%{buildroot}
2b9ccb
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
2b9ccb
%{_fixperms} %{buildroot}
2b9ccb
2b9ccb
# Removing Test::YAML (at least temporarily) due
2b9ccb
# to security concerns and questionable value.
2b9ccb
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197539
2b9ccb
rm -f %{buildroot}%{perl_vendorlib}/Test/YAML* \
2b9ccb
    %{buildroot}%{_mandir}/man3/Test::YAML*.3*
2b9ccb
2b9ccb
%check
2b9ccb
make test
2b9ccb
2b9ccb
%files
2b9ccb
%doc Changes README LICENSE
2b9ccb
%{perl_vendorlib}/YAML*
2b9ccb
%{_mandir}/man3/YAML*.3*
2b9ccb
2b9ccb
%changelog
2b9ccb
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.84-5
2b9ccb
- Mass rebuild 2013-12-27
2b9ccb
2b9ccb
* Tue Aug 28 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.84-4
2b9ccb
- Specify all dependencies.
2b9ccb
2b9ccb
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.84-3
2b9ccb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2b9ccb
2b9ccb
* Tue Jul 17 2012 Paul Howarth <paul@city-fan.org> - 0.84-2
2b9ccb
- Haven't needed to fix documentation character encoding since 0.79
2b9ccb
- Drop Test::Base build dependency again to avoid a BR loop (#215637)
2b9ccb
- Filter private provides perl(yaml_mapping), perl(yaml_scalar) and
2b9ccb
  perl(yaml_sequence)
2b9ccb
- Don't need to remove empty directories from the buildroot
2b9ccb
- This release by MSTROUT -> update source URL
2b9ccb
2b9ccb
* Mon Jul 16 2012 Petr Šabata <contyk@redhat.com> - 0.84-1
2b9ccb
- 0.84 bump
2b9ccb
- Drop command macros
2b9ccb
- Drop previously added patch (included in 0.82)
2b9ccb
2b9ccb
* Fri Jun 22 2012 Jitka Plesnikova <jplesnik@redhat.com> 0.81-4
2b9ccb
- apply patch to for YAML::Any RT#74226
2b9ccb
2b9ccb
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 0.81-3
2b9ccb
- Perl 5.16 rebuild
2b9ccb
2b9ccb
* Mon Apr 23 2012 Paul Howarth <paul@city-fan.org> - 0.81-2
2b9ccb
- R: perl(Carp) and perl(Data::Dumper)
2b9ccb
- BR: perl(Carp), perl(constant) and perl(Exporter)
2b9ccb
- Release tests no longer shipped, so drop buildreqs for them and don't bother
2b9ccb
  setting AUTOMATED_TESTING; run tests even when bootstrapping
2b9ccb
2b9ccb
* Mon Apr 23 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.81-1
2b9ccb
- Update to 0.81
2b9ccb
- Add BR Data::Dumper
2b9ccb
2b9ccb
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.73-3
2b9ccb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2b9ccb
2b9ccb
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.73-2
2b9ccb
- Perl mass rebuild
2b9ccb
- add perl_bootstrap macro
2b9ccb
2b9ccb
* Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 0.73-1
2b9ccb
- update to latest upstream version
2b9ccb
- clean up spec for modern rpmbuild
2b9ccb
2b9ccb
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.72-2
2b9ccb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2b9ccb
2b9ccb
* Wed Dec 08 2010 Steven Pritchard <steve@kspei.com> 0.72-1
2b9ccb
- Update to 0.72.
2b9ccb
2b9ccb
* Wed Aug 18 2010 Paul Howarth <paul@city-fan.org> - 0.71-1
2b9ccb
- Update to 0.71 (use UTF-8 encoding in LoadFile/DumpFile: CPAN RT#25434)
2b9ccb
- Enable AUTOMATED_TESTING
2b9ccb
- BR: perl(Test::CPAN::Meta), perl(Test::MinimumVersion), perl(Test::Pod)
2b9ccb
- This release by ADAMK -> update source URL
2b9ccb
- Re-code docs as UTF-8
2b9ccb
2b9ccb
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.70-5
2b9ccb
- Mass rebuild with perl-5.12.0
2b9ccb
2b9ccb
* Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.70-4
2b9ccb
- add license
2b9ccb
2b9ccb
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.70-3
2b9ccb
- rebuild against perl 5.10.1
2b9ccb
2b9ccb
* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.70-2
2b9ccb
- rebuild for push
2b9ccb
2b9ccb
* Tue Oct 6  2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.70-1
2b9ccb
- new upstream version
2b9ccb
2b9ccb
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-3
2b9ccb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2b9ccb
2b9ccb
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-2
2b9ccb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2b9ccb
2b9ccb
* Wed Dec 10 2008 Steven Pritchard <steve@kspei.com> 0.68-1
2b9ccb
- Update to 0.68.
2b9ccb
- COMPATIBILITY went away.
2b9ccb
- ysh moved to YAML::Shell.
2b9ccb
2b9ccb
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.66-3
2b9ccb
- Rebuild for perl 5.10 (again)
2b9ccb
2b9ccb
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.66-2
2b9ccb
- rebuild for new perl
2b9ccb
2b9ccb
* Tue Oct 16 2007 Steven Pritchard <steve@kspei.com> 0.66-1
2b9ccb
- Update to 0.66.
2b9ccb
- Update License tag.
2b9ccb
2b9ccb
* Wed Jun 27 2007 Steven Pritchard <steve@kspei.com> 0.65-1
2b9ccb
- Update to 0.65.
2b9ccb
2b9ccb
* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 0.62-3
2b9ccb
- Use fixperms macro instead of our own chmod incantation.
2b9ccb
- Drop Test::Base build dependency to avoid a BR loop (#215637).
2b9ccb
- BR ExtUtils::MakeMaker.
2b9ccb
2b9ccb
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.62-2
2b9ccb
- Fix find option order.
2b9ccb
2b9ccb
* Fri Jul 07 2006 Steven Pritchard <steve@kspei.com> 0.62-1
2b9ccb
- Update to 0.62.
2b9ccb
- Removed Test::YAML (bug #197539).
2b9ccb
2b9ccb
* Mon Jul 03 2006 Steven Pritchard <steve@kspei.com> 0.61-1
2b9ccb
- Update to 0.61.
2b9ccb
2b9ccb
* Sat May 20 2006 Steven Pritchard <steve@kspei.com> 0.58-3
2b9ccb
- Rebuild.
2b9ccb
2b9ccb
* Tue May 09 2006 Steven Pritchard <steve@kspei.com> 0.58-2
2b9ccb
- Drop testmore patch.
2b9ccb
- Catch Test::YAML module and man page in file list.
2b9ccb
2b9ccb
* Thu May 04 2006 Steven Pritchard <steve@kspei.com> 0.58-1
2b9ccb
- Update to 0.58.
2b9ccb
- Small spec cleanups.
2b9ccb
2b9ccb
* Thu Apr 14 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.39-2
2b9ccb
- 0.39.
2b9ccb
2b9ccb
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
2b9ccb
- rebuilt
2b9ccb
2b9ccb
* Sat May 15 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.35-0.fdr.5
2b9ccb
- Avoid creation of the perllocal.pod file (make pure_install).
2b9ccb
2b9ccb
* Sun Apr 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.4
2b9ccb
- Require perl(:MODULE_COMPAT_*).
2b9ccb
- Cosmetic tweaks (bug 1383).
2b9ccb
2b9ccb
* Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.3
2b9ccb
- Reduce directory ownership bloat.
2b9ccb
2b9ccb
* Tue Nov 18 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.2
2b9ccb
- Use INSTALLARCHLIB workaround in %%install.
2b9ccb
2b9ccb
* Wed Sep  3 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.35-0.fdr.1
2b9ccb
- First build.