diff --git a/m4.spec b/m4.spec index 6385f9bdce5de0b900224bee79aa54f10998e3aa..31983be576878a1722d396a6d0155bdb90632927 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