Dr. Werner Fink 2020-01-30 13:55:41 +00:00 committed by Git OBS Bridge
parent bf0ba6bd94
commit 32c0a22430
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 30 13:54:17 UTC 2020 - Dr. Werner Fink <werner@suse.de>
- Be aware that it might be that the version is not found (boo#1162245)
-------------------------------------------------------------------
Tue Jan 28 13:42:02 UTC 2020 - Dr. Werner Fink <werner@suse.de>

View File

@ -285,7 +285,7 @@ install -D -m 644 doc/manual.txt.gz %{buildroot}%{_docdir}/%name/
%pre
if test $1 -gt 1 -a -e %{_docdir}/%name/manual.txt.gz
then
zcat %{_docdir}/%name/manual.txt.gz | grep -F 'version %{version}' > /run/mutt-version
zcat %{_docdir}/%name/manual.txt.gz | grep -F 'version %{version}' > /run/mutt-version || :
fi
%post