|
@@ -1,7 +1,7 @@
|
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
-%define eu_version 0.161
|
|
|
-%define eu_release 3
|
|
|
+%define eu_version 0.170
|
|
|
+%define eu_release 1
|
|
|
|
|
|
%global nocheck true
|
|
|
|
|
@@ -13,22 +13,9 @@ Release: %{eu_release}%{?_dist_release}
|
|
|
|
|
|
License: GPLv3+ and (GPLv2+ or LGPLv3+)
|
|
|
Group: Development/Tools
|
|
|
-URL: https://fedorahosted.org/elfutils/
|
|
|
+URL: https://sourceware.org/elfutils/
|
|
|
|
|
|
-Source: http://fedorahosted.org/releases/e/l/elfutils/%{name}-%{version}.tar.bz2
|
|
|
-
|
|
|
-#Patch1: elfutils-robustify.patch
|
|
|
-#Patch2: elfutils-portability.patch
|
|
|
-Patch1: elfutils-portability-%{version}.patch
|
|
|
-
|
|
|
-Patch2: elfutils-0.161-ar-long-name.patch
|
|
|
-# libdw: fix offset for sig8 lookup in dwarf_formref_die
|
|
|
-Patch3: elfutils-0.161-formref-type.patch
|
|
|
-# rhbz#1189928 - Consider sh_addralign 0 as 1
|
|
|
-Patch4: elfutils-0.161-addralign.patch
|
|
|
-
|
|
|
-##VINE##
|
|
|
-Patch10: elfutils-0.131-readelf_c.patch
|
|
|
+Source: https://sourceware.org/elfutils/ftp/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
Requires: elfutils-libelf-%{_arch} = %{version}-%{release}
|
|
|
Requires: elfutils-libs-%{_arch} = %{version}-%{release}
|
|
@@ -180,14 +167,6 @@ elfutils package use it also to generate new ELF files.
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-#patch1 -p1 -b .robustify
|
|
|
-%patch1 -p1 -b .portability
|
|
|
-
|
|
|
-%patch2 -p1 -b .ar_long_name
|
|
|
-%patch3 -p1 -b .formref_type
|
|
|
-%patch4 -p1 -b .addralign
|
|
|
-
|
|
|
-%patch10 -p0 -b .readelf_c
|
|
|
|
|
|
find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
|
|
|
|
|
@@ -196,7 +175,10 @@ find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
|
|
|
# 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.
|
|
|
-RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Wall/}
|
|
|
+# But add -Wformat explicitly for use with -Werror=format-security which
|
|
|
+# doesn't work without -Wformat (enabled by -Wall).
|
|
|
+RPM_OPT_FLAGS="${RPM_OPT_FLAGS/-Wall/}"
|
|
|
+RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -Wformat"
|
|
|
|
|
|
%configure CFLAGS="$RPM_OPT_FLAGS -fexceptions"
|
|
|
make -s %{?_smp_mflags}
|
|
@@ -258,7 +240,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
#%{_bindir}/eu-ld
|
|
|
%{_bindir}/eu-unstrip
|
|
|
%{_bindir}/eu-make-debug-archive
|
|
|
-
|
|
|
+%{_bindir}/eu-elfcompress
|
|
|
|
|
|
%files libs
|
|
|
%defattr(-,root,root)
|
|
@@ -275,6 +257,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
%{_includedir}/dwarf.h
|
|
|
%dir %{_includedir}/elfutils
|
|
|
%{_includedir}/elfutils/elf-knowledge.h
|
|
|
+%{_includedir}/elfutils/known-dwarf.h
|
|
|
%{_includedir}/elfutils/libasm.h
|
|
|
%{_includedir}/elfutils/libebl.h
|
|
|
%{_includedir}/elfutils/libdw.h
|
|
@@ -284,6 +267,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
%{_libdir}/libebl.a
|
|
|
%{_libdir}/libasm.so
|
|
|
%{_libdir}/libdw.so
|
|
|
+%{_libdir}/pkgconfig/libdw.pc
|
|
|
|
|
|
|
|
|
%files devel-static
|
|
@@ -304,6 +288,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
%{_includedir}/gelf.h
|
|
|
%{_includedir}/nlist.h
|
|
|
%{_libdir}/libelf.so
|
|
|
+%{_libdir}/pkgconfig/libelf.pc
|
|
|
|
|
|
|
|
|
%files libelf-devel-static
|
|
@@ -319,6 +304,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Sep 10 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.170-1
|
|
|
+- updated to 0.170.
|
|
|
+- dropped all patches.
|
|
|
+
|
|
|
* Wed Jun 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.161-3
|
|
|
- rebuild with gcc-5.4.0
|
|
|
|