Compare commits

...
Sign in to create a new pull request.

41 commits

Author SHA1 Message Date
Fedora Release Engineering
39a405a0b8 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 04:55:20 +00:00
Fedora Release Engineering
e16ca469ea Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 08:27:44 +00:00
Fedora Release Engineering
09dd742d41 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 06:20:31 +00:00
Fedora Release Engineering
2cafa4ae68 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 22:04:34 +00:00
Fedora Release Engineering
bcd9718f44 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 20:19:47 +00:00
Paul Howarth
007af22354 Update to 1.31 (rhbz#2255994)
- New upstream release 1.31
  - Update docs to recommend YAML::PP
- Package description updated as per upstream documentation
2023-12-28 12:46:44 +00:00
Fedora Release Engineering
434555a602 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 03:38:55 +00:00
Michal Josef Špaček
dccd2e0e1a Update license to SPDX format 2023-03-02 17:40:16 +01:00
Fedora Release Engineering
c2e582e212 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 07:53:32 +00:00
Jitka Plesnikova
bc9b7deb64 Remove perl(MODULE_COMPAT), it will be replaced by generators 2023-01-13 21:05:27 +01:00
Fedora Release Engineering
f1a41d2797 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 12:45:27 +00:00
Jitka Plesnikova
f3105502b3 Perl 5.36 re-rebuild of bootstrapped packages 2022-06-03 12:24:25 +02:00
Jitka Plesnikova
dddffdccfb Perl 5.36 rebuild 2022-05-30 19:39:31 +02:00
Fedora Release Engineering
5408a1cf38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 06:53:06 +00:00
Fedora Release Engineering
12adda036c - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 01:13:15 +00:00
Jitka Plesnikova
7553eba923 Perl 5.34 re-rebuild of bootstrapped packages 2021-05-24 09:27:19 +02:00
Jitka Plesnikova
0796d382be Perl 5.34 rebuild 2021-05-21 12:13:23 +02:00
Fedora Release Engineering
8d4bf39622 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 06:02:14 +00:00
Fedora Release Engineering
affee174d7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 20:17:43 +00:00
Jitka Plesnikova
5e8088fbbd Perl 5.32 re-rebuild of bootstrapped packages 2020-06-26 16:20:55 +02:00
Jitka Plesnikova
4d21955ad5 Perl 5.32 rebuild 2020-06-22 19:21:28 +02:00
Paul Howarth
d49c243d26 Remove non-free test file t/load-slides.t (#1813197, GH#219) 2020-03-13 09:27:45 +00:00
Paul Howarth
ffd3033cc8 Update to 1.30
- New upstream release 1.30
  - Breaking Change: Set $YAML::LoadBlessed default to false to make it more
    secure
2020-01-28 10:44:35 +00:00
Fedora Release Engineering
407a44b044 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 08:17:13 +00:00
Jitka Plesnikova
038292daee Perl 5.30 re-rebuild of bootstrapped packages 2019-06-02 23:05:03 +02:00
Jitka Plesnikova
f075074138 Perl 5.30 rebuild 2019-05-30 13:44:23 +02:00
Paul Howarth
56171c4378 Update to 1.29
- New upstream release 1.29
  - Fix regex for alias to match the one for anchors (GH#214)
2019-05-11 15:04:50 +01:00
Paul Howarth
095a3d5232 Update to 1.28
- New upstream release 1.28
  - Security fix: only enable loading globs when $LoadCode is set (GH#213)
- Modernize spec using %{make_build} and %{make_install}
2019-04-28 13:56:15 +01:00
Fedora Release Engineering
4999c04dbc - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 01:47:55 +00:00
Paul Howarth
88c4782546 Update to 1.27
- New upstream release 1.27
  - Remove a warning about uninitialized value for perl ≤ 5.10
2018-11-03 16:46:50 +00:00
Fedora Release Engineering
7ae1cfb0d3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 20:54:11 +00:00
Jitka Plesnikova
eef34ff48c Perl 5.28 re-rebuild of bootstrapped packages 2018-06-30 21:46:50 +02:00
Jitka Plesnikova
d0625137c8 Perl 5.28 rebuild 2018-06-27 23:58:49 +02:00
Petr Písař
7b062a97a7 Control running extra tests with a condition 2018-06-13 08:20:02 +02:00
Petr Písař
07fc0d8112 cpan.org addresses moved to MetaCPAN <https://fedoraproject.org/wiki/Changes/Perl_Move_to_MetaCPAN> 2018-06-04 14:35:18 +02:00
Paul Howarth
03596c13a6 Update to 1.26
- New upstream release 1.26
  - Fix bug introduced in 1.25 - loading of quoted string with colon as
    sequence element (GH#208)
  - Support zero indented block sequences (GH#207)
2018-05-20 13:05:26 +01:00
Paul Howarth
b242f8d02c Update to 1.25
- New upstream release 1.25
  - Support trailing comments (GH#189, GH#190, GH#191)
  - Remove unused code (GH#192)
  - Use Test::Deep to actually test correctly for class names (GH#193)
  - Fix loading of mapping key that starts with '= ' (GH#194)
  - Fix loading strings with multiple spaces (GH#172)
  - Allow more characters in anchor name (GH#196)
  - Add $YAML::LoadBlessed for disabling loading objects (GH#197)
  - Disable test with long string under certain conditions (GH#201)
  - Quote scalar if it equals '=' (GH#202)
  - Multiple regexp roundtrip does not grow (GH#203)
  - Add support for compact nested block sequences (GH#204)
  - Support reverse order of block scalar indicators (GH#205)
  - Support nested mappings in sequences (GH#206)
2018-05-12 17:49:08 +01:00
Jitka Plesnikova
bc07cedbcd Do not run optional test on RHEL 2018-04-04 16:47:43 +02:00
Fedora Release Engineering
99a8a4e557 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 02:34:26 +00:00
Petr Písař
2282d3f47f Control test by a build condition
perl-YAML tests have enormous dependency tree. We are not proud of it
but when packaging a subset of Perl packages (e.g. into a Modalarity
module), we need to cut off the dependency tree somewhere. Run-time
dependencies of perl-Test-YAML is one of the place.
2017-12-12 13:56:59 +01:00
Paul Howarth
efe039389b Update to 1.24
- New upstream release 1.24
  - Fix $LoadCode (GH#180, GH#181, GH#182)
- This release by TINITA → update source URL
- Drop redundant Group: tag
2017-10-31 15:25:09 +00:00
5 changed files with 237 additions and 23 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/YAML-[0-9.]*.tar.gz
/YAML-free-[0-9.]*.tar.gz

44
YAML-free Executable file
View file

@ -0,0 +1,44 @@
#!/bin/bash
# YAML-free: create repackaged YAML tarball without non-free content
# See https://bugzilla.redhat.com/show_bug.cgi?id=1813197
# https://github.com/ingydotnet/yaml-pm/issues/219
#
# Usage: YAML-free YAML-version.tar.gz
# Creates: YAML-free-version.tar.gz
case $# in
1) YAML_tarball="$1"
;;
*) echo "YAML-free: usage: YAML-free YAML-version.tar.gz" 1>&2
exit 1
;;
esac
if echo "$YAML_tarball" | grep --silent -x 'YAML-[1-9][0-9]*\.[0-9][0-9.]*\.tar\.gz'; then
YAML_free_tarball=$(echo "$YAML_tarball" | sed -e 's|^YAML|YAML-free|')
YAML_dirname=$(echo "$YAML_tarball" | sed -e 's|\.tar\.gz$||')
else
echo "YAML-free: tarball $YAML_tarball does not meet expected naming" 1>&2
exit 1
fi
echo "Creating $YAML_free_tarball from $YAML_tarball in directory $YAML_dirname"
echo "Ensuring directory $YAML_dirname does not already exist"
rm -rf "$YAML_dirname"
echo "Extracting $YAML_tarball"
tar xfz "$YAML_tarball"
echo "Removing non-free file t/load-slides.t"
rm "$YAML_dirname/t/load-slides.t"
echo "Removing reference to non-free file t/load-slides.t from MANIFEST"
sed -i -e '/^t\/load-slides.t/d' "$YAML_dirname/MANIFEST"
echo "Creating $YAML_free_tarball"
tar cfz "$YAML_free_tarball" "$YAML_dirname"
echo "Removing work directory $YAML_dirname"
rm -rf "$YAML_dirname"

2
perl-YAML.rpmlintrc Normal file
View file

@ -0,0 +1,2 @@
# Tarball modified to remove non-free content
addFilter("invalid-url Source0: YAML-free-[0-9.]*\.tar\.gz")

View file

@ -1,17 +1,34 @@
# Run test
%if ! (0%{?rhel})
%bcond_without perl_YAML_enables_test
%else
%bcond_with perl_YAML_enables_test
%endif
# Run extra test
%if ! (0%{?rhel})
%bcond_without perl_YAML_enables_extra_test
%else
%bcond_with perl_YAML_enables_extra_test
%endif
Name: perl-YAML
Version: 1.23
Release: 4%{?dist}
Version: 1.31
Release: 6%{?dist}
Summary: YAML Ain't Markup Language (tm)
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/YAML/
Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-%{version}.tar.gz
License: GPL-1.0-or-later OR Artistic-1.0-Perl
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)
Source0: YAML-free-%{version}.tar.gz
# Script to remove non-free content from upstream tarball
# Usage: YAML-free YAML-%%{version}.tar.gz
Source1: YAML-free
BuildArch: noarch
# Module Build
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) > 6.75
# Module Runtime
BuildRequires: perl(B)
@ -25,19 +42,24 @@ BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Test Suite
# Avoid circular build deps Test::YAML → Test::Base → YAML when bootstrapping
%if !%{defined perl_bootstrap}
%if %{with perl_YAML_enables_test} && !%{defined perl_bootstrap}
BuildRequires: perl(Config)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Encode)
BuildRequires: perl(File::Find)
BuildRequires: perl(IO::File)
BuildRequires: perl(IO::Pipe)
BuildRequires: perl(lib)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::YAML) >= 1.05
BuildRequires: perl(utf8)
%if %{with perl_YAML_enables_extra_test}
# Author Tests
BuildRequires: perl(Test::Pod) >= 1.41
%endif
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%endif
# Dependencies
Requires: perl(B::Deparse)
Requires: perl(Carp)
@ -46,28 +68,37 @@ Requires: perl(Carp)
%global __provides_exclude ^perl\\(yaml_
%description
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.
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
%prep
%setup -q -n YAML-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags}
%{make_build}
%install
make install DESTDIR=%{buildroot}
%{make_install}
%{_fixperms} -c %{buildroot}
%check
# Avoid circular build deps Test::YAML → Test::Base → YAML when bootstrapping
%if !%{defined perl_bootstrap}
make test
%if %{with perl_YAML_enables_test} && !%{defined perl_bootstrap}
make test AUTHOR_TESTING=%{with perl_YAML_enables_extra_test}
%endif
%files
@ -112,6 +143,142 @@ make test
%{_mandir}/man3/YAML::Types.3*
%changelog
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Dec 28 2023 Paul Howarth <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 1.30-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Mar 02 2023 Michal Josef Špaček <mspacek@redhat.com> - 1.30-15
- Update license to SPDX format
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.30-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.30-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.30-12
- Perl 5.36 re-rebuild of bootstrapped packages
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.30-11
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.30-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.30-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.30-8
- Perl 5.34 re-rebuild of bootstrapped packages
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.30-7
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.30-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.30-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.30-4
- Perl 5.32 re-rebuild of bootstrapped packages
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.30-3
- Perl 5.32 rebuild
* Fri Mar 13 2020 Paul Howarth <paul@city-fan.org> - 1.30-2
- Remove non-free test file t/load-slides.t (#1813197, GH#219)
* Tue Jan 28 2020 Paul Howarth <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 1.29-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-3
- Perl 5.30 re-rebuild of bootstrapped packages
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-2
- Perl 5.30 rebuild
* Sat May 11 2019 Paul Howarth <paul@city-fan.org> - 1.29-1
- Update to 1.29
- Fix regex for alias to match the one for anchors (GH#214)
* Sun Apr 28 2019 Paul Howarth <paul@city-fan.org> - 1.28-1
- Update to 1.28
- Security fix: only enable loading globs when $LoadCode is set (GH#213)
- Modernize spec using %%{make_build} and %%{make_install}
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Nov 3 2018 Paul Howarth <paul@city-fan.org> - 1.27-1
- Update to 1.27
- Remove a warning about uninitialized value for perl 5.10
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-3
- Perl 5.28 re-rebuild of bootstrapped packages
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-2
- Perl 5.28 rebuild
* Sun May 20 2018 Paul Howarth <paul@city-fan.org> - 1.26-1
- Update to 1.26
- Fix bug introduced in 1.25 - loading of quoted string with colon as
sequence element (GH#208)
- Support zero indented block sequences (GH#207)
* Sat May 12 2018 Paul Howarth <paul@city-fan.org> - 1.25-1
- Update to 1.25
- Support trailing comments (GH#189, GH#190, GH#191)
- Remove unused code (GH#192)
- Use Test::Deep to actually test correctly for class names (GH#193)
- Fix loading of mapping key that starts with '= ' (GH#194)
- Fix loading strings with multiple spaces (GH#172)
- Allow more characters in anchor name (GH#196)
- Add $YAML::LoadBlessed for disabling loading objects (GH#197)
- Disable test with long string under certain conditions (GH#201)
- Quote scalar if it equals '=' (GH#202)
- Multiple regexp roundtrip does not grow (GH#203)
- Add support for compact nested block sequences (GH#204)
- Support reverse order of block scalar indicators (GH#205)
- Support nested mappings in sequences (GH#206)
- Fix parsing of quoted strings (GH#188)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Oct 31 2017 Paul Howarth <paul@city-fan.org> - 1.24-1
- Update to 1.24
- Fix $LoadCode (GH#180, GH#181, GH#182)
- This release by TINITA update source URL
- Drop redundant Group: tag
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (YAML-1.23.tar.gz) = 42dd2063e16b0e96a51ae9e43ed537741206529ff0df2939717eb142edf6396f69130b6b64d1d338d0c0a32dc11f68f3ffc5e0b5043c325c20e0d492626c106c
SHA512 (YAML-free-1.31.tar.gz) = fd259d41f8f5b5ef58365ceecc489f238560253e298fe9392d480dd1fff51f77a0e6e45413c37fd0e54bbd7a898484a90228d69701d7304cf47a2c1d320e2fd8