SHA256
3
0
forked from pool/aaa_base

- Add /var/adm/backup subdirectories to aaa_base-extras, they are

only needed by this package.

OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=621
This commit is contained in:
Thorsten Kukuk 2018-02-05 12:32:06 +00:00 committed by Git OBS Bridge
parent 28c62b64e9
commit ecaec4b4d7
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 5 13:31:50 CET 2018 - kukuk@suse.de
- Add /var/adm/backup subdirectories to aaa_base-extras, they are
only needed by this package.
-------------------------------------------------------------------
Sun Feb 04 21:39:14 UTC 2018 - kukuk@suse.de

View File

@ -102,8 +102,6 @@ systems.
%setup -q
%build
rm -rfv files/run
rm -fv files/var/log/btmp files/var/log/wtmp
make CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" %{?_smp_mflags}
if test -d patches/$RPM_ARCH; then
pushd files
@ -136,6 +134,9 @@ install -d -m 755 %buildroot/usr/lib/initscripts/legacy-actions
# keep as ghost for migration
touch %buildroot/etc/inittab
# Backup directories
install -d -m 755 %{buildroot}/var/adm/backup/{rpmdb,sysconfig}
mkdir -p %{buildroot}%{_fillupdir}
%if "%{_fillupdir}" != "/var/adm/fillup-templates"
for f in %{buildroot}/var/adm/fillup-templates/* ; do
@ -250,6 +251,8 @@ mkdir -p %{buildroot}%{_fillupdir}
/usr/lib/base-scripts
/usr/lib/systemd/system/*
/usr/share/man/man8/resolv+.8*
/var/adm/backup/rpmdb
/var/adm/backup/sysconfig
%{_fillupdir}/sysconfig.backup
%files malloccheck