From c7346a8834256745274897b6a60f824bbce04303 Mon Sep 17 00:00:00 2001 From: lixuebing Date: Mon, 19 Aug 2024 17:40:29 +0800 Subject: [PATCH 1/2] Replaced declaration of help subpackage with the 'package_help' macro. --- perl-YAML-LibYAML.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/perl-YAML-LibYAML.spec b/perl-YAML-LibYAML.spec index 6852ea5..aea2345 100644 --- a/perl-YAML-LibYAML.spec +++ b/perl-YAML-LibYAML.spec @@ -1,7 +1,7 @@ Name: perl-YAML-LibYAML Epoch: 1 Version: 0.89 -Release: 1 +Release: 2 Summary: Perl YAML Serialization using XS and libyaml License: GPL+ or Artistic URL: https://metacpan.org/release/YAML-LibYAML @@ -27,11 +27,13 @@ This module exports the functions Dump, Load, DumpFile and LoadFile. These functions are intended to work exactly like YAML.pm's corresponding functions. Only Load and Dump are exported by default. -%package help -Summary: Help package for perl-YAML-LibYAML +%package help +Summary: Documents for perl-YAML-LibYAML +Buildarch: noarch +Requires: man info -%description help -This package contains man files for perl-YAML-LibYAML. +%description help +Man pages and other related documents for perl-YAML-LibYAML. %prep %autosetup -n YAML-LibYAML-%{version} -p1 @@ -57,6 +59,9 @@ find %{buildroot} -type f -name '*.bs' -empty -exec rm {} \; %{_mandir}/man3/YAML::* %changelog +* Mon Aug 19 2024 Xuebing Li - 1:0.89-2 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Tue Jul 16 2024 gss - 1:0.89-1 - Update to version 0.89 - Recognise core booleans on Perl 5.36+ at dump time (PR#114 PEVANS++) -- Gitee From 55657c95f947cfbfccbc814c424641fb66fdbb84 Mon Sep 17 00:00:00 2001 From: lixuebing Date: Tue, 20 Aug 2024 09:26:33 +0800 Subject: [PATCH 2/2] Replaced declaration of help subpackage with the 'package_help' macro. --- perl-YAML-LibYAML.spec | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/perl-YAML-LibYAML.spec b/perl-YAML-LibYAML.spec index aea2345..91dbe2f 100644 --- a/perl-YAML-LibYAML.spec +++ b/perl-YAML-LibYAML.spec @@ -27,13 +27,7 @@ This module exports the functions Dump, Load, DumpFile and LoadFile. These functions are intended to work exactly like YAML.pm's corresponding functions. Only Load and Dump are exported by default. -%package help -Summary: Documents for perl-YAML-LibYAML -Buildarch: noarch -Requires: man info - -%description help -Man pages and other related documents for perl-YAML-LibYAML. +%package_help %prep %autosetup -n YAML-LibYAML-%{version} -p1 -- Gitee