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