-Patch2: %{name}-portability.patch
-Patch3: %{name}-bswap.patch
-Patch4: %{name}-robustify.patch
-#URL: file://home/devel/drepper
-BuildRequires: autoconf >= 2.59
-BuildRequires: automake >= 1:1.7
-BuildRequires: gcc >= 3.2
-BuildRequires: gettext-devel
-%ifarch %{x8664} alpha ia64 ppc64 s390x sparc64
-# PR*FAST{8,16} in <inttypes.h> were broken for 64-bit archs in older versions
-# also needed for nanosecond timestamps on alpha
-BuildRequires: glibc-devel >= 6:2.3.4
-%endif
-BuildRequires: libltdl-devel
+Patch2: %{name}-awk.patch
+Patch3: %{name}-align.patch
+Patch4: %{name}-paxflags.patch
+Patch5: %{name}-sparc.patch
+URL: https://sourceware.org/elfutils/
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake >= 1:1.11
+BuildRequires: bzip2-devel
+BuildRequires: gawk
+BuildRequires: gcc >= 6:4.3
+BuildRequires: gettext-tools
+BuildRequires: glibc-devel >= 6:2.7
+BuildRequires: libstdc++-devel