diff --git a/ranger.changes b/ranger.changes index 499d86b..8d933ac 100644 --- a/ranger.changes +++ b/ranger.changes @@ -1,9 +1,14 @@ +------------------------------------------------------------------- +Wed Dec 27 18:01:01 UTC 2017 - antoine.belvire@opensuse.org + +- Fix wrong conditionals for desktop_database_post(un) calls. + ------------------------------------------------------------------- Mon Dec 11 13:04:03 UTC 2017 - sogal@volted.net - Update desktop database upon ranger installation/removal - * Fixed desktop file by adding GenericName entry - using ranger.desktop.patch to that effect +- Fixed desktop file by adding GenericName entry using + ranger.desktop.patch ------------------------------------------------------------------- Sat Jan 21 23:02:07 UTC 2017 - aloisio@gmx.com diff --git a/ranger.spec b/ranger.spec index 32a039c..99cc2fe 100644 --- a/ranger.spec +++ b/ranger.spec @@ -28,6 +28,7 @@ Group: Productivity/File utilities Url: http://ranger.nongnu.org Source: http://nongnu.org/ranger/ranger-%{version}.tar.gz Source99: ranger-rpmlintrc +# PATCH-FIX-UPSTREAM ranger.desktop.patch -- Add missing GenericName Patch0: ranger.desktop.patch BuildRequires: python-devel >= 2.5.1 Requires: file @@ -77,12 +78,10 @@ python ./setup.py install \ rm -rf "%{buildroot}%{_datadir}/doc/ranger" -%if 0%{?suse_version} > 1330 +%if 0%{?suse_version} < 1330 %post %desktop_database_post -%endif -%if 0%{?suse_version} > 1330 %postun %desktop_database_postun %endif