From 146ac6b93c50ff8cc11ffe9b2051e4a27b9ff812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=AF=E6=99=AF=E5=8D=9A?= Date: Tue, 20 Aug 2024 10:48:53 +0800 Subject: [PATCH 1/2] Replaced declaration of help subpackage with the 'package_help' macro. --- acpid.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/acpid.spec b/acpid.spec index 144e51a..88b79c1 100644 --- a/acpid.spec +++ b/acpid.spec @@ -1,6 +1,6 @@ Name: acpid Version: 2.0.34 -Release: 3 +Release: 4 Summary: Advanced Configuration and Power Interface event daemon License: GPLv2+ URL: http://sourceforge.net/projects/acpid2/ @@ -20,8 +20,7 @@ Requires: systemd %description acpid is designed to notify user-space programs of ACPI events. -%package help -Summary: Development documents for ACPI library +%package_help Requires: %{name} = %{version}-%{release} %description help @@ -76,6 +75,9 @@ install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/acpid %systemd_postun_with_restart %{name}.socket %{name}.service %changelog +* Tue Aug 20 2024 Jingbo Hou - 2.0.34-4 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Tue Jan 20 2024 Yuanfeng Chen - 2.0.34-3 - init support for arch ppc64le -- Gitee From 91a6fdfcacc6e9f3d7f396e0ba264622969f46ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=AF=E6=99=AF=E5=8D=9A?= Date: Tue, 20 Aug 2024 15:45:03 +0800 Subject: [PATCH 2/2] Added 'Buildarch: noarch' to the help subpackage. --- acpid.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/acpid.spec b/acpid.spec index 88b79c1..1f03836 100644 --- a/acpid.spec +++ b/acpid.spec @@ -20,7 +20,9 @@ Requires: systemd %description acpid is designed to notify user-space programs of ACPI events. -%package_help +%package help +Summary: Development documents for ACPI library +Buildarch: noarch Requires: %{name} = %{version}-%{release} %description help @@ -76,9 +78,9 @@ install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/acpid %changelog * Tue Aug 20 2024 Jingbo Hou - 2.0.34-4 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Added 'Buildarch: noarch' to the help subpackage. -* Tue Jan 20 2024 Yuanfeng Chen - 2.0.34-3 +* Sat Jan 20 2024 Yuanfeng Chen - 2.0.34-3 - init support for arch ppc64le * Thu Feb 16 2023 Wenlong Zhang - 2.0.34-2 -- Gitee