Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
name = elfutils
version = 0.189
name = elfutils
version = 0.189
groups = Development/Libraries
url = https://sourceware.org/elfutils/
groups = Development/Libraries
url = https://sourceware.org/elfutils/
sources = %{thisapp}.tar.bz2
build
sources = %{thisapp}.tar.bz2
build
+ DEBUGINFOD_URLS = "https://pakfire.ipfire.org/"
+
requires
bzip2-devel
curl-devel
requires
bzip2-devel
curl-devel
+
+ install_cmds
+ # Export DEBUGINFOD_URLS
+ echo "%{DEBUGINFOD_URLS}" > %{BUILDROOT}%{sysconfdir}/debuginfod/%{DISTRO_SNAME}.urls
+ end
package %{name}-libs
template LIBS
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
end
package %{name}-debuginfo