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