Update to 0.189 06/290106/1 accepted/tizen_8.0_base accepted/tizen_base accepted/tizen_base_tool tizen_8.0_base tizen_base accepted/tizen/8.0/base/20231005.044655 accepted/tizen/base/20230714.003307 accepted/tizen/base/tool/20230331.043803 submit/tizen_base/20230330.023400 tizen_8.0_m2_release
authorSlava Barinov <rayslava@gmail.com>
Mon, 6 Mar 2023 10:55:36 +0000 (13:55 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Mon, 20 Mar 2023 07:47:24 +0000 (16:47 +0900)
Change-Id: I3ddaf2d3c995d49efda2e7de0b3f7f1c6d08b616

packaging/elfutils.spec

index 41a5505..34e4315 100755 (executable)
@@ -1,6 +1,6 @@
 %define keepstatic 1
 Name:           elfutils
-Version:        0.188
+Version:        0.189
 Release:        0
 License:        GPL-3.0+
 Summary:        Higher-level library to access ELF
@@ -17,6 +17,7 @@ BuildRequires:  flex
 BuildRequires:  xz-devel
 BuildRequires:  zlib-devel
 BuildRequires:  libdw
+BuildRequires:  gettext-tools
 
 %description
 This package provides a higher-level library to access ELF files. This
@@ -97,7 +98,11 @@ cp %{SOURCE1001} .
 #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
@@ -107,6 +112,8 @@ rm -f %{buildroot}%{_libdir}/pkgconfig/libdebuginfod.pc
 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
@@ -120,6 +127,8 @@ ls -lR %{buildroot}%{_libdir}/libelf*
 %defattr(-,root,root)
 %{_bindir}/*
 
+%lang_package
+
 %files -n libasm
 %manifest %{name}.manifest
 %defattr(-,root,root)