diff --git a/ansifilter.changes b/ansifilter.changes index 485d7c1..babde73 100644 --- a/ansifilter.changes +++ b/ansifilter.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jul 7 09:18:02 UTC 2018 - antoine.belvire@opensuse.org + +- Minor spec file cleanups. + ------------------------------------------------------------------- Wed Mar 7 20:30:17 UTC 2018 - antoine.belvire@opensuse.org diff --git a/ansifilter.spec b/ansifilter.spec index 2977083..014c727 100644 --- a/ansifilter.spec +++ b/ansifilter.spec @@ -40,8 +40,11 @@ output (HTML, RTF, TeX, LaTeX, BBCode). Summary: ANSI Terminal Escape Code Converter - Qt GUI Group: Development/Tools/Other BuildRequires: libqt5-qtbase-devel -BuildRequires: update-desktop-files -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{version} +%if 0%{?suse_version} < 1330} +Requires(post): update-desktop-files +Requires(postun): update-desktop-files +%endif %description gui This package provides a Qt Graphical User Interface to run %{name}. @@ -74,8 +77,6 @@ make \ %if %{with gui} install-gui -%suse_update_desktop_file %{name} - %if 0%{?suse_version} < 1330 %post gui %desktop_database_post