###############################################################################
name = elfutils
-version = 0.161
-release = 1
+version = 0.189
+release = 2
-maintainer = Michael Tremer <michael.tremer@ipfire.org>
groups = Development/Libraries
-url = https://fedorahosted.org/elfutils/
+url = https://sourceware.org/elfutils/
license = GPLv2 with exceptions
summary = A collection of utilities and DSOs to handle compiled objects.
(to check for well-formed ELF files).
end
-source_dl = https://fedorahosted.org/releases/e/l/elfutils/%{version}/
+source_dl = https://sourceware.org/elfutils/ftp/%{version}/
sources = %{thisapp}.tar.bz2
build
+ DEBUGINFOD_URLS = "https://pakfire.ipfire.org/"
+
requires
- autoconf
- automake
bzip2-devel
+ curl-devel
m4
xz-devel
zlib-devel
+ zstd-devel
end
- CFLAGS += -Wno-error -Wformat
-
configure_options += \
- --program-prefix=eu- \
- --disable-werror
+ --disable-debuginfod
- # fails
- #test
- # make check
- #end
-end
+ test
+ make check
+ end
-quality-agent
- whitelist_rpath
- %{libdir}/elfutils
+ install_cmds
+ # Export DEBUGINFOD_URLS
+ echo "%{DEBUGINFOD_URLS}" > %{BUILDROOT}%{sysconfdir}/debuginfod/%{DISTRO_SNAME}.urls
end
end
package %{name}-libs
template LIBS
- files += %{libdir}/lib*%{version}.so
- files += %{libdir}/elfutils
+ files
+ %{sysconfdir}/debuginfod
+ %{sysconfdir}/profile.d/debuginfod*
+ %{libdir}/lib*%{version}.so
+ end
end
package %{name}-debuginfo