Blame SPECS/perl-YAML-Tiny.spec

09ecf7
# Test using JSON::MaybeXS instead of JSON::PP
09ecf7
%if ! (0%{?rhel})
09ecf7
%{bcond_without perl_YAML_Tiny_enables_JSON_MaybeX_test}
09ecf7
%else
09ecf7
%{bcond_with perl_YAML_Tiny_enables_JSON_MaybeX_test}
09ecf7
%endif
09ecf7
09ecf7
Name:           perl-YAML-Tiny
09ecf7
Version:        1.73
09ecf7
Release:        13%{?dist}
09ecf7
Summary:        Read/Write YAML files with as little code as possible
09ecf7
License:        GPL+ or Artistic
09ecf7
URL:            https://metacpan.org/release/YAML-Tiny
09ecf7
Source0:        https://cpan.metacpan.org/modules/by-module/YAML/YAML-Tiny-%{version}.tar.gz
09ecf7
BuildArch:      noarch
09ecf7
# Module Build
09ecf7
BuildRequires:  coreutils
09ecf7
BuildRequires:  findutils
09ecf7
BuildRequires:  make
09ecf7
BuildRequires:  perl-generators
09ecf7
BuildRequires:  perl-interpreter
09ecf7
BuildRequires:  perl(ExtUtils::MakeMaker)
09ecf7
# Module Runtime
09ecf7
BuildRequires:  perl(B)
09ecf7
BuildRequires:  perl(Carp)
09ecf7
BuildRequires:  perl(Exporter)
09ecf7
BuildRequires:  perl(Fcntl)
09ecf7
BuildRequires:  perl(Scalar::Util)
09ecf7
BuildRequires:  perl(strict)
09ecf7
BuildRequires:  perl(warnings)
09ecf7
# Test Suite
09ecf7
BuildRequires:  perl(base)
09ecf7
BuildRequires:  perl(blib)
09ecf7
BuildRequires:  perl(File::Basename)
09ecf7
BuildRequires:  perl(File::Find)
09ecf7
BuildRequires:  perl(File::Spec) >= 0.80
09ecf7
BuildRequires:  perl(File::Spec::Functions)
09ecf7
BuildRequires:  perl(File::Temp) >= 0.19
09ecf7
BuildRequires:  perl(Getopt::Long)
09ecf7
BuildRequires:  perl(IO::Dir)
09ecf7
BuildRequires:  perl(JSON::PP)
09ecf7
BuildRequires:  perl(lib)
09ecf7
BuildRequires:  perl(List::Util)
09ecf7
BuildRequires:  perl(Test::More) >= 0.88
09ecf7
BuildRequires:  perl(utf8)
09ecf7
BuildRequires:  perl(vars)
09ecf7
# Optional Tests
09ecf7
BuildRequires:  perl(CPAN::Meta) >= 2.120900
09ecf7
%if %{with perl_YAML_Tiny_enables_JSON_MaybeX_test}
09ecf7
BuildRequires:  perl(JSON::MaybeXS) >= 1.001000
09ecf7
%endif
09ecf7
# Runtime
09ecf7
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
09ecf7
Requires:       perl(Carp)
09ecf7
Requires:       perl(Exporter)
09ecf7
Requires:       perl(Fcntl)
09ecf7
Requires:       perl(Scalar::Util)
09ecf7
09ecf7
%description
09ecf7
YAML::Tiny is a Perl class for reading and writing YAML-style files,
09ecf7
written with as little code as possible, reducing load time and
09ecf7
memory overhead.
09ecf7
09ecf7
%prep
09ecf7
%setup -q -n YAML-Tiny-%{version}
09ecf7
09ecf7
%build
09ecf7
perl Makefile.PL INSTALLDIRS=vendor
09ecf7
make %{?_smp_mflags}
09ecf7
09ecf7
%install
09ecf7
make pure_install DESTDIR=%{buildroot}
09ecf7
find %{buildroot} -type f -name .packlist -delete
09ecf7
%{_fixperms} -c %{buildroot}
09ecf7
09ecf7
%check
09ecf7
make test
09ecf7
09ecf7
%files
09ecf7
%license LICENSE
09ecf7
%doc Changes CONTRIBUTING README
09ecf7
%{perl_vendorlib}/YAML/
09ecf7
%{_mandir}/man3/YAML::Tiny.3*
09ecf7
09ecf7
%changelog
09ecf7
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.73-13
09ecf7
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
09ecf7
  Related: rhbz#1991688
09ecf7
09ecf7
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.73-12
09ecf7
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
09ecf7
09ecf7
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-11
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
09ecf7
09ecf7
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-10
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
09ecf7
09ecf7
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.73-9
09ecf7
- Perl 5.32 rebuild
09ecf7
09ecf7
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-8
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
09ecf7
09ecf7
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-7
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
09ecf7
09ecf7
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.73-6
09ecf7
- Perl 5.30 rebuild
09ecf7
09ecf7
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-5
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
09ecf7
09ecf7
* Fri Nov 16 2018 Paul Howarth <paul@city-fan.org> - 1.73-4
09ecf7
- Drop legacy Group: tag
09ecf7
- Drop redundant test requirements
09ecf7
09ecf7
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-3
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
09ecf7
09ecf7
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.73-2
09ecf7
- Perl 5.28 rebuild
09ecf7
09ecf7
* Thu Feb 22 2018 Paul Howarth <paul@city-fan.org> - 1.73-1
09ecf7
- Update to 1.73
09ecf7
  - Perform correct stripping of leading white space in literal/folded text
09ecf7
    blocks (GH#44, CPAN RT#56045)
09ecf7
  - Fix compatibility with Test::Builder 0.94 in test shim
09ecf7
09ecf7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.70-5
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
09ecf7
09ecf7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.70-4
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
09ecf7
09ecf7
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.70-3
09ecf7
- Perl 5.26 rebuild
09ecf7
09ecf7
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.70-2
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
09ecf7
09ecf7
* Sun Jan 22 2017 Paul Howarth <paul@city-fan.org> - 1.70-1
09ecf7
- Update to 1.70
09ecf7
  - Some errors writing to a file were incorrectly reported
09ecf7
- Simplify find command using -delete
09ecf7
09ecf7
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.69-3
09ecf7
- Perl 5.24 rebuild
09ecf7
09ecf7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.69-2
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
09ecf7
09ecf7
* Sun Jul 26 2015 Paul Howarth <paul@city-fan.org> - 1.69-1
09ecf7
- Update to 1.69
09ecf7
  - Tests no longer print to stderr unnecessarily; this makes core perl builds
09ecf7
    (where this distribution is included as CPAN-Meta-YAML) a little quieter
09ecf7
  - The Test::More dependency has been reduced to 0.88 by emulating 'subtest'
09ecf7
    for those tests that need it
09ecf7
09ecf7
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.67-3
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
09ecf7
09ecf7
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.67-2
09ecf7
- Perl 5.22 rebuild
09ecf7
09ecf7
* Tue May 12 2015 Paul Howarth <paul@city-fan.org> - 1.67-1
09ecf7
- Update to 1.67
09ecf7
  - Instead of erroring on duplicate keys found in a hash (introduced in
09ecf7
    version 1.63), now we only warn; this fixes an issue in Strawberry Perl
09ecf7
    (via CPAN::Meta::YAML) when parsing a configuration file
09ecf7
  - Updated File::Temp test prereq to 0.19 for 'newdir'
09ecf7
09ecf7
* Tue Mar 17 2015 Paul Howarth <paul@city-fan.org> - 1.66-1
09ecf7
- Update to 1.66
09ecf7
  - Removed bundled Test::TempDir::Tiny to rely on File::Temp for temporary
09ecf7
    directories during testing
09ecf7
- Revert to ExtUtils::MakeMaker flow
09ecf7
09ecf7
* Sat Mar 14 2015 Paul Howarth <paul@city-fan.org> - 1.65-1
09ecf7
- Update to 1.65
09ecf7
  - Artifacts left behind from testing are now cleaned up (GH#34)
09ecf7
09ecf7
* Wed Oct  8 2014 Paul Howarth <paul@city-fan.org> 1.64-1
09ecf7
- Update to 1.64
09ecf7
  - Remove silencing of any errors encountered while loading Scalar::Util
09ecf7
    (GH#33)
09ecf7
  - Now using JSON::MaybeXS in tests instead of JSON.pm
09ecf7
- Use %%license
09ecf7
09ecf7
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> 1.63-2
09ecf7
- Perl 5.20 rebuild
09ecf7
09ecf7
* Thu Jun 12 2014 Paul Howarth <paul@city-fan.org> 1.63-1
09ecf7
- Update to 1.63
09ecf7
  - Incorrect error messages fixed, when $@ is clobbered when Carp wasn't
09ecf7
    loaded (GH#30, GH#31)
09ecf7
  - Now checking for, and erroring on, duplicate keys found in a hash (GH#32)
09ecf7
09ecf7
* Sat Jun  7 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.62-2
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
09ecf7
09ecf7
* Sun Mar 16 2014 Paul Howarth <paul@city-fan.org> 1.62-1
09ecf7
- Update to 1.62
09ecf7
  - Fix handling of trailing colon in key name (CPAN RT#92916)
09ecf7
09ecf7
* Tue Feb 25 2014 Paul Howarth <paul@city-fan.org> 1.61-1
09ecf7
- Update to 1.61
09ecf7
  - Fixed a test for VMS (CPAN RT#93297)
09ecf7
09ecf7
* Fri Feb 14 2014 Paul Howarth <paul@city-fan.org> 1.60-1
09ecf7
- Update to 1.60
09ecf7
  - Numeric values are now quoted whenever they've been used as a string,
09ecf7
    which fixes inconsistent behaviour seen with numeric values, due to
09ecf7
    differences between the XS and pure-perl variants of Data::Dumper
09ecf7
    (GitHub Issue #24)
09ecf7
  - Numeric hash keys are now always quoted
09ecf7
09ecf7
* Wed Feb  5 2014 Paul Howarth <paul@city-fan.org> 1.58-1
09ecf7
- Update to 1.58
09ecf7
  - 1.57 omitted a change entry for the following change:
09ecf7
  Incompatible change:
09ecf7
  - Previously, YAML::Tiny was sloppy about file encodings; it is now strict
09ecf7
  - The 'read' method and 'LoadFile' function expect UTF-8 encoded files
09ecf7
  - The 'write' method and 'DumpFile' function produce UTF-8 encoded files
09ecf7
  - The 'read_string' and 'write_string' methods and the 'Load' and 'Dump'
09ecf7
    functions expect or generate (decoded) character data
09ecf7
09ecf7
* Fri Jan 31 2014 Paul Howarth <paul@city-fan.org> 1.57-1
09ecf7
- Update to 1.57
09ecf7
  Incompatible change:
09ecf7
  - Previously, some errors would throw exceptions and some would return the
09ecf7
    error condition in $YAML::Tiny::errstr, but now all errors throw
09ecf7
    exceptions; use of $errstr and the errstr method are deprecated
09ecf7
  Fixed:
09ecf7
  - Fixed write method to encode YAML file with UTF-8
09ecf7
  - Improved SYNOPSIS and documentation of new
09ecf7
  Testing:
09ecf7
  - Tests have been cleaned up and reorganized
09ecf7
  - Test coverage has been significantly improved
09ecf7
- Package docs CONTRIBUTING and README.md
09ecf7
- Update dependencies as needed
09ecf7
09ecf7
* Wed Sep 25 2013 Paul Howarth <paul@city-fan.org> 1.56-1
09ecf7
- Update to 1.56
09ecf7
  - read_string documentation error fixed (CPAN RT#74409)
09ecf7
  - Re-release with fixed compile test
09ecf7
- Go back to Module::Build::Tiny flow
09ecf7
09ecf7
* Thu Sep 19 2013 Paul Howarth <paul@city-fan.org> 1.55-1
09ecf7
- Update to 1.55
09ecf7
  - Revert to ExtUtils::MakeMaker flow
09ecf7
- Update buildreqs as needed
09ecf7
09ecf7
* Thu Aug 22 2013 Paul Howarth <paul@city-fan.org> 1.54-1
09ecf7
- Update to 1.54
09ecf7
  - Convert to Dist::Zilla
09ecf7
  - Updated format to conform to CPAN::Changes::Spec
09ecf7
- Upstream shipping README again
09ecf7
- Switch to Module::Build::Tiny flow
09ecf7
- Classify buildreqs by usage
09ecf7
09ecf7
* Wed Aug 21 2013 Paul Howarth <paul@city-fan.org> 1.53-1
09ecf7
- Update to 1.53
09ecf7
  - Updated repository metadata to reflect move to github
09ecf7
- This release by ETHER -> update source URL
09ecf7
- Upstream no longer shipping README
09ecf7
- Don't need to remove empty directories from the buildroot
09ecf7
- Make %%files list more explicit
09ecf7
09ecf7
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.51-8
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
09ecf7
09ecf7
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 1.51-7
09ecf7
- Perl 5.18 rebuild
09ecf7
09ecf7
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.51-6
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
09ecf7
09ecf7
* Tue Aug 21 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.51-5
09ecf7
- Add perl(Carp) to requires.
09ecf7
09ecf7
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.51-4
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
09ecf7
09ecf7
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 1.51-3
09ecf7
- Perl 5.16 rebuild
09ecf7
09ecf7
* Mon Jun 04 2012 Petr Pisar <ppisar@redhat.com> - 1.51-2
09ecf7
- The POD tests do not run by default
09ecf7
09ecf7
* Wed Mar 14 2012 Petr Ĺ abata <contyk@redhat.com> - 1.51-1
09ecf7
- 1.51 bump
09ecf7
- Remove command macros
09ecf7
09ecf7
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50-5
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
09ecf7
09ecf7
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.50-4
09ecf7
- Perl mass rebuild
09ecf7
09ecf7
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.50-3
09ecf7
- Perl mass rebuild
09ecf7
09ecf7
* Thu Jul 14 2011 Iain Arnell <iarnell@gmail.com> 1.50-2
09ecf7
- drop Test::MinimumVersion BR to avoid circular build deps
09ecf7
09ecf7
* Mon Jun 27 2011 Petr Sabata <contyk@redhat.com> - 1.50-1
09ecf7
- 1.50 bump
09ecf7
- Cleaning the spec file (I assume pre-EPEL6 compatibility is no longer
09ecf7
  essential here)
09ecf7
- Adding Exporter and Scalar::Util (optional but preferred) to BR/Rs
09ecf7
09ecf7
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.46-2
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
09ecf7
09ecf7
* Sat Dec 18 2010 Steven Pritchard <steve@kspei.com> 1.46-1
09ecf7
- Update to 1.46.
09ecf7
09ecf7
* Tue Dec 07 2010 Steven Pritchard <steve@kspei.com> 1.44-1
09ecf7
- Update to 1.44.
09ecf7
09ecf7
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.40-3
09ecf7
- Mass rebuild with perl-5.12.0
09ecf7
09ecf7
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.40-2
09ecf7
- rebuild against perl 5.10.1
09ecf7
09ecf7
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.40-1
09ecf7
- auto-update to 1.40 (by cpan-spec-update 0.01)
09ecf7
09ecf7
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.39-2
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
09ecf7
09ecf7
* Sat May 23 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.39-1
09ecf7
- auto-update to 1.39 (by cpan-spec-update 0.01)
09ecf7
- added a new br on perl(File::Spec) (version 0.80)
09ecf7
09ecf7
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.36-2
09ecf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
09ecf7
09ecf7
* Sat Jan 17 2009 Steven Pritchard <steve@kspei.com> 1.36-1
09ecf7
- Update to 1.36.
09ecf7
- BR Test::More.
09ecf7
09ecf7
* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 1.32-1
09ecf7
- Update to 1.32.
09ecf7
09ecf7
* Fri Feb  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.25-2
09ecf7
- rebuild for new perl
09ecf7
09ecf7
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 1.25-1
09ecf7
- Update to 1.25.
09ecf7
09ecf7
* Tue Dec 11 2007 Steven Pritchard <steve@kspei.com> 1.21-1
09ecf7
- Update to 1.21.
09ecf7
- Update License tag.
09ecf7
- BR Test::MinimumVersion.
09ecf7
09ecf7
* Thu Aug 23 2007 Steven Pritchard <steve@kspei.com> 1.14-1
09ecf7
- Update to 1.14.
09ecf7
09ecf7
* Fri Jul 13 2007 Steven Pritchard <steve@kspei.com> 1.13-1
09ecf7
- Update to 1.13.
09ecf7
09ecf7
* Fri Jun 08 2007 Steven Pritchard <steve@kspei.com> 1.12-1
09ecf7
- Update to 1.12.
09ecf7
09ecf7
* Mon May 28 2007 Steven Pritchard <steve@kspei.com> 1.09-1
09ecf7
- Update to 1.09.
09ecf7
09ecf7
* Sat May 19 2007 Steven Pritchard <steve@kspei.com> 1.08-1
09ecf7
- Update to 1.08.
09ecf7
- Update description.
09ecf7
09ecf7
* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 1.04-1
09ecf7
- Specfile autogenerated by cpanspec 1.70.
09ecf7
- Drop redundant perl build dependency.
09ecf7
- BR YAML, YAML::Syck, and Test::Pod for better test coverage.