!22 【轻量级PR】用“%package_help”宏替换help子包声明

From: @yangchunc 
Reviewed-by: @zhang__3125 
Signed-off-by: @zhang__3125
This commit is contained in:
openeuler-ci-bot 2024-09-18 01:15:02 +00:00 committed by Gitee
commit 7e78cc6eb3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: desktop-file-utils Name: desktop-file-utils
Version: 0.24 Version: 0.24
Release: 1 Release: 2
Summary: Desktop-file-utils contains utilities for manipulating desktop entries Summary: Desktop-file-utils contains utilities for manipulating desktop entries
License: GPLv2+ License: GPLv2+
URL: https://www.freedesktop.org/software/desktop-file-utils URL: https://www.freedesktop.org/software/desktop-file-utils
@ -21,11 +21,7 @@ desktop-file-install:
update-desktop-database: update-desktop-database:
updates the database containing a cache of MIME types handled by desktop files. updates the database containing a cache of MIME types handled by desktop files.
%package help %package_help
Summary: Help documents for desktop-file-utils
%description help
Help document for desktop-file-utils.
%prep %prep
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
@ -55,6 +51,9 @@ touch $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-mode-init.elc
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Mon Aug 19 2024 Chunchun Yang <yangchunchun@cqsoftware.com.cn> - 0.24-2
- Replaced declaration of subpackage with the 'package_help' macro.
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.24-1 * Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.24-1
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA