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

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