2010-06-01 03:17:24 +00:00
|
|
|
Name: perl-CPAN-Meta
|
|
|
|
Summary: Distribution metadata for a CPAN dist
|
2014-07-28 13:30:10 +00:00
|
|
|
Version: 2.142060
|
|
|
|
Release: 1%{?dist}
|
2010-06-01 03:17:24 +00:00
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
2012-02-04 07:18:28 +00:00
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz
|
2010-06-01 03:17:24 +00:00
|
|
|
URL: http://search.cpan.org/dist/CPAN-Meta/
|
|
|
|
BuildArch: noarch
|
2014-03-26 14:03:05 +00:00
|
|
|
# Build
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
|
|
|
# Module
|
2010-08-29 08:55:29 +00:00
|
|
|
BuildRequires: perl(Carp)
|
2012-04-02 17:14:36 +00:00
|
|
|
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
|
|
|
|
BuildRequires: perl(CPAN::Meta::YAML) >= 0.008
|
2014-03-26 14:03:05 +00:00
|
|
|
BuildRequires: perl(JSON::PP) >= 2.27200
|
|
|
|
BuildRequires: perl(Parse::CPAN::Meta) >= 1.4414
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(version) >= 0.88
|
|
|
|
# Main test suite
|
2012-06-01 13:29:48 +00:00
|
|
|
BuildRequires: perl(Data::Dumper)
|
2012-03-04 18:21:45 +00:00
|
|
|
BuildRequires: perl(File::Basename)
|
2010-08-29 08:55:29 +00:00
|
|
|
BuildRequires: perl(File::Spec)
|
2013-09-05 18:33:16 +00:00
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
2010-08-29 08:55:29 +00:00
|
|
|
BuildRequires: perl(File::Temp) >= 0.20
|
|
|
|
BuildRequires: perl(IO::Dir)
|
2014-07-28 13:30:10 +00:00
|
|
|
BuildRequires: perl(List::Util)
|
2011-08-27 11:20:55 +00:00
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
2014-03-26 14:03:05 +00:00
|
|
|
# Runtime
|
2014-07-28 13:30:10 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
2012-01-22 08:54:22 +00:00
|
|
|
|
2010-06-01 03:17:24 +00:00
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Software distributions released to the CPAN include a META.json or, for
|
|
|
|
older distributions, META.yml, which describes the distribution, its
|
|
|
|
contents, and the requirements for building and installing the
|
|
|
|
distribution. The data structure stored in the META.json file is described
|
|
|
|
in CPAN::Meta::Spec.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n CPAN-Meta-%{version}
|
|
|
|
|
2012-01-22 08:54:22 +00:00
|
|
|
# silence rpmlint warnings
|
|
|
|
sed -i '1s,#!.*perl,#!%{__perl},' t/*.t
|
|
|
|
|
2010-06-01 03:17:24 +00:00
|
|
|
%build
|
2014-07-28 13:30:10 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2010-06-01 03:17:24 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
2014-07-28 13:30:10 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT
|
2010-06-01 03:17:24 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
2014-07-28 13:30:10 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc Changes CONTRIBUTING history README Todo t/
|
2014-03-26 14:03:05 +00:00
|
|
|
%{perl_vendorlib}/CPAN/
|
|
|
|
%{_mandir}/man3/CPAN::Meta.3*
|
|
|
|
%{_mandir}/man3/CPAN::Meta::Converter.3*
|
|
|
|
%{_mandir}/man3/CPAN::Meta::Feature.3*
|
|
|
|
%{_mandir}/man3/CPAN::Meta::History.3*
|
2014-07-28 13:30:10 +00:00
|
|
|
%{_mandir}/man3/CPAN::Meta::Merge.3*
|
2014-03-26 14:03:05 +00:00
|
|
|
%{_mandir}/man3/CPAN::Meta::Prereqs.3*
|
|
|
|
%{_mandir}/man3/CPAN::Meta::Spec.3*
|
|
|
|
%{_mandir}/man3/CPAN::Meta::Validator.3*
|
2010-06-01 03:17:24 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-07-28 13:30:10 +00:00
|
|
|
* Mon Jul 28 2014 Paul Howarth <paul@city-fan.org> - 2.142060-1
|
|
|
|
- Update to 2.142060
|
|
|
|
- Added ability for CPAN::Meta::Converter to convert metadata fragments
|
|
|
|
(incomplete portions of a metadata structure)
|
|
|
|
- Optimized internal use of JSON for datastructure cloning
|
|
|
|
- Removed dependency on List::Util 1.33
|
|
|
|
- Clarified language around 'dynamic_config' in the Spec
|
|
|
|
- Clarified use of 'file' for the 'provides' field in the Spec
|
|
|
|
- CPAN::Meta::Merge is a new class for merging two possibly overlapping
|
|
|
|
instances of metadata, which will accept both CPAN::Meta objects and
|
|
|
|
(possibly incomplete) hashrefs of metadata
|
|
|
|
- Use %%license
|
|
|
|
|
2014-06-07 01:10:54 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.140640-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-26 14:03:05 +00:00
|
|
|
* Wed Mar 26 2014 Paul Howarth <paul@city-fan.org> - 2.140640-1
|
|
|
|
- Update to 2.140640
|
|
|
|
- Improved bad version handling during META conversion
|
|
|
|
- When downgrading multiple licenses to version 1.x META formats, if all the
|
|
|
|
licenses are open source, the downgraded license will be "open_source", not
|
|
|
|
"unknown"
|
|
|
|
- Added a 'load_string' method that guesses whether the string is YAML or
|
|
|
|
JSON
|
|
|
|
- Drop obsoletes/provides for old tests sub-package
|
|
|
|
- Classify buildreqs by usage
|
|
|
|
- Package upstream's CONTRIBUTING file
|
|
|
|
- Make %%files list more explicit
|
|
|
|
|
2013-10-17 20:45:47 +00:00
|
|
|
* Fri Oct 11 2013 Paul Howarth <paul@city-fan.org> - 2.132830-1
|
|
|
|
- Update to 2.132830
|
|
|
|
- Fixed incorrectly encoded META.yml
|
|
|
|
- META validation used to allow a scalar value when a list (i.e. array
|
|
|
|
reference) was required for a field; this has been tightened and
|
|
|
|
validation will now fail if a scalar value is given
|
|
|
|
- Installation on Perls < 5.12 will uninstall older versions installed
|
|
|
|
due to being bundled with ExtUtils::MakeMaker
|
|
|
|
- Updated Makefile.PL logic to support PERL_NO_HIGHLANDER
|
|
|
|
- Dropped ExtUtils::MakeMaker configure_requires dependency to 6.17
|
|
|
|
- CPAN::Meta::Prereqs now has a 'merged_requirements' method for combining
|
|
|
|
requirements across multiple phases and types
|
|
|
|
- Invalid 'meta-spec' is no longer a fatal error: instead, it will usually
|
|
|
|
be treated as spec version "1.0" (prior to formalization of the meta-spec
|
|
|
|
field); conversion has some heuristics for guessing a version depending on
|
|
|
|
other fields if 'meta-spec' is missing or invalid
|
|
|
|
- Don't need to remove empty directories from the buildroot
|
|
|
|
|
2013-09-05 18:33:16 +00:00
|
|
|
* Thu Sep 5 2013 Paul Howarth <paul@city-fan.org> - 2.132140-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2013-08-03 17:55:49 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.120921-291
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-15 11:03:37 +00:00
|
|
|
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 2.120921-290
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2013-07-12 14:13:10 +00:00
|
|
|
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.120921-6
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-14 10:35:18 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.120921-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 11:28:21 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.120921-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-06 23:36:08 +00:00
|
|
|
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 2.120921-3
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-06-01 13:29:48 +00:00
|
|
|
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 2.120921-2
|
|
|
|
- Build-require Data::Dumper for tests
|
|
|
|
|
2012-04-02 17:14:36 +00:00
|
|
|
* Mon Apr 02 2012 Iain Arnell <iarnell@gmail.com> 2.120921-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2012-03-30 21:17:26 +00:00
|
|
|
* Fri Mar 30 2012 Iain Arnell <iarnell@gmail.com> 2.120900-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2012-03-04 18:21:45 +00:00
|
|
|
* Sun Mar 04 2012 Iain Arnell <iarnell@gmail.com> 2.120630-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2012-02-23 00:35:14 +00:00
|
|
|
* Wed Feb 22 2012 Iain Arnell <iarnell@gmail.com> 2.120530-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2012-02-04 07:18:28 +00:00
|
|
|
* Sat Feb 04 2012 Iain Arnell <iarnell@gmail.com> 2.120351-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2012-01-22 08:54:22 +00:00
|
|
|
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 2.113640-3
|
|
|
|
- drop tests subpackage; move tests to main package documentation
|
|
|
|
|
2012-01-13 12:35:09 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.113640-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2012-01-03 08:47:24 +00:00
|
|
|
* Tue Jan 3 2012 Marcela Mašláňová <mmaslano@redhat.com> 2.113640-1
|
|
|
|
- update to latest version, which deprecated Version::Requirements
|
|
|
|
|
2011-09-23 11:37:45 +00:00
|
|
|
* Fri Sep 23 2011 Iain Arnell <iarnell@gmail.com> 2.112621-1
|
|
|
|
- update to latest upstream version
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|
2011-08-27 11:20:55 +00:00
|
|
|
* Sat Aug 27 2011 Iain Arnell <iarnell@gmail.com> 2.112150-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2011-06-20 19:57:54 +00:00
|
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.110930-2
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-04-03 07:05:54 +00:00
|
|
|
* Sun Apr 03 2011 Iain Arnell <iarnell@gmail.com> 2.110930-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2011-04-02 06:32:43 +00:00
|
|
|
* Sat Apr 02 2011 Iain Arnell <iarnell@gmail.com> 2.110910-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2011-03-06 08:33:38 +00:00
|
|
|
* Sun Mar 06 2011 Iain Arnell <iarnell@gmail.com> 2.110580-1
|
|
|
|
- update to latest upstream version
|
|
|
|
- drop BR perl(Storable)
|
|
|
|
|
2011-02-26 04:54:51 +00:00
|
|
|
* Sat Feb 26 2011 Iain Arnell <iarnell@gmail.com> 2.110550-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2011-02-17 03:57:17 +00:00
|
|
|
* Thu Feb 17 2011 Iain Arnell <iarnell@gmail.com> 2.110440-1
|
|
|
|
- update to latest upstream
|
|
|
|
- drop BR perl(autodie)
|
|
|
|
- drop BR perl(Data::Dumper)
|
|
|
|
|
2011-02-08 17:55:28 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.110350-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-02-04 16:41:11 +00:00
|
|
|
* Fri Feb 04 2011 Iain Arnell <iarnell@gmail.com> 2.110350-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
2010-12-15 21:19:57 +00:00
|
|
|
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.102400-2
|
|
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
|
2010-08-29 08:55:29 +00:00
|
|
|
* Sun Aug 29 2010 Iain Arnell <iarnell@gmail.com> 2.102400-1
|
|
|
|
- update by Fedora::App::MaintainerTools 0.006
|
|
|
|
- updating to latest GA CPAN version (2.102400)
|
|
|
|
- added a new br on perl(Carp) (version 0)
|
|
|
|
- added a new br on perl(Data::Dumper) (version 0)
|
|
|
|
- altered br on perl(ExtUtils::MakeMaker) (0 => 6.31)
|
|
|
|
- added a new br on perl(File::Spec) (version 0)
|
|
|
|
- added a new br on perl(File::Temp) (version 0.20)
|
|
|
|
- added a new br on perl(IO::Dir) (version 0)
|
|
|
|
- added a new br on perl(Scalar::Util) (version 0)
|
|
|
|
- added a new br on perl(Storable) (version 0)
|
|
|
|
- added a new br on perl(autodie) (version 0)
|
|
|
|
- added a new br on perl(version) (version 0.82)
|
|
|
|
|
2010-08-05 15:21:00 +00:00
|
|
|
* Thu Aug 05 2010 Iain Arnell <iarnell@gmail.com> 2.102160-1
|
|
|
|
- update to latest upstream
|
|
|
|
|
2010-06-16 03:45:21 +00:00
|
|
|
* Wed Jun 16 2010 Iain Arnell <iarnell@gmail.com> 2.101670-1
|
|
|
|
- update to latest upstream
|
|
|
|
|
2010-06-14 15:00:34 +00:00
|
|
|
* Mon Jun 14 2010 Iain Arnell <iarnell@gmail.com> 2.101610-1
|
|
|
|
- update to latest upstream
|
|
|
|
|
2010-06-01 03:33:15 +00:00
|
|
|
* Tue Jun 01 2010 Iain Arnell <iarnell@gmail.com> 2.101461-2
|
|
|
|
- rebuild for perl-5.12
|
|
|
|
|
2010-06-01 03:17:24 +00:00
|
|
|
* Fri May 28 2010 Iain Arnell <iarnell@gmail.com> 2.101461-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|
|
|
|
- drop explicit requirements
|