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

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