diff options
author | Josh Boyer <jwboyer@redhat.com> | 2011-11-08 14:44:50 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@redhat.com> | 2011-11-08 14:44:50 -0500 |
commit | 27d8a0e9b52f89e4a0033ce8a98aac24e9f1d59b (patch) | |
tree | 1052dd8c39576b0c466e19f9b75723a9572bfa34 | |
parent | 778a29ad099ef3eff77cc4ce7ac4bd332793a0be (diff) | |
download | kernel-27d8a0e9b52f89e4a0033ce8a98aac24e9f1d59b.tar.gz kernel-27d8a0e9b52f89e4a0033ce8a98aac24e9f1d59b.tar.xz kernel-27d8a0e9b52f89e4a0033ce8a98aac24e9f1d59b.zip |
Add python-perf-debuginfo package (rhbz 752140)
-rw-r--r-- | kernel.spec | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/kernel.spec b/kernel.spec index 043252564..4366722a8 100644 --- a/kernel.spec +++ b/kernel.spec @@ -54,7 +54,7 @@ Summary: The Linux kernel # For non-released -rc kernels, this will be appended after the rcX and # gitX tags, so a 3 here would become part of release "0.rcX.gitX.3" # -%global baserelease 1 +%global baserelease 2 %global fedora_build %{baserelease} # base_sublevel is the kernel version we're starting with and patching @@ -787,6 +787,18 @@ to manipulate perf events. %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%package -n python-perf-debuginfo +Summary: Debug information for package perf python bindings +Group: Development/Debug +Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release} +AutoReqProv: no +%description -n python-perf-debuginfo +This package provides debug information for the perf python bindings. + +# the python_sitearch macro should already be defined from above +%{expand:%%global debuginfo_args %{?debuginfo_args} -p '.*%%{python_sitearch}/perf.so(\.debug)?|XXX' -o python-perf-debuginfo.list} + + %endif # with_perf %if %{with_tools} @@ -1940,6 +1952,9 @@ fi %if %{with_debuginfo} %files -f perf-debuginfo.list -n perf-debuginfo %defattr(-,root,root) + +%files -f python-perf-debuginfo.list -n python-perf-debuginfo +%defattr(-,root,root) %endif %endif # with_perf @@ -2031,6 +2046,9 @@ fi # ||----w | # || || %changelog +* Tue Nov 08 2011 Josh Boyer <jwboyer@redhat.com> +- Add python-perf-debuginfo package (rhbz 752140) + * Tue Nov 08 2011 Neil Horman <nhorman@redhat.com> - Add msi irq ennumeration per dev in sysfs (bz 744012) |