1 Commits

Author SHA256 Message Date
2124f4eb01 Merge pull request 'Factory' (#1) from factory into main 2025-10-08 12:55:40 +02:00
4 changed files with 3 additions and 14 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Wed Jan 14 15:51:25 UTC 2026 - Michael Matz <matz@suse.com>
- Move debuginfod homedir creation to tmpfiles.d
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 2 13:14:04 UTC 2024 - Andreas Schwab <schwab@suse.de> Mon Dec 2 13:14:04 UTC 2024 - Andreas Schwab <schwab@suse.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package elfutils-debuginfod # spec file for package elfutils-debuginfod
# #
# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,6 @@ Source: https://sourceware.org/elfutils/ftp/%{version}/elfutils-%{versio
Source1: https://sourceware.org/elfutils/ftp/%{version}/elfutils-%{version}.tar.bz2.sig Source1: https://sourceware.org/elfutils/ftp/%{version}/elfutils-%{version}.tar.bz2.sig
Source3: elfutils.keyring Source3: elfutils.keyring
Source4: %{name}.sysusers Source4: %{name}.sysusers
Source5: %{name}.tmpfiles
Patch1: harden_debuginfod.service.patch Patch1: harden_debuginfod.service.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
@@ -183,7 +182,6 @@ install -d -m 755 %{buildroot}%{_fillupdir}
cp config/debuginfod.sysconfig %{buildroot}%{_fillupdir}/sysconfig.debuginfod cp config/debuginfod.sysconfig %{buildroot}%{_fillupdir}/sysconfig.debuginfod
install -Dm0644 %{SOURCE4} %{buildroot}%{_sysusersdir}/%{name}.conf install -Dm0644 %{SOURCE4} %{buildroot}%{_sysusersdir}/%{name}.conf
install -Dm0644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}/%{name}.conf
mkdir -p %{buildroot}%{_localstatedir}/cache/debuginfod mkdir -p %{buildroot}%{_localstatedir}/cache/debuginfod
touch %{buildroot}%{_localstatedir}/cache/debuginfod/debuginfod.sqlite touch %{buildroot}%{_localstatedir}/cache/debuginfod/debuginfod.sqlite
@@ -206,10 +204,9 @@ export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native
%{_mandir}/man8/debuginfod.8* %{_mandir}/man8/debuginfod.8*
%{_fillupdir}/sysconfig.debuginfod %{_fillupdir}/sysconfig.debuginfod
%{_sysusersdir}/%{name}.conf %{_sysusersdir}/%{name}.conf
%{_tmpfilesdir}/%{name}.conf
%{_mandir}/man8/debuginfod.service.8.* %{_mandir}/man8/debuginfod.service.8.*
%ghost %{_localstatedir}/cache/debuginfod %dir %attr(0700,debuginfod,debuginfod) %{_localstatedir}/cache/debuginfod
%ghost %attr(0600,debuginfod,debuginfod) %{_localstatedir}/cache/debuginfod/debuginfod.sqlite %ghost %attr(0600,debuginfod,debuginfod) %{_localstatedir}/cache/debuginfod/debuginfod.sqlite
%files -n libdebuginfod1 %files -n libdebuginfod1
@@ -242,7 +239,6 @@ export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native
%post %post
%service_add_post debuginfod.service %service_add_post debuginfod.service
%tmpfiles_create %{name}.conf
%{fillup_only -n debuginfod} %{fillup_only -n debuginfod}
%preun %preun

View File

@@ -1,2 +0,0 @@
# the home dir for debuginfod, unaged, but removed on --remove
D /var/cache/debuginfod 0700 debuginfod debuginfod -

View File

@@ -1,7 +1,7 @@
# #
# spec file for package elfutils # spec file for package elfutils
# #
# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed