forked from pool/elfutils
Accepting request 755179 from home:marxin:branches:Base:System
- Use %fillupdir macros for proper sysconfig export. OBS-URL: https://build.opensuse.org/request/show/755179 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=142
This commit is contained in:
parent
ccf69e6969
commit
df1ae76731
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 9 09:33:40 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Use %fillupdir macros for proper sysconfig export.
|
||||
|
||||
Fri Nov 29 16:01:36 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Update to version 0.178:
|
||||
|
@ -134,6 +134,8 @@ to create applications to use the debuginfod service.
|
||||
Summary: HTTP ELF/DWARF file server addressed by build-id
|
||||
Group: Development/Tools/Building
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
Requires: sysconfig
|
||||
Requires(post): %fillup_prereq
|
||||
%{?systemd_requires}
|
||||
|
||||
%description -n debuginfod
|
||||
@ -182,7 +184,9 @@ ls -lR %{buildroot}/%{_libdir}/libelf*
|
||||
%find_lang %{name}
|
||||
|
||||
install -Dm0644 config/debuginfod.service ${RPM_BUILD_ROOT}%{_unitdir}/debuginfod.service
|
||||
install -Dm0644 config/debuginfod.sysconfig ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/debuginfod
|
||||
install -d -m 755 %{buildroot}%{_fillupdir}
|
||||
cp config/debuginfod.sysconfig %{buildroot}%{_fillupdir}/sysconfig.debuginfod
|
||||
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/cache/debuginfod
|
||||
touch ${RPM_BUILD_ROOT}%{_localstatedir}/cache/debuginfod/debuginfod.sqlite
|
||||
|
||||
@ -280,10 +284,9 @@ export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native
|
||||
|
||||
%files -n debuginfod
|
||||
%{_bindir}/debuginfod
|
||||
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sysconfig/debuginfod
|
||||
%{_unitdir}/debuginfod.service
|
||||
%{_mandir}/man8/debuginfod.8*
|
||||
%{_sysconfdir}/sysconfig/debuginfod
|
||||
%{_fillupdir}/sysconfig.debuginfod
|
||||
|
||||
%dir %attr(0700,debuginfod,debuginfod) %{_localstatedir}/cache/debuginfod
|
||||
%verify(not md5 size mtime) %attr(0600,debuginfod,debuginfod) %{_localstatedir}/cache/debuginfod/debuginfod.sqlite
|
||||
@ -295,6 +298,7 @@ getent passwd debuginfod >/dev/null || %{_sbindir}/useradd -r -g debuginfod -d /
|
||||
|
||||
%post -n debuginfod
|
||||
%service_add_post debuginfod.service
|
||||
%{fillup_only -n debuginfod}
|
||||
|
||||
%preun -n debuginfod
|
||||
%service_del_preun debuginfod.service
|
||||
|
Loading…
Reference in New Issue
Block a user