|
|
c1c67e |
%{?scl:%scl_package perl-CPAN-Meta-Requirements}
|
|
|
c1c67e |
|
|
|
c1c67e |
Name: %{?scl_prefix}perl-CPAN-Meta-Requirements
|
|
|
c1c67e |
Version: 2.140
|
|
|
c1c67e |
Release: 5%{?dist}
|
|
|
c1c67e |
Summary: Set of version requirements for a CPAN dist
|
|
|
c1c67e |
License: GPL+ or Artistic
|
|
|
c1c67e |
Group: Development/Libraries
|
|
|
c1c67e |
URL: http://search.cpan.org/dist/CPAN-Meta-Requirements/
|
|
|
c1c67e |
Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-Requirements-%{version}.tar.gz
|
|
|
c1c67e |
BuildArch: noarch
|
|
|
c1c67e |
# Build
|
|
|
c1c67e |
BuildRequires: coreutils
|
|
|
c1c67e |
BuildRequires: findutils
|
|
|
c1c67e |
BuildRequires: make
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl-generators
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker)
|
|
|
c1c67e |
# Module
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(B)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Carp)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(version) >= 0.88
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(warnings)
|
|
|
c1c67e |
# Test
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(File::Spec)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Test::More)
|
|
|
c1c67e |
# Extra Tests (not run when bootstrapping due to circular build dependencies)
|
|
|
c1c67e |
%if !%{defined perl_bootstrap} && !%{defined perl_small}
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(blib)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(CPAN::Meta) >= 2.120900
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(English)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(File::Temp)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(IO::Handle)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(IPC::Open3)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Perl::Critic::Policy::Lax::ProhibitStringyEval::ExceptForRequire)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Perl::Critic::Policy::Miscellanea::RequireRcsKeywords)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Pod::Coverage::TrustPod)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Pod::Wordlist)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Test::CPAN::Meta)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Test::MinimumVersion)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Test::Perl::Critic)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Test::Pod) >= 1.41
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Test::Pod::Coverage) >= 1.08
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Test::Portability::Files)
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Test::Spelling) >= 0.12, aspell-en
|
|
|
c1c67e |
BuildRequires: %{?scl_prefix}perl(Test::Version) >= 1
|
|
|
c1c67e |
%endif
|
|
|
c1c67e |
# Runtime
|
|
|
c1c67e |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
c1c67e |
Requires: %{?scl_prefix}perl(B)
|
|
|
c1c67e |
Requires: %{?scl_prefix}perl(version) >= 0.88
|
|
|
c1c67e |
|
|
|
c1c67e |
# CPAN-Meta-Requirements was split from CPAN-Meta
|
|
|
c1c67e |
Conflicts: %{?scl_prefix}perl-CPAN-Meta < 2.120921
|
|
|
c1c67e |
|
|
|
c1c67e |
# Had a six-digit version in a previous life
|
|
|
c1c67e |
%global six_digit_version %(LC_ALL=C; printf '%.6f' '%{version}')
|
|
|
c1c67e |
|
|
|
c1c67e |
# Provide the six-digit version of the module
|
|
|
c1c67e |
%if "%{version}" != "%{six_digit_version}"
|
|
|
c1c67e |
Provides: %{?scl_prefix}perl(CPAN::Meta::Requirements) = %{six_digit_version}
|
|
|
c1c67e |
%if 0%{?rhel} < 7
|
|
|
c1c67e |
# RPM 4.8 style
|
|
|
c1c67e |
%{?filter_setup:
|
|
|
c1c67e |
%filter_from_provides /^%{?scl_prefix}perl(CPAN::Meta::Requirements)/d
|
|
|
c1c67e |
%?perl_default_filter
|
|
|
c1c67e |
}
|
|
|
c1c67e |
%else
|
|
|
c1c67e |
# RPM 4.9 style
|
|
|
c1c67e |
%global __provides_exclude ^%{?scl_prefix}perl\\(CPAN::Meta::Requirements\\)
|
|
|
c1c67e |
%endif
|
|
|
c1c67e |
%endif
|
|
|
c1c67e |
|
|
|
c1c67e |
%description
|
|
|
c1c67e |
A CPAN::Meta::Requirements object models a set of version constraints like
|
|
|
c1c67e |
those specified in the META.yml or META.json files in CPAN distributions. It
|
|
|
c1c67e |
can be built up by adding more and more constraints, and it will reduce them
|
|
|
c1c67e |
to the simplest representation.
|
|
|
c1c67e |
|
|
|
c1c67e |
Logically impossible constraints will be identified immediately by thrown
|
|
|
c1c67e |
exceptions.
|
|
|
c1c67e |
|
|
|
c1c67e |
%prep
|
|
|
c1c67e |
%setup -q -n CPAN-Meta-Requirements-%{version}
|
|
|
c1c67e |
|
|
|
c1c67e |
%build
|
|
|
c1c67e |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor UNINST=0 && make %{?_smp_mflags}%{?scl:'}
|
|
|
c1c67e |
|
|
|
c1c67e |
%install
|
|
|
c1c67e |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'}
|
|
|
c1c67e |
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
c1c67e |
%{_fixperms} %{buildroot}
|
|
|
c1c67e |
|
|
|
c1c67e |
%check
|
|
|
c1c67e |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
c1c67e |
|
|
|
c1c67e |
%files
|
|
|
c1c67e |
%doc LICENSE
|
|
|
c1c67e |
%doc Changes CONTRIBUTING.mkdn perlcritic.rc README
|
|
|
c1c67e |
%{perl_vendorlib}/CPAN/
|
|
|
c1c67e |
%{_mandir}/man3/CPAN::Meta::Requirements.3*
|
|
|
c1c67e |
|
|
|
c1c67e |
%changelog
|
|
|
c1c67e |
* Mon Jul 11 2016 Petr Pisar <ppisar@redhat.com> - 2.140-5
|
|
|
c1c67e |
- SCL
|
|
|
c1c67e |
|
|
|
c1c67e |
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.140-4
|
|
|
c1c67e |
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
c1c67e |
|
|
|
c1c67e |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.140-3
|
|
|
c1c67e |
- Perl 5.24 rebuild
|
|
|
c1c67e |
|
|
|
c1c67e |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.140-2
|
|
|
c1c67e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
c1c67e |
|
|
|
c1c67e |
* Mon Dec 14 2015 Paul Howarth <paul@city-fan.org> - 2.140-1
|
|
|
c1c67e |
- Update to 2.140
|
|
|
c1c67e |
- Added method for getting structured requirements
|
|
|
c1c67e |
- Skips impossible tests on Perls earlier than 5.8.0 (before v-string magic)
|
|
|
c1c67e |
- On Perls before 5.8.1, pad 1-part and 2-part literal v-strings to avoid old
|
|
|
c1c67e |
version.pm bugs with v-strings less than 3 characters
|
|
|
c1c67e |
- Protect internal _isa_version from non-refs that pass ->isa('version')
|
|
|
c1c67e |
- Much better error messages, explaining what conflicted and how
|
|
|
c1c67e |
- Repackage with fixed tests
|
|
|
c1c67e |
- Expanded dist.ini from author bundle to individual plugins
|
|
|
c1c67e |
|
|
|
c1c67e |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.133-4
|
|
|
c1c67e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
c1c67e |
|
|
|
c1c67e |
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.133-3
|
|
|
c1c67e |
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
c1c67e |
|
|
|
c1c67e |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.133-2
|
|
|
c1c67e |
- Perl 5.22 rebuild
|
|
|
c1c67e |
|
|
|
c1c67e |
* Sun Feb 22 2015 Paul Howarth <paul@city-fan.org> - 2.133-1
|
|
|
c1c67e |
- Update to 2.133
|
|
|
c1c67e |
- In fixing preservation of "0.00", some Module => 0 optimizations were lost;
|
|
|
c1c67e |
this restores those optimizations
|
|
|
c1c67e |
|
|
|
c1c67e |
* Fri Jan 23 2015 Paul Howarth <paul@city-fan.org> - 2.132-1
|
|
|
c1c67e |
- Update to 2.132
|
|
|
c1c67e |
- Precision of version requirement "0.00" is preserved when merging
|
|
|
c1c67e |
requirements
|
|
|
c1c67e |
|
|
|
c1c67e |
* Wed Dec 24 2014 Paul Howarth <paul@city-fan.org> - 2.131-1
|
|
|
c1c67e |
- Update to 2.131
|
|
|
c1c67e |
- Merging Module => 0 into requirements is now optimized
|
|
|
c1c67e |
- Scalar::Utils removed as a prerequisite
|
|
|
c1c67e |
|
|
|
c1c67e |
* Thu Nov 20 2014 Paul Howarth <paul@city-fan.org> - 2.130-1
|
|
|
c1c67e |
- Update to 2.130
|
|
|
c1c67e |
- from_string_hash can take optional constructor arguments
|
|
|
c1c67e |
- bad_version_hook callback gets module name as well as version string
|
|
|
c1c67e |
- undefined/empty versions given to from_string_hash or
|
|
|
c1c67e |
add_string_requirement now carp and are coerced to "0" instead of being
|
|
|
c1c67e |
fatal; this is more consistent with how the other requirement functions
|
|
|
c1c67e |
work
|
|
|
c1c67e |
- Provide six-digit version in a more robust way
|
|
|
c1c67e |
|
|
|
c1c67e |
* Fri Nov 14 2014 Paul Howarth <paul@city-fan.org> - 2.129-1
|
|
|
c1c67e |
- Update to 2.129
|
|
|
c1c67e |
- from_string_hash can now accept v-strings as hash values
|
|
|
c1c67e |
|
|
|
c1c67e |
* Thu Sep 18 2014 Petr Pisar <ppisar@redhat.com> - 2.128-1
|
|
|
c1c67e |
- 2.128 bump
|
|
|
c1c67e |
|
|
|
c1c67e |
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.126-3
|
|
|
c1c67e |
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
c1c67e |
|
|
|
c1c67e |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.126-2
|
|
|
c1c67e |
- Perl 5.20 rebuild
|
|
|
c1c67e |
|
|
|
c1c67e |
* Thu Jul 31 2014 Paul Howarth <paul@city-fan.org> - 2.126-1
|
|
|
c1c67e |
- Update to 2.126
|
|
|
c1c67e |
- Fixed compatibility with version.pm 0.77
|
|
|
c1c67e |
- Minor documentation fixes
|
|
|
c1c67e |
- Modernized distribution meta files
|
|
|
c1c67e |
- Use %%license
|
|
|
c1c67e |
|
|
|
c1c67e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.125-2
|
|
|
c1c67e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
c1c67e |
|
|
|
c1c67e |
* Fri Mar 28 2014 Paul Howarth <paul@city-fan.org> - 2.125-1
|
|
|
c1c67e |
- Update to 2.125
|
|
|
c1c67e |
- On Perls prior to v5.12, CPAN::Meta::Requirements will force UNINST=1 when
|
|
|
c1c67e |
necessary to remove stale copies from ExtUtils::MakeMaker
|
|
|
c1c67e |
- Updated Makefile.PL logic to support PERL_NO_HIGHLANDER
|
|
|
c1c67e |
- README.PATCHING renamed to CONTRIBUTING
|
|
|
c1c67e |
- Classify buildreqs by usage
|
|
|
c1c67e |
- Add note about logically-impossible constraints to %%description
|
|
|
c1c67e |
|
|
|
c1c67e |
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2.122-292
|
|
|
c1c67e |
- Perl 5.18 re-rebuild of bootstrapped packages
|
|
|
c1c67e |
|
|
|
c1c67e |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.122-291
|
|
|
c1c67e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
c1c67e |
|
|
|
c1c67e |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 2.122-290
|
|
|
c1c67e |
- Increase release to favour standalone package
|
|
|
c1c67e |
|
|
|
c1c67e |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 2.122-8
|
|
|
c1c67e |
- Perl 5.18 rebuild
|
|
|
c1c67e |
|
|
|
c1c67e |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.122-7
|
|
|
c1c67e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
c1c67e |
|
|
|
c1c67e |
* Fri Jul 20 2012 Marcela Mašláňová <mmaslano@redhat.com> - 2.122-6
|
|
|
c1c67e |
- Conditionalize Test::*
|
|
|
c1c67e |
|
|
|
c1c67e |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.122-5
|
|
|
c1c67e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
c1c67e |
|
|
|
c1c67e |
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 2.122-4
|
|
|
c1c67e |
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
|
c1c67e |
|
|
|
c1c67e |
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 2.122-3
|
|
|
c1c67e |
- Perl 5.16 rebuild
|
|
|
c1c67e |
|
|
|
c1c67e |
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com>
|
|
|
c1c67e |
- Skip some tests on bootstrap
|
|
|
c1c67e |
|
|
|
c1c67e |
* Mon May 07 2012 Iain Arnell <iarnell@gmail.com> 2.122-1
|
|
|
c1c67e |
- update to latest upstream version
|
|
|
c1c67e |
|
|
|
c1c67e |
* Tue Apr 03 2012 Iain Arnell <iarnell@gmail.com> 2.121-3
|
|
|
c1c67e |
- provide perl(CPAN::Meta::Requirements) with six decimal places
|
|
|
c1c67e |
|
|
|
c1c67e |
* Mon Apr 02 2012 Iain Arnell <iarnell@gmail.com> 2.121-2
|
|
|
c1c67e |
- clean up spec following review
|
|
|
c1c67e |
- run release/author tests too
|
|
|
c1c67e |
|
|
|
c1c67e |
* Sun Apr 01 2012 Iain Arnell <iarnell@gmail.com> 2.121-1
|
|
|
c1c67e |
- Specfile autogenerated by cpanspec 1.79.
|