Blame SPECS/perl-CPAN-Meta-YAML.spec

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