|
|
9d3759 |
# Run extra test
|
|
|
9d3759 |
%if 0%{!?perl_bootstrap:1}
|
|
|
9d3759 |
%if ! (0%{?rhel})
|
|
|
9d3759 |
%bcond_without perl_CPAN_Meta_YAML_enables_extra_test
|
|
|
9d3759 |
%else
|
|
|
9d3759 |
%bcond_with perl_CPAN_Meta_YAML_enables_extra_test
|
|
|
9d3759 |
%endif
|
|
|
9d3759 |
%else
|
|
|
9d3759 |
# Don't run extra tests when bootstrapping as many of those
|
|
|
9d3759 |
# tests' dependencies build-require this package
|
|
|
9d3759 |
%global _without_perl_CPAN_Meta_YAML_enables_extra_test 1
|
|
|
9d3759 |
%global _with_perl_CPAN_Meta_YAML_enables_extra_test 0
|
|
|
9d3759 |
%endif
|
|
|
9d3759 |
|
|
|
9d3759 |
Name: perl-CPAN-Meta-YAML
|
|
|
9d3759 |
Version: 0.018
|
|
|
9d3759 |
Release: 1001%{?dist}
|
|
|
9d3759 |
Summary: Read and write a subset of YAML for CPAN Meta files
|
|
|
9d3759 |
License: GPL+ or Artistic
|
|
|
9d3759 |
URL: http://search.cpan.org/dist/CPAN-Meta-YAML/
|
|
|
9d3759 |
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-YAML-%{version}.tar.gz
|
|
|
9d3759 |
BuildArch: noarch
|
|
|
9d3759 |
# Build:
|
|
|
9d3759 |
BuildRequires: coreutils
|
|
|
9d3759 |
BuildRequires: findutils
|
|
|
9d3759 |
BuildRequires: make
|
|
|
9d3759 |
BuildRequires: perl-generators
|
|
|
9d3759 |
BuildRequires: perl-interpreter
|
|
|
9d3759 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
|
|
9d3759 |
# Module Runtime:
|
|
|
9d3759 |
BuildRequires: perl(B)
|
|
|
9d3759 |
BuildRequires: perl(Carp)
|
|
|
9d3759 |
BuildRequires: perl(Exporter)
|
|
|
9d3759 |
BuildRequires: perl(Fcntl)
|
|
|
9d3759 |
BuildRequires: perl(Scalar::Util)
|
|
|
9d3759 |
BuildRequires: perl(strict)
|
|
|
9d3759 |
BuildRequires: perl(warnings)
|
|
|
9d3759 |
# Tests:
|
|
|
9d3759 |
BuildRequires: perl(base)
|
|
|
9d3759 |
# CPAN::Meta requires CPAN::Meta::YAML
|
|
|
9d3759 |
%if 0%{!?perl_bootstrap:1}
|
|
|
9d3759 |
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
|
|
9d3759 |
BuildRequires: perl(CPAN::Meta::Prereqs)
|
|
|
9d3759 |
%endif
|
|
|
9d3759 |
BuildRequires: perl(File::Basename)
|
|
|
9d3759 |
BuildRequires: perl(File::Find)
|
|
|
9d3759 |
BuildRequires: perl(File::Spec)
|
|
|
9d3759 |
BuildRequires: perl(File::Spec::Functions)
|
|
|
9d3759 |
BuildRequires: perl(File::Temp) >= 0.19
|
|
|
9d3759 |
BuildRequires: perl(IO::Dir)
|
|
|
9d3759 |
BuildRequires: perl(JSON::PP)
|
|
|
9d3759 |
BuildRequires: perl(lib)
|
|
|
9d3759 |
BuildRequires: perl(Test::More) >= 0.96
|
|
|
9d3759 |
BuildRequires: perl(utf8)
|
|
|
9d3759 |
BuildRequires: perl(vars)
|
|
|
9d3759 |
%if %{with perl_CPAN_Meta_YAML_enables_extra_test}
|
|
|
9d3759 |
# Extra Tests:
|
|
|
9d3759 |
BuildRequires: perl(blib)
|
|
|
9d3759 |
BuildRequires: perl(Test::CPAN::Meta)
|
|
|
9d3759 |
BuildRequires: perl(Test::Pod)
|
|
|
9d3759 |
BuildRequires: perl(Test::Version)
|
|
|
9d3759 |
%endif
|
|
|
9d3759 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
9d3759 |
Requires: perl(Carp)
|
|
|
9d3759 |
Requires: perl(Fcntl)
|
|
|
9d3759 |
|
|
|
9d3759 |
%description
|
|
|
9d3759 |
This module implements a subset of the YAML specification for use in reading
|
|
|
9d3759 |
and writing CPAN metadata files like META.yml and MYMETA.yml. It should not be
|
|
|
9d3759 |
used for any other general YAML parsing or generation task.
|
|
|
9d3759 |
|
|
|
9d3759 |
%prep
|
|
|
9d3759 |
%setup -q -n CPAN-Meta-YAML-%{version}
|
|
|
9d3759 |
|
|
|
9d3759 |
%build
|
|
|
9d3759 |
perl Makefile.PL INSTALLDIRS=vendor UNINST=0
|
|
|
9d3759 |
make %{?_smp_mflags}
|
|
|
9d3759 |
|
|
|
9d3759 |
%install
|
|
|
9d3759 |
make pure_install DESTDIR=%{buildroot}
|
|
|
9d3759 |
find %{buildroot} -type f -name .packlist -delete
|
|
|
9d3759 |
%{_fixperms} -c %{buildroot}
|
|
|
9d3759 |
|
|
|
9d3759 |
%check
|
|
|
9d3759 |
make test
|
|
|
9d3759 |
%if %{with perl_CPAN_Meta_YAML_enables_extra_test}
|
|
|
9d3759 |
make test TEST_FILES="xt/*/*.t"
|
|
|
9d3759 |
%endif
|
|
|
9d3759 |
|
|
|
9d3759 |
%files
|
|
|
9d3759 |
%license LICENSE
|
|
|
9d3759 |
%doc Changes README
|
|
|
9d3759 |
%{perl_vendorlib}/CPAN/
|
|
|
9d3759 |
%{_mandir}/man3/CPAN::Meta::YAML.3*
|
|
|
9d3759 |
|
|
|
9d3759 |
%changelog
|
|
|
9d3759 |
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-1001
|
|
|
9d3759 |
- Rebuild with enable hardening (bug #1636329)
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Aug 23 2018 Petr Pisar <ppisar@redhat.com> - 0.018-1000
|
|
|
9d3759 |
- Increase release not to clash with perl-bootstrap:5.24 subpackages
|
|
|
9d3759 |
(bug #1620200)
|
|
|
9d3759 |
|
|
|
9d3759 |
* Fri Apr 27 2018 Petr Pisar <ppisar@redhat.com> - 0.018-398
|
|
|
9d3759 |
- Increase release not to clash with perl-bootstrap:5.24 subpackages
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Mar 15 2018 Paul Howarth <paul@city-fan.org> - 0.018-397
|
|
|
9d3759 |
- Simplify find command using -delete
|
|
|
9d3759 |
- Drop legacy Group: tag
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-396
|
|
|
9d3759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-395
|
|
|
9d3759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-394
|
|
|
9d3759 |
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
9d3759 |
|
|
|
9d3759 |
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-393
|
|
|
9d3759 |
- Perl 5.26 rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-367
|
|
|
9d3759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-366
|
|
|
9d3759 |
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
9d3759 |
|
|
|
9d3759 |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.018-365
|
|
|
9d3759 |
- Increase release to favour standalone package
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.018-2
|
|
|
9d3759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Mon Dec 14 2015 Paul Howarth <paul@city-fan.org> - 0.018-1
|
|
|
9d3759 |
- Update to 0.018
|
|
|
9d3759 |
- Generated from ETHER/YAML-Tiny-1.69.tar.gz
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.016-4
|
|
|
9d3759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.016-3
|
|
|
9d3759 |
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
9d3759 |
|
|
|
9d3759 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.016-2
|
|
|
9d3759 |
- Perl 5.22 rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Tue May 19 2015 Paul Howarth <paul@city-fan.org> - 0.016-1
|
|
|
9d3759 |
- Update to 0.016
|
|
|
9d3759 |
- Generated from ETHER/YAML-Tiny-1.67.tar.gz
|
|
|
9d3759 |
|
|
|
9d3759 |
* Tue Mar 17 2015 Paul Howarth <paul@city-fan.org> - 0.014-1
|
|
|
9d3759 |
- Update to 0.014
|
|
|
9d3759 |
- Generated from ETHER/YAML-Tiny-1.66.tar.gz
|
|
|
9d3759 |
- Use %%license
|
|
|
9d3759 |
|
|
|
9d3759 |
* Fri Jan 09 2015 Petr Pisar <ppisar@redhat.com> - 0.012-313
|
|
|
9d3759 |
- Require undetected dependencies explicitly
|
|
|
9d3759 |
|
|
|
9d3759 |
* Fri Dec 12 2014 Petr Pisar <ppisar@redhat.com> - 0.012-312
|
|
|
9d3759 |
- Remove unused build-time dependency on YAML
|
|
|
9d3759 |
|
|
|
9d3759 |
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.012-311
|
|
|
9d3759 |
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
9d3759 |
|
|
|
9d3759 |
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.012-310
|
|
|
9d3759 |
- Increase release to favour standalone package
|
|
|
9d3759 |
|
|
|
9d3759 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.012-3
|
|
|
9d3759 |
- Perl 5.20 rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.012-2
|
|
|
9d3759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Tue Feb 25 2014 Paul Howarth <paul@city-fan.org> - 0.012-1
|
|
|
9d3759 |
- Update to 0.012:
|
|
|
9d3759 |
- Generated from ETHER/YAML-Tiny-1.61.tar.gz
|
|
|
9d3759 |
|
|
|
9d3759 |
* Fri Feb 14 2014 Paul Howarth <paul@city-fan.org> - 0.011-1
|
|
|
9d3759 |
- Update to 0.011:
|
|
|
9d3759 |
- Generated from ETHER/YAML-Tiny-1.60.tar.gz
|
|
|
9d3759 |
- Give up trying to support EPEL (test suite now requires Test::More 0.99)
|
|
|
9d3759 |
|
|
|
9d3759 |
* Mon Sep 23 2013 Paul Howarth <paul@city-fan.org> - 0.010-1
|
|
|
9d3759 |
- Update to 0.010:
|
|
|
9d3759 |
- Generated from ETHER/YAML-Tiny-1.55.tar.gz
|
|
|
9d3759 |
- Makefile.PL will use UNINST=1 on old perls that might have an old version
|
|
|
9d3759 |
incorrectly installed into the core library path
|
|
|
9d3759 |
- Updated Makefile.PL logic to support PERL_NO_HIGHLANDER
|
|
|
9d3759 |
- Drop redundant BRs: perl(Pod::Wordlist::hanekomu), perl(Test::Requires),
|
|
|
9d3759 |
perl(Test::Spelling) and aspell-en
|
|
|
9d3759 |
- Add new test dependencies perl(IO::Handle) and perl(IPC::Open3)
|
|
|
9d3759 |
- Build with UNINST=0 to avoid build failures as we can't remove the system
|
|
|
9d3759 |
version of the package when building an rpm for a new version
|
|
|
9d3759 |
- Update patch for building with old Test::More, and add new patch to support
|
|
|
9d3759 |
building with Test::More < 0.94
|
|
|
9d3759 |
- Don't run the extra tests in EPEL as we don't have Test::Version there
|
|
|
9d3759 |
|
|
|
9d3759 |
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.008-292
|
|
|
9d3759 |
- Perl 5.18 re-rebuild of bootstrapped packages
|
|
|
9d3759 |
|
|
|
9d3759 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-291
|
|
|
9d3759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 0.008-290
|
|
|
9d3759 |
- Increase release to favour standalone package
|
|
|
9d3759 |
|
|
|
9d3759 |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 0.008-15
|
|
|
9d3759 |
- Perl 5.18 rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-14
|
|
|
9d3759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Tue Nov 13 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.008-13
|
|
|
9d3759 |
- Update dependencies
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Oct 11 2012 Paul Howarth <paul@city-fan.org> - 0.008-12
|
|
|
9d3759 |
- Never BR: perl(Test::Version) for EL builds as perl(version) is too old
|
|
|
9d3759 |
prior to EL-7 and this package is included in RHEL ≥ 7 but Test::Version
|
|
|
9d3759 |
is only in EPEL
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Oct 11 2012 Petr Pisar <ppisar@redhat.com> - 0.008-11
|
|
|
9d3759 |
- Restrict Test::Version optional test on RHEL to version 6 only
|
|
|
9d3759 |
|
|
|
9d3759 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-10
|
|
|
9d3759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.008-9
|
|
|
9d3759 |
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 0.008-8
|
|
|
9d3759 |
- Perl 5.16 rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Jun 7 2012 Paul Howarth <paul@city-fan.org> - 0.008-7
|
|
|
9d3759 |
- Run the extra tests in a separate test run, and only when not bootstrapping
|
|
|
9d3759 |
- Don't BR: perl(Test::Spelling) with RHEL ≥ 7 as we don't have the other
|
|
|
9d3759 |
dependencies needed do the spell check test
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Jun 7 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.008-6
|
|
|
9d3759 |
- Conditionalize dependency on aspell
|
|
|
9d3759 |
|
|
|
9d3759 |
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 0.008-5
|
|
|
9d3759 |
- Perl 5.16 rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 0.008-4
|
|
|
9d3759 |
- Disable author tests on bootstrap
|
|
|
9d3759 |
|
|
|
9d3759 |
* Mon Apr 23 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.008-3
|
|
|
9d3759 |
- Data::Dumper is not really needed, dependencies must be fixed in YAML
|
|
|
9d3759 |
|
|
|
9d3759 |
* Mon Apr 23 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.008-2
|
|
|
9d3759 |
- Don't BR: Pod::Wordlist::hanekomu for RHEL-7+ builds; RHEL package cannot
|
|
|
9d3759 |
have buildreq from EPEL
|
|
|
9d3759 |
- Add missing Data::Dumper dependency
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Mar 15 2012 Paul Howarth <paul@city-fan.org> - 0.008-1
|
|
|
9d3759 |
- Update to 0.008:
|
|
|
9d3759 |
- Generated from ADAMK/YAML-Tiny-1.51.tar.gz
|
|
|
9d3759 |
- Updated from YAML-Tiny to fix compatibility with older Scalar::Util
|
|
|
9d3759 |
- Drop upstreamed patch for old Scalar::Util versions
|
|
|
9d3759 |
- Don't need to remove empty directories from the buildroot
|
|
|
9d3759 |
|
|
|
9d3759 |
* Wed Feb 8 2012 Paul Howarth <paul@city-fan.org> - 0.007-1
|
|
|
9d3759 |
- Update to 0.007:
|
|
|
9d3759 |
- Documentation fix to replace missing abstract
|
|
|
9d3759 |
|
|
|
9d3759 |
* Tue Feb 7 2012 Paul Howarth <paul@city-fan.org> - 0.006-1
|
|
|
9d3759 |
- Update to 0.006:
|
|
|
9d3759 |
- Set back configure_requires prerequisite for ExtUtils::MakeMaker
|
|
|
9d3759 |
from 6.30 to 6.17
|
|
|
9d3759 |
- BR: perl(Test::Requires)
|
|
|
9d3759 |
- BR: perl(Test::Spelling), perl(Pod::Wordlist::hanekomu) and aspell-en to
|
|
|
9d3759 |
enable the spell checker test
|
|
|
9d3759 |
- Drop patch for building with old ExtUtils::MakeMaker versions, no longer
|
|
|
9d3759 |
needed
|
|
|
9d3759 |
- Drop support for soon-to-be-EOL RHEL-4:
|
|
|
9d3759 |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
9d3759 |
- Update patch for building with Test::More < 0.88
|
|
|
9d3759 |
|
|
|
9d3759 |
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 0.005-2
|
|
|
9d3759 |
- Fedora 17 mass rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Tue Dec 13 2011 Paul Howarth <paul@city-fan.org> - 0.005-1
|
|
|
9d3759 |
- Update to 0.005:
|
|
|
9d3759 |
- Fix documentation to clarify that users are responsible for UTF-8
|
|
|
9d3759 |
encoding/decoding
|
|
|
9d3759 |
|
|
|
9d3759 |
* Wed Sep 7 2011 Paul Howarth <paul@city-fan.org> - 0.004-1
|
|
|
9d3759 |
- Update to 0.004:
|
|
|
9d3759 |
- Generated from ADAMK/YAML-Tiny-1.50.tar.gz
|
|
|
9d3759 |
- BR: perl(Test::Version) for additional test coverage
|
|
|
9d3759 |
- Update patch for building with ExtUtils::MakeMaker < 6.30
|
|
|
9d3759 |
- Add patch to support building with Test::More < 0.88
|
|
|
9d3759 |
- Add patch to fix operation with Scalar::Util < 1.18
|
|
|
9d3759 |
|
|
|
9d3759 |
* Tue Aug 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.003-7
|
|
|
9d3759 |
- Install to vendor perl directories to avoid potential debuginfo conflicts
|
|
|
9d3759 |
with the main perl package if this module ever becomes arch-specific
|
|
|
9d3759 |
|
|
|
9d3759 |
* Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.003-6
|
|
|
9d3759 |
- Perl mass rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-4
|
|
|
9d3759 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
9d3759 |
|
|
|
9d3759 |
* Thu Jan 27 2011 Paul Howarth <paul@city-fan.org> - 0.003-3
|
|
|
9d3759 |
- Trim %%description (#672807)
|
|
|
9d3759 |
|
|
|
9d3759 |
* Wed Jan 26 2011 Paul Howarth <paul@city-fan.org> - 0.003-2
|
|
|
9d3759 |
- Sanitize for Fedora submission
|
|
|
9d3759 |
|
|
|
9d3759 |
* Tue Jan 25 2011 Paul Howarth <paul@city-fan.org> - 0.003-1
|
|
|
9d3759 |
- Initial RPM version
|