diff --git a/perl-YAML.rpmlintrc b/perl-YAML.rpmlintrc index be7a498..89adb01 100644 --- a/perl-YAML.rpmlintrc +++ b/perl-YAML.rpmlintrc @@ -1,2 +1,8 @@ +from Config import * +addFilter("spelling-error Summary\(en_US\) tm -> ") + # Tarball modified to remove non-free content addFilter("invalid-url Source0: YAML-free-[0-9.]*\.tar\.gz") + +# Tarball creation script is of course executable +addFilter("strange-permission YAML-free 755") diff --git a/perl-YAML.spec b/perl-YAML.spec index cd24749..7c939f3 100644 --- a/perl-YAML.spec +++ b/perl-YAML.spec @@ -12,10 +12,10 @@ %endif Name: perl-YAML -Version: 1.31 -Release: 6%{?dist} +Version: 1.29 +Release: 5%{?dist} Summary: YAML Ain't Markup Language (tm) -License: GPL-1.0-or-later OR Artistic-1.0-Perl +License: GPL+ or Artistic URL: https://metacpan.org/release/YAML # Tarball created from https://cpan.metacpan.org/modules/by-module/YAML/YAML-%%{version}.tar.gz # using script YAML-free (see https://bugzilla.redhat.com/show_bug.cgi?id=1813197) @@ -59,7 +59,8 @@ BuildRequires: perl(utf8) BuildRequires: perl(Test::Pod) >= 1.41 %endif %endif -# Dependencies +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(B::Deparse) Requires: perl(Carp) @@ -68,21 +69,11 @@ Requires: perl(Carp) %global __provides_exclude ^perl\\(yaml_ %description -If you need to use YAML with Perl, it is likely that you will have a look at -this module (YAML.pm) first. There are several YAML modules in Perl and they -all support the simple Load() and Dump() API. Since this one has the obvious -name "YAML", it may seem obvious to pick this one. - -The author of this module humbly asks you to choose another. YAML.pm was the -very first YAML implementation in the world, released in 2001. It was -originally made as a prototype, over 2 years before the YAML 1.0 spec was -published. Although it may work for your needs, it has numerous bugs and is -barely maintained. - -Please consider using these first: - * YAML::PP - Pure Perl, full featured, well maintained - * YAML::PP::LibYAML - A libyaml Perl binding like YAML::XS but with the - YAML::PP API +The YAML.pm module implements a YAML Loader and Dumper based on the YAML 1.0 +specification (http://www.yaml.org/spec/). YAML is a generic data serialization +language that is optimized for human readability. It can be used to express the +data structures of most modern programming languages, including Perl. For +information on the YAML syntax, please refer to the YAML specification. %prep %setup -q -n YAML-%{version} @@ -143,76 +134,9 @@ make test AUTHOR_TESTING=%{with perl_YAML_enables_extra_test} %{_mandir}/man3/YAML::Types.3* %changelog -* Fri Jul 25 2025 Fedora Release Engineering - 1.31-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sat Jan 18 2025 Fedora Release Engineering - 1.31-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Fri Jul 19 2024 Fedora Release Engineering - 1.31-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Thu Jan 25 2024 Fedora Release Engineering - 1.31-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 21 2024 Fedora Release Engineering - 1.31-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Dec 28 2023 Paul Howarth - 1.31-1 -- Update to 1.31 (rhbz#2255994) - - Update docs to recommend YAML::PP -- Package description updated as per upstream documentation - -* Fri Jul 21 2023 Fedora Release Engineering - 1.30-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Thu Mar 02 2023 Michal Josef Špaček - 1.30-15 -- Update license to SPDX format - -* Fri Jan 20 2023 Fedora Release Engineering - 1.30-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Fri Jul 22 2022 Fedora Release Engineering - 1.30-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jun 03 2022 Jitka Plesnikova - 1.30-12 -- Perl 5.36 re-rebuild of bootstrapped packages - -* Mon May 30 2022 Jitka Plesnikova - 1.30-11 -- Perl 5.36 rebuild - -* Fri Jan 21 2022 Fedora Release Engineering - 1.30-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 1.30-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Mon May 24 2021 Jitka Plesnikova - 1.30-8 -- Perl 5.34 re-rebuild of bootstrapped packages - -* Fri May 21 2021 Jitka Plesnikova - 1.30-7 -- Perl 5.34 rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 1.30-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Jul 28 2020 Fedora Release Engineering - 1.30-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jun 26 2020 Jitka Plesnikova - 1.30-4 -- Perl 5.32 re-rebuild of bootstrapped packages - -* Mon Jun 22 2020 Jitka Plesnikova - 1.30-3 -- Perl 5.32 rebuild - -* Fri Mar 13 2020 Paul Howarth - 1.30-2 +* Fri Mar 13 2020 Paul Howarth - 1.29-5 - Remove non-free test file t/load-slides.t (#1813197, GH#219) -* Tue Jan 28 2020 Paul Howarth - 1.30-1 -- Update to 1.30 - - Breaking Change: Set $YAML::LoadBlessed default to false to make it more - secure - * Fri Jul 26 2019 Fedora Release Engineering - 1.29-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 4760ec9..36f8667 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (YAML-free-1.31.tar.gz) = fd259d41f8f5b5ef58365ceecc489f238560253e298fe9392d480dd1fff51f77a0e6e45413c37fd0e54bbd7a898484a90228d69701d7304cf47a2c1d320e2fd8 +SHA512 (YAML-free-1.29.tar.gz) = 325ffc1b2b6a81a2eb5163b6d040c548f5e0777c6f9899dc0d612d76bd17534acdf288cb987769b758d11359cc9cbc85c9c9ae70853b207fa906173352efba52