diff --git a/strace.spec b/strace.spec index c93e46b3095a7a85a34ecb46d842f285320f9c57..97b19261e97c401168e7949894a91ed1cd5d291f 100644 --- a/strace.spec +++ b/strace.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Summary: Tracks and displays system calls associated with a running process Name: strace Version: 5.13 -Release: 4%{?dist} +Release: 4%{anolis_release}%{?dist} # The test suite is GPLv2+, all the rest is LGPLv2.1+. License: LGPL-2.1+ and GPL-2.0+ Group: Development/Debuggers @@ -308,6 +309,14 @@ purposes. Install strace if you need a tool to track the system calls made and received by a process. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q @@ -491,7 +500,6 @@ echo 'END OF TEST SUITE INFORMATION' %files %defattr(-,root,root) -%doc CREDITS ChangeLog.gz ChangeLog-CVS.gz COPYING LGPL-2.1-or-later NEWS README %{_bindir}/strace %ifarch %{strace32_arches} %{_bindir}/strace32 @@ -499,7 +507,13 @@ echo 'END OF TEST SUITE INFORMATION' %{_bindir}/strace-log-merge %{_mandir}/man1/* +%files doc +%doc CREDITS ChangeLog.gz ChangeLog-CVS.gz COPYING LGPL-2.1-or-later NEWS README + %changelog +* Mon Jul 18 2022 Hangbo Fan - 5.13-4.0.1 +- Add doc sub package + * Mon Feb 07 2022 Eugene Syromiatnikov - 5.13-4 - Update tests-m32 and tests-mx32 with --secontext=mismatch option support changes (#2046259).