3ca461
Name:           perl-CPAN-Meta
3ca461
Summary:        Distribution metadata for a CPAN dist
3ca461
Version:        2.150010
3ca461
Release:        460%{?dist}
3ca461
License:        GPL+ or Artistic
3ca461
URL:            https://metacpan.org/release/CPAN-Meta
3ca461
Source0:        https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz
3ca461
BuildArch:      noarch
3ca461
# Build
3ca461
BuildRequires:  coreutils
3ca461
BuildRequires:  findutils
3ca461
BuildRequires:  make
3ca461
BuildRequires:  perl-interpreter
3ca461
BuildRequires:  perl-generators
3ca461
BuildRequires:  perl(Config)
3ca461
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.17
3ca461
# Module
3ca461
BuildRequires:  perl(Carp)
3ca461
BuildRequires:  perl(CPAN::Meta::Requirements) >= 2.121
3ca461
BuildRequires:  perl(CPAN::Meta::YAML) >= 0.011
3ca461
BuildRequires:  perl(Encode)
3ca461
BuildRequires:  perl(Exporter)
3ca461
BuildRequires:  perl(JSON::PP) >= 2.27300
3ca461
BuildRequires:  perl(Scalar::Util)
3ca461
BuildRequires:  perl(strict)
3ca461
BuildRequires:  perl(version) >= 0.88
3ca461
BuildRequires:  perl(warnings)
3ca461
# Main test suite
3ca461
BuildRequires:  perl(Data::Dumper)
3ca461
BuildRequires:  perl(File::Basename)
3ca461
BuildRequires:  perl(File::Spec)
3ca461
BuildRequires:  perl(File::Spec::Functions)
3ca461
BuildRequires:  perl(File::Temp) >= 0.20
3ca461
BuildRequires:  perl(IO::Dir)
3ca461
BuildRequires:  perl(lib)
3ca461
BuildRequires:  perl(overload)
3ca461
BuildRequires:  perl(Storable)
3ca461
BuildRequires:  perl(Test::More) >= 0.88
3ca461
BuildRequires:  perl(utf8)
3ca461
BuildRequires:  perl(vars)
3ca461
# Runtime
3ca461
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
3ca461
Requires:       perl(CPAN::Meta::YAML) >= 0.011
3ca461
Requires:       perl(Encode)
3ca461
Requires:       perl(JSON::PP) >= 2.27300
3ca461
Requires:       perl(version) >= 0.88
3ca461
3ca461
# Parse-CPAN-Meta merged into CPAN-Meta 2.150008
3ca461
# Provide not added in order to avoid either epoch bump or self-obsoletion
3ca461
Obsoletes:      perl-Parse-CPAN-Meta < 1:1.4422-2
3ca461
3ca461
# Avoid doc-file dependencies
3ca461
%{?perl_default_filter}
3ca461
3ca461
# Remove under-specified dependencies
3ca461
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(CPAN::Meta::Converter\\)$
3ca461
%global __requires_exclude %{__requires_exclude}|^perl\\(CPAN::Meta::Requirements\\)$
3ca461
3ca461
%description
3ca461
Software distributions released to the CPAN include a META.json or, for older
3ca461
distributions, META.yml, which describes the distribution, its contents, and
3ca461
the requirements for building and installing the distribution. The data
3ca461
structure stored in the META.json file is described in CPAN::Meta::Spec.
3ca461
3ca461
%prep
3ca461
%setup -q -n CPAN-Meta-%{version}
3ca461
3ca461
# silence rpmlint warnings
3ca461
perl -MConfig -pi -e 's,^#!.*perl,$Config{startperl},' t/*.t
3ca461
3ca461
%build
3ca461
perl Makefile.PL INSTALLDIRS=vendor
3ca461
make %{?_smp_mflags}
3ca461
3ca461
%install
3ca461
make pure_install DESTDIR=%{buildroot} UNINST=0
3ca461
find %{buildroot} -type f -name .packlist -delete
3ca461
%{_fixperms} %{buildroot}
3ca461
3ca461
%check
3ca461
make test
3ca461
3ca461
%files
3ca461
%license LICENSE
3ca461
%doc Changes CONTRIBUTING.mkdn history README Todo t/
3ca461
%{perl_vendorlib}/CPAN/
3ca461
%{perl_vendorlib}/Parse/
3ca461
%{_mandir}/man3/CPAN::Meta.3*
3ca461
%{_mandir}/man3/CPAN::Meta::Converter.3*
3ca461
%{_mandir}/man3/CPAN::Meta::Feature.3*
3ca461
%{_mandir}/man3/CPAN::Meta::History.3*
3ca461
%{_mandir}/man3/CPAN::Meta::History::Meta_1_0.3*
3ca461
%{_mandir}/man3/CPAN::Meta::History::Meta_1_1.3*
3ca461
%{_mandir}/man3/CPAN::Meta::History::Meta_1_2.3*
3ca461
%{_mandir}/man3/CPAN::Meta::History::Meta_1_3.3*
3ca461
%{_mandir}/man3/CPAN::Meta::History::Meta_1_4.3*
3ca461
%{_mandir}/man3/CPAN::Meta::Merge.3*
3ca461
%{_mandir}/man3/CPAN::Meta::Prereqs.3*
3ca461
%{_mandir}/man3/CPAN::Meta::Spec.3*
3ca461
%{_mandir}/man3/CPAN::Meta::Validator.3*
3ca461
%{_mandir}/man3/Parse::CPAN::Meta.3*
3ca461
3ca461
%changelog
3ca461
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.150010-460
3ca461
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
3ca461
  Related: rhbz#1991688
3ca461
3ca461
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.150010-459
3ca461
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
3ca461
3ca461
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.150010-458
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3ca461
3ca461
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.150010-457
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3ca461
3ca461
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.150010-456
3ca461
- Increase release to favour standalone package
3ca461
3ca461
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.150010-440
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3ca461
3ca461
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.150010-439
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3ca461
3ca461
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.150010-438
3ca461
- Increase release to favour standalone package
3ca461
3ca461
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.150010-418
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3ca461
3ca461
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.150010-417
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3ca461
3ca461
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.150010-416
3ca461
- Increase release to favour standalone package
3ca461
3ca461
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.150010-396
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3ca461
3ca461
* Mon Dec 18 2017 Petr Pisar <ppisar@redhat.com> - 2.150010-395
3ca461
- Rewrite shell bang according to used perl
3ca461
3ca461
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.150010-394
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3ca461
3ca461
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.150010-393
3ca461
- Perl 5.26 rebuild
3ca461
3ca461
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.150010-2
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3ca461
3ca461
* Fri Aug 19 2016 Paul Howarth <paul@city-fan.org> - 2.150010-1
3ca461
- Update to 2.150010
3ca461
  Added:
3ca461
  - Merged Parse::CPAN::Meta 1.4420 into this distribution
3ca461
  Fixed:
3ca461
  - CPAN::Meta::Prereqs now fully accepts phases and types starting with 'x_';
3ca461
    new 'phases' and 'types_in' interfaces have been added
3ca461
  - No longer relies on JSON backend for data structure cloning; this is much
3ca461
    faster than using JSON::PP
3ca461
  - The cloning routine would raise an error on expected types when it
3ca461
    previously would stringify; the old behavior is restored
3ca461
  - Fixed used of Encode in Parse::CPAN::Meta::load_json_string (cherry picked
3ca461
    from Parse::CPAN::Meta 1.4422)
3ca461
  - Added "use warnings" to Parse::CPAN::Meta
3ca461
  - The YAML and JSON backend variables are ignored when building/testing the
3ca461
    perl core itself, where non-core backends are not yet installed
3ca461
  Tests:
3ca461
  - The 'extra_mappings' feature for meta merging is now tested and documented
3ca461
  - During tests, delete new environment variables added by Parse::CPAN::Meta
3ca461
    1.4418
3ca461
  Spec:
3ca461
  - Clarifies acceptable values for booleans
3ca461
  - Cleaned up text and links of historical specs
3ca461
- Obsolete old perl-Parse-CPAN-Meta package
3ca461
- Simplify find command using -delete
3ca461
3ca461
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.150005-365
3ca461
- Increase release to favour standalone package
3ca461
3ca461
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.150005-3
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3ca461
3ca461
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.150005-2
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3ca461
3ca461
* Sat Jun 13 2015 Paul Howarth <paul@city-fan.org> - 2.150005-1
3ca461
- Update to 2.150005
3ca461
  - Metadata merging now does deep hash merging as long as keys don't conflict
3ca461
  - Serialized CPAN::Meta objects now include a x_serialization_backend entry
3ca461
  - Declared extra developer prereq
3ca461
  - Added test for 'x_deprecated' field in "provides"
3ca461
  - Noted explicitly that historical META spec files are licensed under the
3ca461
    same terms as Perl
3ca461
  - Changed some test data from UTF-8 to ASCII
3ca461
3ca461
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.150001-345
3ca461
- Increase release to favour standalone package
3ca461
3ca461
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.150001-2
3ca461
- Perl 5.22 rebuild
3ca461
3ca461
* Tue Mar 10 2015 Paul Howarth <paul@city-fan.org> - 2.150001-1
3ca461
- Update to 2.150001
3ca461
  - Include allowed values for license field in 1.x historic licenses rather
3ca461
    than linking to Module::Build
3ca461
  - Documented when fragment merging became available
3ca461
3ca461
* Tue Jan 13 2015 Petr Pisar <ppisar@redhat.com> - 2.143240-2
3ca461
- Correct dependencies
3ca461
3ca461
* Thu Nov 20 2014 Paul Howarth <paul@city-fan.org> - 2.143240-1
3ca461
- Update to 2.143240
3ca461
  - Give correct path in nested merges such as resources
3ca461
  - Removed strings test that should have been removed when
3ca461
    CPAN::Meta::Requirements was removed to a separate dist
3ca461
3ca461
* Tue Nov 11 2014 Petr Šabata <contyk@redhat.com> - 2.142690-1
3ca461
 - Update to 2.142690
3ca461
  - Fixed use of incorrect method in CPAN::Meta::Merge implementation
3ca461
  - Clarified documentation that no_index is a list of exclusions, and that
3ca461
    indexers should generally exclude 'inc', 'xt' and 't' as well
3ca461
  - CPAN::Meta::History::Meta_1_0 through 1_4 are added as a permanent
3ca461
    record of 1.x versions of the metaspec
3ca461
3ca461
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.142060-2
3ca461
- Perl 5.20 rebuild
3ca461
3ca461
* Mon Jul 28 2014 Paul Howarth <paul@city-fan.org> - 2.142060-1
3ca461
- Update to 2.142060
3ca461
  - Added ability for CPAN::Meta::Converter to convert metadata fragments
3ca461
    (incomplete portions of a metadata structure)
3ca461
  - Optimized internal use of JSON for datastructure cloning
3ca461
  - Removed dependency on List::Util 1.33
3ca461
  - Clarified language around 'dynamic_config' in the Spec
3ca461
  - Clarified use of 'file' for the 'provides' field in the Spec
3ca461
  - CPAN::Meta::Merge is a new class for merging two possibly overlapping
3ca461
    instances of metadata, which will accept both CPAN::Meta objects and
3ca461
    (possibly incomplete) hashrefs of metadata
3ca461
- Use %%license
3ca461
3ca461
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.140640-2
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3ca461
3ca461
* Wed Mar 26 2014 Paul Howarth <paul@city-fan.org> - 2.140640-1
3ca461
- Update to 2.140640
3ca461
  - Improved bad version handling during META conversion
3ca461
  - When downgrading multiple licenses to version 1.x META formats, if all the
3ca461
    licenses are open source, the downgraded license will be "open_source", not
3ca461
    "unknown"
3ca461
  - Added a 'load_string' method that guesses whether the string is YAML or
3ca461
    JSON
3ca461
- Drop obsoletes/provides for old tests sub-package
3ca461
- Classify buildreqs by usage
3ca461
- Package upstream's CONTRIBUTING file
3ca461
- Make %%files list more explicit
3ca461
3ca461
* Fri Oct 11 2013 Paul Howarth <paul@city-fan.org> - 2.132830-1
3ca461
- Update to 2.132830
3ca461
  - Fixed incorrectly encoded META.yml
3ca461
  - META validation used to allow a scalar value when a list (i.e. array
3ca461
    reference) was required for a field; this has been tightened and
3ca461
    validation will now fail if a scalar value is given
3ca461
  - Installation on Perls < 5.12 will uninstall older versions installed
3ca461
    due to being bundled with ExtUtils::MakeMaker
3ca461
  - Updated Makefile.PL logic to support PERL_NO_HIGHLANDER
3ca461
  - Dropped ExtUtils::MakeMaker configure_requires dependency to 6.17
3ca461
  - CPAN::Meta::Prereqs now has a 'merged_requirements' method for combining
3ca461
    requirements across multiple phases and types
3ca461
  - Invalid 'meta-spec' is no longer a fatal error: instead, it will usually
3ca461
    be treated as spec version "1.0" (prior to formalization of the meta-spec
3ca461
    field); conversion has some heuristics for guessing a version depending on
3ca461
    other fields if 'meta-spec' is missing or invalid
3ca461
- Don't need to remove empty directories from the buildroot
3ca461
3ca461
* Thu Sep  5 2013 Paul Howarth <paul@city-fan.org> - 2.132140-1
3ca461
- update to latest upstream version
3ca461
3ca461
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.120921-291
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3ca461
3ca461
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 2.120921-290
3ca461
- Increase release to favour standalone package
3ca461
3ca461
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.120921-6
3ca461
- Perl 5.18 rebuild
3ca461
3ca461
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.120921-5
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3ca461
3ca461
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.120921-4
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3ca461
3ca461
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 2.120921-3
3ca461
- Perl 5.16 rebuild
3ca461
3ca461
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 2.120921-2
3ca461
- Build-require Data::Dumper for tests
3ca461
3ca461
* Mon Apr 02 2012 Iain Arnell <iarnell@gmail.com> 2.120921-1
3ca461
- update to latest upstream version
3ca461
3ca461
* Fri Mar 30 2012 Iain Arnell <iarnell@gmail.com> 2.120900-1
3ca461
- update to latest upstream version
3ca461
3ca461
* Sun Mar 04 2012 Iain Arnell <iarnell@gmail.com> 2.120630-1
3ca461
- update to latest upstream version
3ca461
3ca461
* Wed Feb 22 2012 Iain Arnell <iarnell@gmail.com> 2.120530-1
3ca461
- update to latest upstream version
3ca461
3ca461
* Sat Feb 04 2012 Iain Arnell <iarnell@gmail.com> 2.120351-1
3ca461
- update to latest upstream version
3ca461
3ca461
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 2.113640-3
3ca461
- drop tests subpackage; move tests to main package documentation
3ca461
3ca461
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.113640-2
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3ca461
3ca461
* Tue Jan  3 2012 Marcela Mašláňová <mmaslano@redhat.com> 2.113640-1
3ca461
- update to latest version, which deprecated Version::Requirements
3ca461
3ca461
* Fri Sep 23 2011 Iain Arnell <iarnell@gmail.com> 2.112621-1
3ca461
- update to latest upstream version
3ca461
- clean up spec for modern rpmbuild
3ca461
3ca461
* Sat Aug 27 2011 Iain Arnell <iarnell@gmail.com> 2.112150-1
3ca461
- update to latest upstream version
3ca461
3ca461
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.110930-2
3ca461
- Perl mass rebuild
3ca461
3ca461
* Sun Apr 03 2011 Iain Arnell <iarnell@gmail.com> 2.110930-1
3ca461
- update to latest upstream version
3ca461
3ca461
* Sat Apr 02 2011 Iain Arnell <iarnell@gmail.com> 2.110910-1
3ca461
- update to latest upstream version
3ca461
3ca461
* Sun Mar 06 2011 Iain Arnell <iarnell@gmail.com> 2.110580-1
3ca461
- update to latest upstream version
3ca461
- drop BR perl(Storable)
3ca461
3ca461
* Sat Feb 26 2011 Iain Arnell <iarnell@gmail.com> 2.110550-1
3ca461
- update to latest upstream version
3ca461
3ca461
* Thu Feb 17 2011 Iain Arnell <iarnell@gmail.com> 2.110440-1
3ca461
- update to latest upstream
3ca461
- drop BR perl(autodie)
3ca461
- drop BR perl(Data::Dumper)
3ca461
3ca461
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.110350-2
3ca461
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3ca461
3ca461
* Fri Feb 04 2011 Iain Arnell <iarnell@gmail.com> 2.110350-1
3ca461
- update to latest upstream version
3ca461
3ca461
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.102400-2
3ca461
- 661697 rebuild for fixing problems with vendorach/lib
3ca461
3ca461
* Sun Aug 29 2010 Iain Arnell <iarnell@gmail.com> 2.102400-1
3ca461
- update by Fedora::App::MaintainerTools 0.006
3ca461
- updating to latest GA CPAN version (2.102400)
3ca461
- added a new br on perl(Carp) (version 0)
3ca461
- added a new br on perl(Data::Dumper) (version 0)
3ca461
- altered br on perl(ExtUtils::MakeMaker) (0 => 6.31)
3ca461
- added a new br on perl(File::Spec) (version 0)
3ca461
- added a new br on perl(File::Temp) (version 0.20)
3ca461
- added a new br on perl(IO::Dir) (version 0)
3ca461
- added a new br on perl(Scalar::Util) (version 0)
3ca461
- added a new br on perl(Storable) (version 0)
3ca461
- added a new br on perl(autodie) (version 0)
3ca461
- added a new br on perl(version) (version 0.82)
3ca461
3ca461
* Thu Aug 05 2010 Iain Arnell <iarnell@gmail.com> 2.102160-1
3ca461
- update to latest upstream
3ca461
3ca461
* Wed Jun 16 2010 Iain Arnell <iarnell@gmail.com> 2.101670-1
3ca461
- update to latest upstream
3ca461
3ca461
* Mon Jun 14 2010 Iain Arnell <iarnell@gmail.com> 2.101610-1
3ca461
- update to latest upstream
3ca461
3ca461
* Tue Jun 01 2010 Iain Arnell <iarnell@gmail.com> 2.101461-2
3ca461
- rebuild for perl-5.12
3ca461
3ca461
* Fri May 28 2010 Iain Arnell <iarnell@gmail.com> 2.101461-1
3ca461
- Specfile autogenerated by cpanspec 1.78.
3ca461
- drop explicit requirements