From b9699022b2cbd590fc3db8510bb21ba5fd7ac10f Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Sun, 9 Oct 2022 11:31:44 +0800 Subject: [PATCH] add doc package --- m4.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/m4.spec b/m4.spec index 6385f9b..31983be 100644 --- a/m4.spec +++ b/m4.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: m4 Version: 1.4.19 @@ -19,6 +19,14 @@ GNU M4 is an implementation of the traditional Unix macro processor. It is mostly SVR4 compatible with some extensions. GNU M4 has built-in functions for including files, running shell commands, doing arithmetic, etc. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %setup -q @@ -36,11 +44,16 @@ make %{?_smp_mflags} check %files -f %{name}.lang %license COPYING -%doc AUTHORS ChangeLog NEWS README THANKS TODO %{_bindir}/m4 %{_infodir}/* %{_mandir}/man1/m4.1* +%files doc +%doc AUTHORS ChangeLog NEWS README THANKS TODO + %changelog +* Sun Oct 09 2022 mgb01105731 - 1.4.19-2 +- add doc package + * Tue Apr 12 2022 Su Lifan - 1.4.19-1 - Initial packaging for Anolis OS 23 -- Gitee