!3 delete %preun

From: @lyn1001
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2020-09-20 18:20:37 +08:00 committed by Gitee
commit ea0b8b1d31

View File

@ -1,7 +1,7 @@
Name: djvulibre
Summary: An open source (GPL'ed) implementation of DjVu
Version: 3.5.27
Release: 12
Release: 13
License: GPLv2+
URL: http://djvu.sourceforge.net/
Source0: http://downloads.sourceforge.net/djvu/djvulibre-%{version}.tar.gz
@ -67,11 +67,6 @@ rm -f %{_datadir}/applications/djvulibre-djview3.desktop || :
rm -f %{_datadir}/icons/hicolor/32x32/apps/djvulibre-djview3.png || :
/sbin/ldconfig
%preun
if [ $1 -eq 0 ]; then
%{_datadir}/djvu/osi/desktop/register-djvu-mime uninstall || :
fi
%postun
/sbin/ldconfig
@ -93,5 +88,8 @@ fi
%{_mandir}/man1/*
%changelog
* Sun Sep 20 2020 yanan li <liyanan032@huawei.com> - 3.5.27-13
- delete %preun
* Fri Dec 20 2019 likexin <likexin4@huawei.com> - 3.5.27-12
- package init