diff --git a/patch.spec b/patch.spec index e9e12b62916d2324cd41aec25d65399598bb9a8d..e99fce9988e6d81dad2d6823a59ec3b5d28fa587 100644 --- a/patch.spec +++ b/patch.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global gnulib_ver 20180203 Summary: Utility for modifying/upgrading files @@ -60,6 +60,14 @@ original file (patching the file). Patch should be installed because it is a common way of upgrading applications. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{epoch}:%{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %setup -q %patch0 -p1 -b .avoid-set_file_attributes-sign-conversion-warnings @@ -103,12 +111,22 @@ make check %install %makeinstall +%generate_compatibility_deps + %files %license COPYING -%doc NEWS README +%dir %{abidir} %{_bindir}/* +%{abidir}/patch-option.list %{_mandir}/*/* +%files doc +%doc NEWS README + %changelog +* Mon Feb 06 2023 Feng Su - 2.7.6-2 +- add doc sub package +- add abi/api files + * Mon May 16 2022 mgb01105731 - 2.7.6-1 - Init from upstream version 2.7.6