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