Url: https://fedorahosted.org/elfutils/
Group: Development/Tools
Source: http://fedorahosted.org/releases/e/l/elfutils/%{name}-%{version}.tar.bz2
+Source1001: packaging/elfutils.manifest
Patch1: elfutils-robustify.patch
Patch2: elfutils-portability.patch
Requires: elfutils-libelf-%{_arch} = %{version}
find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
%build
+cp %{SOURCE1001} .
# Remove -Wall from default flags. The makefiles enable enough warnings
# themselves, and they use -Werror. Appending -Wall defeats the cases where
# the makefiles disable some specific warnings for specific code.
%postun libelf -p /sbin/ldconfig
%files
+%manifest elfutils.manifest
%defattr(-,root,root)
%doc README COPYING
%{_bindir}/eu-addr2line
%{_bindir}/eu-make-debug-archive
%files libs
+%manifest elfutils.manifest
%defattr(-,root,root)
%{_libdir}/libasm-%{version}.so
%{_libdir}/libasm.so.*
%{_libdir}/elfutils/lib*.so
%files devel
+%manifest elfutils.manifest
%defattr(-,root,root)
%{_includedir}/dwarf.h
%dir %{_includedir}/elfutils
%{_libdir}/libdw.so
%files devel-static
+%manifest elfutils.manifest
%defattr(-,root,root)
%{_libdir}/libasm.a
%{_libdir}/libdw.a
%files libelf
+%manifest elfutils.manifest
%defattr(-,root,root)
%{_libdir}/libelf-%{version}.so
%{_libdir}/libelf.so.*
%files libelf-devel
+%manifest elfutils.manifest
%defattr(-,root,root)
%{_includedir}/libelf.h
%{_includedir}/gelf.h
%{_libdir}/libelf.so
%files libelf-devel-static
+%manifest elfutils.manifest
%defattr(-,root,root)
%{_libdir}/libelf.a