New upstream release: v1.13, spec file

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2019-04-23 11:44:48 -03:00
parent 56f69ef7a5
commit b90bcb1902

View File

@ -2,12 +2,13 @@
%define libver 1 %define libver 1
Name: dwarves Name: dwarves
Version: 1.12 Version: 1.13
Release: 2%{?dist} Release: 1%{?dist}
License: GPLv2 License: GPLv2
Summary: Debugging Information Manipulation Tools (pahole & friends) Summary: Debugging Information Manipulation Tools (pahole & friends)
URL: http://acmel.wordpress.com 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
Patch: dwarves-1.13-spec-fixes.patch
BuildRequires: gcc BuildRequires: gcc
BuildRequires: cmake BuildRequires: cmake
BuildRequires: zlib-devel BuildRequires: zlib-devel
@ -25,8 +26,8 @@ limited to these.
It also extracts other information such as CPU cacheline alignment, helping It also extracts other information such as CPU cacheline alignment, helping
pack those structures to achieve more cache hits. pack those structures to achieve more cache hits.
These tools can also be used to encode the BTF type information format used with These tools can also be used to encode and read the BTF type information format
the Linux kernel bpf syscall, using 'pahole -J'. used with the Linux kernel bpf syscall, using 'pahole -J' and 'pahole -F btf'.
A diff like tool, codiff can be used to compare the effects changes in source A diff like tool, codiff can be used to compare the effects changes in source
code generate on the resulting binaries. code generate on the resulting binaries.
@ -49,6 +50,7 @@ Debugging information processing library development files.
%prep %prep
%setup -q -c -n %{name}-%{version} %setup -q -c -n %{name}-%{version}
%patch -p1
%build %build
%cmake . %cmake .
@ -64,10 +66,11 @@ make install DESTDIR=%{buildroot}
%doc README.ctracer %doc README.ctracer
%doc README.btf %doc README.btf
%doc NEWS %doc NEWS
%defattr(0755,root,root,0755) %{_bindir}/btfdiff
%{_bindir}/codiff %{_bindir}/codiff
%{_bindir}/ctracer %{_bindir}/ctracer
%{_bindir}/dtagnames %{_bindir}/dtagnames
%{_bindir}/fullcircle
%{_bindir}/pahole %{_bindir}/pahole
%{_bindir}/pdwtags %{_bindir}/pdwtags
%{_bindir}/pfunct %{_bindir}/pfunct
@ -94,11 +97,20 @@ make install DESTDIR=%{buildroot}
%files -n %{libname}%{libver}-devel %files -n %{libname}%{libver}-devel
%doc MANIFEST README %doc MANIFEST README
%{_includedir}/dwarves/btf_encoder.h
%{_includedir}/dwarves/config.h
%{_includedir}/dwarves/ctf_encoder.h
%{_includedir}/dwarves/ctf.h
%{_includedir}/dwarves/dutil.h
%{_includedir}/dwarves/dwarves.h %{_includedir}/dwarves/dwarves.h
%{_includedir}/dwarves/dwarves_emit.h %{_includedir}/dwarves/dwarves_emit.h
%{_includedir}/dwarves/dwarves_reorganize.h %{_includedir}/dwarves/dwarves_reorganize.h
%{_includedir}/dwarves/dutil.h %{_includedir}/dwarves/elfcreator.h
%{_includedir}/dwarves/elf_symtab.h
%{_includedir}/dwarves/gobuffer.h %{_includedir}/dwarves/gobuffer.h
%{_includedir}/dwarves/hash.h
%{_includedir}/dwarves/libbtf.h
%{_includedir}/dwarves/libctf.h
%{_includedir}/dwarves/list.h %{_includedir}/dwarves/list.h
%{_includedir}/dwarves/rbtree.h %{_includedir}/dwarves/rbtree.h
%{_includedir}/dwarves/strings.h %{_includedir}/dwarves/strings.h
@ -107,6 +119,16 @@ make install DESTDIR=%{buildroot}
%{_libdir}/%{libname}_reorganize.so %{_libdir}/%{libname}_reorganize.so
%changelog %changelog
* Tue Apr 23 2019 Arnaldo Carvalho de Melo <acme@redhat.com> - 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 Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-2 * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild