diff --git a/sed.spec b/sed.spec index de504426f7ff902f2afe677e849ef5a8261d0014..404be55bca3e64a57899320b8a983884794aa41e 100644 --- a/sed.spec +++ b/sed.spec @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -%define anolis_release 1 +%define anolis_release 2 Summary: A GNU stream text editor Name: sed @@ -26,6 +26,14 @@ operations on the text and outputs the modified text. The operations that sed performs (substitutions, deletions, insertions, etc.) can be specified in a script file or from the command line. +%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 @@ -54,11 +62,16 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir %files -f %{name}.lang %{!?_licensedir:%global license %%doc} %license COPYING -%doc BUGS NEWS THANKS README AUTHORS sedfaq.txt.gz %{_bindir}/sed %{_infodir}/sed.info* %{_mandir}/man1/sed.1* +%files doc +%doc BUGS NEWS THANKS README AUTHORS sedfaq.txt.gz + %changelog +* Sun Oct 09 2022 mgb01105731 - 4.8-2 +- add doc package + * Thu Mar 10 2022 zhang xianting - 4.8-1 - Initial build for Anolis v23