!14 [sync] PR-12: 【轻量级 PR】:use macros package_help

From: @openeuler-sync-bot 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
This commit is contained in:
openeuler-ci-bot 2022-10-26 08:27:35 +00:00 committed by Gitee
commit 0f6c5eecb4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global base_version 1.59 %global base_version 1.59
Name: perl-threads-shared Name: perl-threads-shared
Version: 1.62 Version: 1.62
Release: 1 Release: 2
Summary: Perl extension for sharing data structures between threads Summary: Perl extension for sharing data structures between threads
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/threads-shared URL: https://metacpan.org/release/threads-shared
@ -27,13 +27,7 @@ Win32). It is used together with the threads module.
This module supports the sharing of the following data types only: scalars This module supports the sharing of the following data types only: scalars
and scalar refs, arrays and array refs, and hashes and hash refs. and scalar refs, arrays and array refs, and hashes and hash refs.
%package help %package_help
Summary: Doc files for %{name}
Buildarch: noarch
requires: man
%description help
The %{name}-help package contains doc files for %{name}.
%prep %prep
%autosetup -n threads-shared-%{base_version} -p1 %autosetup -n threads-shared-%{base_version} -p1
@ -59,6 +53,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Tue Oct 25 2022 jiangchuangang <jiangchuangang@huawei.com> - 1.62-2
- use macros package_help
* Fri Dec 31 2021 yuanxin <yuanxin24@huawei.com> - 1.62-1 * Fri Dec 31 2021 yuanxin <yuanxin24@huawei.com> - 1.62-1
- update version to 1.62 - update version to 1.62