Dr. Werner Fink 2018-07-20 09:36:03 +00:00 committed by Git OBS Bridge
parent 4c3bb02022
commit c009034ba4
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