%define keepstatic 1
Name: elfutils
-Version: 0.188
+Version: 0.189
Release: 0
License: GPL-3.0+
Summary: Higher-level library to access ELF
BuildRequires: xz-devel
BuildRequires: zlib-devel
BuildRequires: libdw
+BuildRequires: gettext-tools
%description
This package provides a higher-level library to access ELF files. This
#find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
CFLAGS+=" -fPIE"
LDFLAGS+=" -pie"
-%reconfigure CFLAGS="$CFLAGS -Wno-missing-attributes -Wno-implicit-fallthrough -Wno-format-truncation -Wno-absolute-value -Wno-nonnull-compare -Wno-misleading-indentation" --program-prefix=eu- --enable-maintainer-mode --disable-debuginfod
+%reconfigure \
+ --program-prefix=eu- \
+ --enable-maintainer-mode \
+ --disable-debuginfod \
+ --disable-libdebuginfod
make %{?_smp_mflags}
%install
rm -rf %{buildroot}/usr/share/man
ls -lR %{buildroot}%{_libdir}/libelf*
+%find_lang %{name}
+
%post -n libelf -p /sbin/ldconfig
%post -n libdw -p /sbin/ldconfig
%defattr(-,root,root)
%{_bindir}/*
+%lang_package
+
%files -n libasm
%manifest %{name}.manifest
%defattr(-,root,root)