SHA256
1
0
forked from pool/emacs

Accepting request 624234 from editors

- Avoid error message on info.info(.info) as this file should not be
  installed due it is part of the system package info (boo#1101652)

OBS-URL: https://build.opensuse.org/request/show/624234
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs?expand=0&rev=140
This commit is contained in:
Dominique Leuenberger 2018-07-23 15:57:12 +00:00 committed by Git OBS Bridge
commit 4c304f9e19
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 20 09:33:08 UTC 2018 - werner@suse.de
- Avoid error message on info.info(.info) as this file should not be
installed due it is part of the system package info (boo#1101652)
-------------------------------------------------------------------
Sun Jul 8 20:14:24 UTC 2018 - schwab@linux-m68k.org

View File

@ -646,12 +646,14 @@ fi
%post info
for f in %info_files; do
test "$f" = "info.info" && continue
test -e "$f" || f="${f}.info"
%install_info --info-dir=%{_infodir} "%{_infodir}/$f.gz"
done
%preun info
for f in %info_files; do
test "$f" = "info.info" && continue
test -e "$f" || f="${f}.info"
%install_info_delete --info-dir=%{_infodir} "%{_infodir}/$f.gz"
done