- add dhat-use-datadir.patch:

* move the dhat* scripts to datadir

OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=219
This commit is contained in:
Dirk Mueller 2020-05-11 12:14:44 +00:00 committed by Git OBS Bridge
parent bf5164c2b6
commit 61511806cd
3 changed files with 23 additions and 2 deletions

13
dhat-use-datadir.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/dhat/Makefile.am b/dhat/Makefile.am
index 2aa4ac99e..4a571cb77 100644
--- a/dhat/Makefile.am
+++ b/dhat/Makefile.am
@@ -9,7 +9,7 @@ EXTRA_DIST = docs/dh-manual.xml dh_view.html dh_view.css dh_view.js
#----------------------------------------------------------------------------
# Ensure the viewer components get copied into the install tree.
-dhatdir = $(pkglibexecdir)
+dhatdir = $(pkgdatadir)
dhat_DATA = dh_view.html dh_view.css dh_view.js
#----------------------------------------------------------------------------

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 11 12:14:25 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- add dhat-use-datadir.patch:
* move the dhat* scripts to datadir
-------------------------------------------------------------------
Wed Mar 25 12:15:59 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -49,6 +49,7 @@ Patch6: 0001-s390x-Add-models-z14-and-z14-ZR1.patch
Patch7: 0001-s390x-Clean-up-s390-check-opcodes.pl.patch
Patch8: 0001-s390x-Add-CPU-model-for-z15.patch
Patch9: parallel-lto.patch
Patch10: dhat-use-datadir.patch
%if "%{flavor}" == ""
%if %{with docs}
BuildRequires: docbook-xsl-stylesheets
@ -166,6 +167,7 @@ but it has been successfully used to optimize several KDE applications.
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%build
%if "%{flavor}" == ""
@ -286,8 +288,8 @@ VALGRIND_LIB=$PWD/.in_place VALGRIND_LIB_INNER=$PWD/.in_place ./coregrind/valgri
%ifarch %arm
%{_libdir}/valgrind/*-arm-linux
%endif
%dir /usr/lib/valgrind
/usr/lib/valgrind/dh_view*
%dir %{_datadir}/valgrind
%{_datadir}/valgrind/dh_view*
%{_libdir}/valgrind/*-linux.so
%{_libdir}/valgrind/*.supp
%{_libdir}/valgrind/64bit-core.xml