|
|
@ -7,27 +7,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-YAML-LibYAML
|
|
|
|
Name: perl-YAML-LibYAML
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: 0.82
|
|
|
|
Version: 0.70
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Perl YAML Serialization using XS and libyaml
|
|
|
|
Summary: Perl YAML Serialization using XS and libyaml
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/YAML-LibYAML
|
|
|
|
URL: https://metacpan.org/release/YAML-LibYAML
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/YAML/YAML-LibYAML-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/T/TI/TINITA/YAML-LibYAML-%{version}.tar.gz
|
|
|
|
Patch0: YAML-LibYAML-0.79-Unbundled-libyaml.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Build
|
|
|
|
# Build
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: libyaml >= 0.2.4
|
|
|
|
|
|
|
|
BuildRequires: libyaml-devel >= 0.2.4
|
|
|
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: sed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Module
|
|
|
|
# Module
|
|
|
|
BuildRequires: perl(B::Deparse)
|
|
|
|
BuildRequires: perl(B::Deparse)
|
|
|
@ -67,7 +63,12 @@ BuildRequires: perl(Path::Class)
|
|
|
|
# Dependencies
|
|
|
|
# Dependencies
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(B::Deparse)
|
|
|
|
Requires: perl(B::Deparse)
|
|
|
|
Requires: libyaml >= 0.2.4
|
|
|
|
|
|
|
|
|
|
|
|
# libyaml is tweaked and bundled
|
|
|
|
|
|
|
|
# https://github.com/ingydotnet/yaml-libyaml-pm/issues/49
|
|
|
|
|
|
|
|
# version number determined by comparing commits in upstream repo:
|
|
|
|
|
|
|
|
# https://bitbucket.org/xi/libyaml/commits/branch/default
|
|
|
|
|
|
|
|
Provides: bundled(libyaml) = 0.1.7
|
|
|
|
|
|
|
|
|
|
|
|
# Avoid provides for perl shared objects
|
|
|
|
# Avoid provides for perl shared objects
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%{?perl_default_filter}
|
|
|
@ -79,22 +80,13 @@ bound to Python and was later bound to Ruby.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n YAML-LibYAML-%{version}
|
|
|
|
%setup -q -n YAML-LibYAML-%{version}
|
|
|
|
# Unbundled libyaml, the source files are the same as in libyaml-0.2.4
|
|
|
|
|
|
|
|
# It was determined by comparing commits in upstream repo:
|
|
|
|
|
|
|
|
# https://github.com/yaml/libyaml/
|
|
|
|
|
|
|
|
%patch0 -p1 -b .orig
|
|
|
|
|
|
|
|
for file in api.c dumper.c emitter.c loader.c parser.c reader.c scanner.c \
|
|
|
|
|
|
|
|
writer.c yaml.h yaml_private.h; do
|
|
|
|
|
|
|
|
rm LibYAML/$file
|
|
|
|
|
|
|
|
sed -i -e "/^LibYAML\/$file/d" MANIFEST
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
|
|
|
|
%{make_build}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
@ -111,92 +103,8 @@ make test
|
|
|
|
%{_mandir}/man3/YAML::XS::LibYAML.3*
|
|
|
|
%{_mandir}/man3/YAML::XS::LibYAML.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.82-6
|
|
|
|
* Thu Dec 07 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1:0.70-1
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.82-5
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.82-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.82-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.82-2
|
|
|
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun May 3 2020 Paul Howarth <paul@city-fan.org> - 1:0.82-1
|
|
|
|
|
|
|
|
- Update to 0.82
|
|
|
|
|
|
|
|
- Updated libyaml sources to 0.2.4; changes affecting YAML::XS are:
|
|
|
|
|
|
|
|
- Output '...' at the stream end after a block scalar with trailing empty
|
|
|
|
|
|
|
|
lines
|
|
|
|
|
|
|
|
- Accept '%%YAML 1.2' directives (they are ignored and do not change
|
|
|
|
|
|
|
|
behaviour though)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.81-1
|
|
|
|
|
|
|
|
- Update to 0.81
|
|
|
|
|
|
|
|
- Breaking Change: Set $YAML::XS::LoadBlessed default to false to make it
|
|
|
|
|
|
|
|
more secure
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 22 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.80-1
|
|
|
|
|
|
|
|
- Update to 0.80
|
|
|
|
|
|
|
|
- Fix memory leak when loading invalid YAML
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.79-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 12 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.79-1
|
|
|
|
|
|
|
|
- Update to 0.79
|
|
|
|
|
|
|
|
- Support aliasing scalars resolved as null or booleans
|
|
|
|
|
|
|
|
- Add YAML::XS::LibYAML::libyaml_version()
|
|
|
|
|
|
|
|
- Support standard !!int/!!float tags instead of dying
|
|
|
|
|
|
|
|
- Unbundled libyaml, it is identical with upstream 0.2.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.78-2
|
|
|
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun May 19 2019 Paul Howarth <paul@city-fan.org> - 1:0.78-1
|
|
|
|
|
|
|
|
- Update to 0.78
|
|
|
|
|
|
|
|
- Fix double free/core dump when Dump()ing binary data (GH#91)
|
|
|
|
|
|
|
|
- Update config.h from libyaml
|
|
|
|
|
|
|
|
- Modernize spec using %%{make_build} and %%{make_install}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 16 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.77-1
|
|
|
|
|
|
|
|
- Update to 0.77
|
|
|
|
|
|
|
|
- Update libyaml to version 0.2.2 - Most important change for users is that
|
|
|
|
|
|
|
|
plain urls in flow style can be parsed now
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.76-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.76-1
|
|
|
|
|
|
|
|
- Update to 0.76
|
|
|
|
|
|
|
|
- Add $Indent - number of spaces when dumping
|
|
|
|
|
|
|
|
- Fix typo and links in docs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Nov 3 2018 Paul Howarth <paul@city-fan.org> - 1:0.75-1
|
|
|
|
|
|
|
|
- Update to 0.75
|
|
|
|
|
|
|
|
- Implement $LoadCode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 3 2018 Paul Howarth <paul@city-fan.org> - 1:0.74-1
|
|
|
|
|
|
|
|
- Update to 0.74
|
|
|
|
|
|
|
|
- Fix tests on older perls
|
|
|
|
|
|
|
|
- Support back to perl 5.8.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.72-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 09 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.72-1
|
|
|
|
|
|
|
|
- Update to 0.72
|
|
|
|
|
|
|
|
- Update to libyaml 0.2.1 - It's forbidden now to escape single
|
|
|
|
|
|
|
|
quotes inside double quotes
|
|
|
|
|
|
|
|
- When disabling $LoadBlessed, return scalars not refs
|
|
|
|
|
|
|
|
- Save anchors also for blessed scalars
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.70-2
|
|
|
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jun 10 2018 Paul Howarth <paul@city-fan.org> - 1:0.70-1
|
|
|
|
* Sun Jun 10 2018 Paul Howarth <paul@city-fan.org> - 1:0.70-1
|
|
|
|
- Update to 0.70
|
|
|
|
- Update to 0.70
|
|
|
|