SHA256
1
0
forked from pool/aaa_base

Accepting request 849565 from home:lnussel:usrmove

- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/849565
OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=714
This commit is contained in:
Dr. Werner Fink 2020-11-20 09:41:23 +00:00 committed by Git OBS Bridge
parent b71c195125
commit 496784457d
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Oct 29 09:39:56 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- prepare usrmerge (boo#1029961)
-------------------------------------------------------------------
Fri Sep 18 11:30:53 UTC 2020 - dleuenberger@suse.com

View File

@ -113,6 +113,9 @@ fi
%install
#
make DESTDIR=$RPM_BUILD_ROOT install
%if 0%{?usrmerged}
rm -f %{buildroot}/sbin/*
%endif
#
mkdir -p %{buildroot}/etc/sysctl.d
case "$RPM_ARCH" in
@ -206,11 +209,8 @@ mkdir -p %{buildroot}%{_fillupdir}
%ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog
/etc/hushlogins
/usr/bin/get_kernel_version
/sbin/refresh_initrd
/usr/sbin/refresh_initrd
/sbin/service
/usr/sbin/service
/sbin/smart_agetty
/usr/sbin/smart_agetty
/usr/bin/filesize
/usr/bin/old
@ -230,6 +230,11 @@ mkdir -p %{buildroot}%{_fillupdir}
%{_fillupdir}/sysconfig.language
%{_fillupdir}/sysconfig.proxy
%{_fillupdir}/sysconfig.windowmanager
%if !0%{?usrmerged}
/sbin/service
/sbin/refresh_initrd
/sbin/smart_agetty
%endif
%files extras
%defattr(-,root,root)