diff --git a/rpm/SPECS/dwarves.spec b/rpm/SPECS/dwarves.spec index ee6e946..be2c29f 100644 --- a/rpm/SPECS/dwarves.spec +++ b/rpm/SPECS/dwarves.spec @@ -5,14 +5,13 @@ Name: dwarves Version: 1.13 Release: 1%{?dist} License: GPLv2 -Summary: Debugging Information Manipulation Tools -Group: Development/Tools +Summary: Debugging Information Manipulation Tools (pahole & friends) URL: http://acmel.wordpress.com -Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.bz2 +Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.xz +BuildRequires: gcc BuildRequires: cmake BuildRequires: zlib-devel BuildRequires: elfutils-devel >= 0.130 -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %description dwarves is a set of tools that use the debugging information inserted in @@ -37,14 +36,12 @@ functions, inlines, decisions made by the compiler about inlining, etc. %package -n %{libname}%{libver} Summary: Debugging information processing library -Group: Development/Libraries %description -n %{libname}%{libver} Debugging information processing library. %package -n %{libname}%{libver}-devel Summary: Debugging information library development files -Group: Development/Libraries Requires: %{libname}%{libver} = %{version}-%{release} %description -n %{libname}%{libver}-devel @@ -61,19 +58,12 @@ make VERBOSE=1 %{?_smp_mflags} rm -Rf %{buildroot} make install DESTDIR=%{buildroot} -%post -n %{libname}%{libver} -p /sbin/ldconfig - -%postun -n %{libname}%{libver} -p /sbin/ldconfig - -%clean -rm -rf %{buildroot} +%ldconfig_scriptlets -n %{libname}%{libver} %files -%defattr(0644,root,root,0755) %doc README.ctracer %doc README.btf %doc NEWS -%defattr(0755,root,root,0755) %{_bindir}/btfdiff %{_bindir}/codiff %{_bindir}/ctracer @@ -99,13 +89,11 @@ rm -rf %{buildroot} %attr(0755,root,root) %{_datadir}/dwarves/runtime/python/ostra.py* %files -n %{libname}%{libver} -%defattr(0644,root,root,0755) %{_libdir}/%{libname}.so.* %{_libdir}/%{libname}_emit.so.* %{_libdir}/%{libname}_reorganize.so.* %files -n %{libname}%{libver}-devel -%defattr(0644,root,root,0755) %doc MANIFEST README %{_includedir}/dwarves/btf_encoder.h %{_includedir}/dwarves/config.h @@ -129,6 +117,16 @@ rm -rf %{buildroot} %{_libdir}/%{libname}_reorganize.so %changelog +* Tue Apr 23 2019 Arnaldo Carvalho de Melo - 1.13-1 +- New release: 1.13 +- Infer __packed__ attributes, i.e. __attribute__((__packed__)) +- Support DW_AT_alignment, i.e. __attribute__((__aligned__(N))) +- Decode BTF type format and pretty print it +- BTF encoding fixes +- Use libbpf's BTF deduplication +- Support unions as arguments to -C/--class +- New 'pfunct --compile' generates compilable output with type definitions + * Thu Aug 16 2018 Arnaldo Carvalho de Melo - 1.12-1 - New release: - union member cacheline boundaries for all inner structs