From 81a3fcd5cea4e1faccec92678a344303ca7e74d2 Mon Sep 17 00:00:00 2001 From: lyn1001 Date: Sun, 20 Sep 2020 17:31:45 +0800 Subject: [PATCH] delete %preun --- djvulibre.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/djvulibre.spec b/djvulibre.spec index b17665b..012c895 100644 --- a/djvulibre.spec +++ b/djvulibre.spec @@ -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 - 3.5.27-13 +- delete %preun + * Fri Dec 20 2019 likexin - 3.5.27-12 - package init