[perl] Do not hard-code tapsetdir path

Petr Pisar ppisar at fedoraproject.org
Wed Jan 26 18:06:22 UTC 2011


commit 2ba49d60386effe9bff99606500ce28904ae0102
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Jan 26 18:26:37 2011 +0100

    Do not hard-code tapsetdir path

 perl.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index 8d149cc..9a8609d 100644
--- a/perl.spec
+++ b/perl.spec
@@ -5,7 +5,7 @@
 
 %global multilib_64_archs x86_64 s390x ppc64 sparc64
 %global parallel_tests 1
-%global tapsetdir   /usr/share/systemtap/tapset
+%global tapsetdir   %{_datadir}/systemtap/tapset
 
 # internal filter just for this spec
 # XXX: perl_default_filter as %%global does not work. Why?
@@ -1894,6 +1894,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Wed Jan 26 2011 Petr Pisar <ppisar at redhat.com> - 4:5.12.3-150
 - Do not %global perl_default_filter
+- Do not hard-code tapsetdir path
 
 * Tue Jan 25 2011 Lukas Berk <lberk at redhat.com> - 4:5.12.3-149
 - added systemtap tapset to make use of systemtap-sdt-devel


More information about the scm-commits mailing list