Accepting request 507903 from home:oertel:branches:Base:System

- remove lsmem and chmem and their manpages from the package,
  both tools have been added to util-linux-2.30

OBS-URL: https://build.opensuse.org/request/show/507903
OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=13
This commit is contained in:
Marcus Meissner 2017-07-03 20:29:54 +00:00 committed by Git OBS Bridge
parent d36b87680e
commit 0b033348ca
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 3 17:29:19 CEST 2017 - ro@suse.de
- remove lsmem and chmem and their manpages from the package,
both tools have been added to util-linux-2.30
-------------------------------------------------------------------
Wed May 31 21:26:50 UTC 2017 - mpost@suse.com

View File

@ -323,6 +323,12 @@ install -m755 -t sbin/ %{S:88} %{S:89} %{S:90} %{S:91} %{S:92} %{S:93}
install -m644 -t $RPM_BUILD_ROOT/%{_mandir}/man8 %{S:94} %{S:95} %{S:96} %{S:97} %{S:98} %{S:99}
###
### lsmem/chmem have been added to util-linux
rm -fv $RPM_BUILD_ROOT/%{_mandir}/man8/lsmem.8*
rm -fv $RPM_BUILD_ROOT/%{_mandir}/man8/chmem.8*
rm -fv $RPM_BUILD_ROOT/%{_sbindir}/lsmem
rm -fv $RPM_BUILD_ROOT/%{_sbindir}/chmem
find . ! -type d |
%__sed 's/^.//;\-/man/-s/^.*$/%doc &.gz/' > %{_builddir}/%{name}-filelist
grep -v -E 'osasnmp|*\.conf$' %{_builddir}/%{name}-filelist >%{_builddir}/%{name}.list