diff --git a/djvulibre.spec b/djvulibre.spec index 7e28049..f6f0cc2 100644 --- a/djvulibre.spec +++ b/djvulibre.spec @@ -3,7 +3,7 @@ Summary: DjVu viewers, encoders, and utilities Name: djvulibre Version: 3.5.27 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://djvu.sourceforge.net/ @@ -98,6 +98,10 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/djvudump chrpath --delete $RPM_BUILD_ROOT%{_bindir}/djvmcvt chrpath --delete $RPM_BUILD_ROOT%{_bindir}/bzz +# This XML file does not differentiate between DjVu Image and DjVu Document +# MIME types, the default one in shared-mime-info does. +rm -f $RPM_BUILD_ROOT%{_datadir}/mime/packages/djvulibre-mime.xml + # MIME types (icons and desktop file) - this installs icon files under # /usr/share/icons/hicolor/ and an xml file under /usr/share/mime/image/ # Taken from {_datadir}/djvu/osi/desktop/register-djvu-mime install @@ -149,7 +153,6 @@ fi %{_datadir}/icons/hicolor/96x96/mimetypes/* %{_datadir}/icons/hicolor/128x128/mimetypes/* %{_datadir}/icons/hicolor/scalable/mimetypes/* -%{_datadir}/mime/packages/* %{_datadir}/icons/hicolor/256x256/mimetypes/* @@ -169,6 +172,11 @@ fi %changelog +* Wed Feb 14 2018 Marek Kasik - 3.5.27-8 +- Remove XML file defining DjVu MIME type because it does not differentiate +- between DjVu Image and DjVu Document (the default one in shared-mime-info does) +- Resolves: #1513188 + * Fri Feb 09 2018 Igor Gnatenko - 3.5.27-7 - Escape macros in %%changelog