diff --git a/valgrind.spec b/valgrind.spec index d696689300eb69ba3a2471235aba1f08888d372c..3d2d8aea09b8f678a85b243ff1c78284b63fea07 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -1,9 +1,10 @@ +%define anolis_release .0.1 %{?scl:%scl_package valgrind} Summary: Tool for finding memory management bugs in programs Name: %{?scl_prefix}valgrind Version: 3.18.1 -Release: 7%{?dist} +Release: 7%{anolis_release}%{?dist} Epoch: 1 License: GPLv2+ URL: http://www.valgrind.org/ @@ -218,6 +219,19 @@ ExclusiveArch: %{ix86} x86_64 ppc ppc64 ppc64le s390x armv7hl aarch64 %define only_arch --enable-only64bit %endif +Requires: glibc + +Provides: /usr/bin/callgrind_annotate +Provides: /usr/bin/callgrind_control +Provides: /usr/bin/cg_annotate +Provides: /usr/bin/cg_diff +Provides: /usr/bin/cg_merge +Provides: /usr/bin/ms_print +Provides: /usr/bin/valgrind +Provides: /usr/bin/valgrind-di-server +Provides: /usr/bin/valgrind-listener +Provides: /usr/bin/vgdb + %description Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many @@ -260,6 +274,14 @@ See the section on Debugging MPI Parallel Programs with Valgrind in the Valgrind User Manual for details. %endif +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q -n %{?scl:%{pkg_name}}%{!?scl:%{name}}-%{version} @@ -458,8 +480,6 @@ echo ===============END TESTING=============== %files %license COPYING COPYING.DOCS -%doc NEWS README_* -%doc docs/installed/html docs/installed/*.pdf %{_bindir}/* %dir %{_libexecdir}/valgrind # Install everything in the libdir except the .so. @@ -510,7 +530,14 @@ if [ -x %{_bindir}/valgrind ]; then fi %endif +%files doc +%doc NEWS README_* +%doc docs/installed/html docs/installed/*.pdf + %changelog +* Sat Jul 16 2022 Hangbo Fan - 3.18.1-7.0.1 +- Add doc sub package + * Thu Feb 10 2022 Mark Wielaard - 3.18.1-7 - Add valgrind-3.18.1-arm64-atomics-rdm.patch