9755f1
# Run extra test
9755f1
%if 0%{!?perl_bootstrap:1}
9755f1
%if ! (0%{?rhel})
9755f1
%bcond_without perl_CPAN_Meta_YAML_enables_extra_test
9755f1
%else
9755f1
%bcond_with perl_CPAN_Meta_YAML_enables_extra_test
9755f1
%endif
9755f1
%else
9755f1
# Don't run extra tests when bootstrapping as many of those
9755f1
# tests' dependencies build-require this package
9755f1
%global _without_perl_CPAN_Meta_YAML_enables_extra_test 1
9755f1
%global _with_perl_CPAN_Meta_YAML_enables_extra_test 0
9755f1
%endif
9755f1
9755f1
Name:		perl-CPAN-Meta-YAML
9755f1
Version:	0.018
9755f1
Release:	461%{?dist}
9755f1
Summary:	Read and write a subset of YAML for CPAN Meta files
9755f1
License:	GPL+ or Artistic
9755f1
URL:		https://metacpan.org/release/CPAN-Meta-YAML
9755f1
Source0:	https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-YAML-%{version}.tar.gz
9755f1
BuildArch:	noarch
9755f1
# Build:
9755f1
BuildRequires:	coreutils
9755f1
BuildRequires:	findutils
9755f1
BuildRequires:	make
9755f1
BuildRequires:	perl-generators
9755f1
BuildRequires:	perl-interpreter
9755f1
BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.17
9755f1
# Module Runtime:
9755f1
BuildRequires:	perl(B)
9755f1
BuildRequires:	perl(Carp)
9755f1
BuildRequires:	perl(Exporter)
9755f1
BuildRequires:	perl(Fcntl)
9755f1
BuildRequires:	perl(Scalar::Util)
9755f1
BuildRequires:	perl(strict)
9755f1
BuildRequires:	perl(warnings)
9755f1
# Tests:
9755f1
BuildRequires:	perl(base)
9755f1
# CPAN::Meta requires CPAN::Meta::YAML
9755f1
%if 0%{!?perl_bootstrap:1}
9755f1
BuildRequires:	perl(CPAN::Meta) >= 2.120900
9755f1
BuildRequires:	perl(CPAN::Meta::Prereqs)
9755f1
%endif
9755f1
BuildRequires:	perl(File::Basename)
9755f1
BuildRequires:	perl(File::Find)
9755f1
BuildRequires:	perl(File::Spec)
9755f1
BuildRequires:	perl(File::Spec::Functions)
9755f1
BuildRequires:	perl(File::Temp) >= 0.19
9755f1
BuildRequires:	perl(IO::Dir)
9755f1
BuildRequires:	perl(JSON::PP)
9755f1
BuildRequires:	perl(lib)
9755f1
BuildRequires:	perl(Test::More) >= 0.96
9755f1
BuildRequires:	perl(utf8)
9755f1
BuildRequires:	perl(vars)
9755f1
%if %{with perl_CPAN_Meta_YAML_enables_extra_test}
9755f1
# Extra Tests:
9755f1
BuildRequires:	perl(blib)
9755f1
BuildRequires:	perl(Test::CPAN::Meta)
9755f1
BuildRequires:	perl(Test::Pod)
9755f1
BuildRequires:	perl(Test::Version)
9755f1
%endif
9755f1
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
9755f1
Requires:	perl(Carp)
9755f1
Requires:	perl(Fcntl)
9755f1
9755f1
%description
9755f1
This module implements a subset of the YAML specification for use in reading
9755f1
and writing CPAN metadata files like META.yml and MYMETA.yml. It should not be
9755f1
used for any other general YAML parsing or generation task.
9755f1
9755f1
%prep
9755f1
%setup -q -n CPAN-Meta-YAML-%{version}
9755f1
9755f1
%build
9755f1
perl Makefile.PL INSTALLDIRS=vendor UNINST=0
9755f1
make %{?_smp_mflags}
9755f1
9755f1
%install
9755f1
make pure_install DESTDIR=%{buildroot}
9755f1
find %{buildroot} -type f -name .packlist -delete
9755f1
%{_fixperms} -c %{buildroot}
9755f1
9755f1
%check
9755f1
make test
9755f1
%if %{with perl_CPAN_Meta_YAML_enables_extra_test}
9755f1
make test TEST_FILES="xt/*/*.t"
9755f1
%endif
9755f1
9755f1
%files
9755f1
%license LICENSE
9755f1
%doc Changes README
9755f1
%{perl_vendorlib}/CPAN/
9755f1
%{_mandir}/man3/CPAN::Meta::YAML.3*
9755f1
9755f1
%changelog
9755f1
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.018-461
9755f1
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
9755f1
  Related: rhbz#1991688
9755f1
9755f1
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.018-460
9755f1
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
9755f1
9755f1
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-459
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9755f1
9755f1
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-458
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9755f1
9755f1
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-457
9755f1
- Perl 5.32 re-rebuild of bootstrapped packages
9755f1
9755f1
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-456
9755f1
- Increase release to favour standalone package
9755f1
9755f1
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-441
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9755f1
9755f1
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-440
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9755f1
9755f1
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-439
9755f1
- Perl 5.30 re-rebuild of bootstrapped packages
9755f1
9755f1
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-438
9755f1
- Increase release to favour standalone package
9755f1
9755f1
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-419
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9755f1
9755f1
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-418
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9755f1
9755f1
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-417
9755f1
- Perl 5.28 re-rebuild of bootstrapped packages
9755f1
9755f1
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-416
9755f1
- Increase release to favour standalone package
9755f1
9755f1
* Thu Mar 15 2018 Paul Howarth <paul@city-fan.org> - 0.018-397
9755f1
- Simplify find command using -delete
9755f1
- Drop legacy Group: tag
9755f1
9755f1
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-396
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9755f1
9755f1
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-395
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9755f1
9755f1
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-394
9755f1
- Perl 5.26 re-rebuild of bootstrapped packages
9755f1
9755f1
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-393
9755f1
- Perl 5.26 rebuild
9755f1
9755f1
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-367
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9755f1
9755f1
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-366
9755f1
- Perl 5.24 re-rebuild of bootstrapped packages
9755f1
9755f1
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-365
9755f1
- Increase release to favour standalone package
9755f1
9755f1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-2
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9755f1
9755f1
* Mon Dec 14 2015 Paul Howarth <paul@city-fan.org> - 0.018-1
9755f1
- Update to 0.018
9755f1
  - Generated from ETHER/YAML-Tiny-1.69.tar.gz
9755f1
9755f1
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.016-4
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9755f1
9755f1
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.016-3
9755f1
- Perl 5.22 re-rebuild of bootstrapped packages
9755f1
9755f1
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.016-2
9755f1
- Perl 5.22 rebuild
9755f1
9755f1
* Tue May 19 2015 Paul Howarth <paul@city-fan.org> - 0.016-1
9755f1
- Update to 0.016
9755f1
  - Generated from ETHER/YAML-Tiny-1.67.tar.gz
9755f1
9755f1
* Tue Mar 17 2015 Paul Howarth <paul@city-fan.org> - 0.014-1
9755f1
- Update to 0.014
9755f1
  - Generated from ETHER/YAML-Tiny-1.66.tar.gz
9755f1
- Use %%license
9755f1
9755f1
* Fri Jan 09 2015 Petr Pisar <ppisar@redhat.com> - 0.012-313
9755f1
- Require undetected dependencies explicitly
9755f1
9755f1
* Fri Dec 12 2014 Petr Pisar <ppisar@redhat.com> - 0.012-312
9755f1
- Remove unused build-time dependency on YAML
9755f1
9755f1
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.012-311
9755f1
- Perl 5.20 re-rebuild of bootstrapped packages
9755f1
9755f1
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.012-310
9755f1
- Increase release to favour standalone package
9755f1
9755f1
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.012-3
9755f1
- Perl 5.20 rebuild
9755f1
9755f1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.012-2
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9755f1
9755f1
* Tue Feb 25 2014 Paul Howarth <paul@city-fan.org> - 0.012-1
9755f1
- Update to 0.012:
9755f1
  - Generated from ETHER/YAML-Tiny-1.61.tar.gz
9755f1
9755f1
* Fri Feb 14 2014 Paul Howarth <paul@city-fan.org> - 0.011-1
9755f1
- Update to 0.011:
9755f1
  - Generated from ETHER/YAML-Tiny-1.60.tar.gz
9755f1
- Give up trying to support EPEL (test suite now requires Test::More 0.99)
9755f1
9755f1
* Mon Sep 23 2013 Paul Howarth <paul@city-fan.org> - 0.010-1
9755f1
- Update to 0.010:
9755f1
  - Generated from ETHER/YAML-Tiny-1.55.tar.gz
9755f1
  - Makefile.PL will use UNINST=1 on old perls that might have an old version
9755f1
    incorrectly installed into the core library path
9755f1
  - Updated Makefile.PL logic to support PERL_NO_HIGHLANDER
9755f1
- Drop redundant BRs: perl(Pod::Wordlist::hanekomu), perl(Test::Requires),
9755f1
  perl(Test::Spelling) and aspell-en
9755f1
- Add new test dependencies perl(IO::Handle) and perl(IPC::Open3)
9755f1
- Build with UNINST=0 to avoid build failures as we can't remove the system
9755f1
  version of the package when building an rpm for a new version
9755f1
- Update patch for building with old Test::More, and add new patch to support
9755f1
  building with Test::More < 0.94
9755f1
- Don't run the extra tests in EPEL as we don't have Test::Version there
9755f1
9755f1
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.008-292
9755f1
- Perl 5.18 re-rebuild of bootstrapped packages
9755f1
9755f1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-291
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9755f1
9755f1
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 0.008-290
9755f1
- Increase release to favour standalone package
9755f1
9755f1
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 0.008-15
9755f1
- Perl 5.18 rebuild
9755f1
9755f1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-14
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9755f1
9755f1
* Tue Nov 13 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.008-13
9755f1
- Update dependencies
9755f1
9755f1
* Thu Oct 11 2012 Paul Howarth <paul@city-fan.org> - 0.008-12
9755f1
- Never BR: perl(Test::Version) for EL builds as perl(version) is too old
9755f1
  prior to EL-7 and this package is included in RHEL ≥ 7 but Test::Version
9755f1
  is only in EPEL
9755f1
9755f1
* Thu Oct 11 2012 Petr Pisar <ppisar@redhat.com> - 0.008-11
9755f1
- Restrict Test::Version optional test on RHEL to version 6 only
9755f1
9755f1
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-10
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9755f1
9755f1
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.008-9
9755f1
- Perl 5.16 re-rebuild of bootstrapped packages
9755f1
9755f1
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 0.008-8
9755f1
- Perl 5.16 rebuild
9755f1
9755f1
* Thu Jun  7 2012 Paul Howarth <paul@city-fan.org> - 0.008-7
9755f1
- Run the extra tests in a separate test run, and only when not bootstrapping
9755f1
- Don't BR: perl(Test::Spelling) with RHEL ≥ 7 as we don't have the other
9755f1
  dependencies needed do the spell check test
9755f1
9755f1
* Thu Jun  7 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.008-6
9755f1
- Conditionalize dependency on aspell
9755f1
9755f1
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 0.008-5
9755f1
- Perl 5.16 rebuild
9755f1
9755f1
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 0.008-4
9755f1
- Disable author tests on bootstrap
9755f1
9755f1
* Mon Apr 23 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.008-3
9755f1
- Data::Dumper is not really needed, dependencies must be fixed in YAML
9755f1
9755f1
* Mon Apr 23 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.008-2
9755f1
- Don't BR: Pod::Wordlist::hanekomu for RHEL-7+ builds; RHEL package cannot
9755f1
  have buildreq from EPEL
9755f1
- Add missing Data::Dumper dependency
9755f1
9755f1
* Thu Mar 15 2012 Paul Howarth <paul@city-fan.org> - 0.008-1
9755f1
- Update to 0.008:
9755f1
  - Generated from ADAMK/YAML-Tiny-1.51.tar.gz
9755f1
  - Updated from YAML-Tiny to fix compatibility with older Scalar::Util
9755f1
- Drop upstreamed patch for old Scalar::Util versions
9755f1
- Don't need to remove empty directories from the buildroot
9755f1
9755f1
* Wed Feb  8 2012 Paul Howarth <paul@city-fan.org> - 0.007-1
9755f1
- Update to 0.007:
9755f1
  - Documentation fix to replace missing abstract
9755f1
9755f1
* Tue Feb  7 2012 Paul Howarth <paul@city-fan.org> - 0.006-1
9755f1
- Update to 0.006:
9755f1
  - Set back configure_requires prerequisite for ExtUtils::MakeMaker
9755f1
    from 6.30 to 6.17
9755f1
- BR: perl(Test::Requires)
9755f1
- BR: perl(Test::Spelling), perl(Pod::Wordlist::hanekomu) and aspell-en to
9755f1
  enable the spell checker test
9755f1
- Drop patch for building with old ExtUtils::MakeMaker versions, no longer
9755f1
  needed
9755f1
- Drop support for soon-to-be-EOL RHEL-4:
9755f1
  - Drop %%defattr, redundant since rpm 4.4
9755f1
- Update patch for building with Test::More < 0.88
9755f1
9755f1
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 0.005-2
9755f1
- Fedora 17 mass rebuild
9755f1
9755f1
* Tue Dec 13 2011 Paul Howarth <paul@city-fan.org> - 0.005-1
9755f1
- Update to 0.005:
9755f1
  - Fix documentation to clarify that users are responsible for UTF-8
9755f1
    encoding/decoding
9755f1
9755f1
* Wed Sep  7 2011 Paul Howarth <paul@city-fan.org> - 0.004-1
9755f1
- Update to 0.004:
9755f1
  - Generated from ADAMK/YAML-Tiny-1.50.tar.gz
9755f1
- BR: perl(Test::Version) for additional test coverage
9755f1
- Update patch for building with ExtUtils::MakeMaker < 6.30
9755f1
- Add patch to support building with Test::More < 0.88
9755f1
- Add patch to fix operation with Scalar::Util < 1.18
9755f1
9755f1
* Tue Aug 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.003-7
9755f1
- Install to vendor perl directories to avoid potential debuginfo conflicts
9755f1
  with the main perl package if this module ever becomes arch-specific
9755f1
9755f1
* Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.003-6
9755f1
- Perl mass rebuild
9755f1
9755f1
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-4
9755f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9755f1
9755f1
* Thu Jan 27 2011 Paul Howarth <paul@city-fan.org> - 0.003-3
9755f1
- Trim %%description (#672807)
9755f1
9755f1
* Wed Jan 26 2011 Paul Howarth <paul@city-fan.org> - 0.003-2
9755f1
- Sanitize for Fedora submission
9755f1
9755f1
* Tue Jan 25 2011 Paul Howarth <paul@city-fan.org> - 0.003-1
9755f1
- Initial RPM version