Accepting request 560188 from home:1Antoine1:branches:utilities

- Fix wrong conditionals for desktop_database_post(un) calls.

OBS-URL: https://build.opensuse.org/request/show/560188
OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=17
This commit is contained in:
Luigi Baldoni 2017-12-27 20:17:21 +00:00 committed by Git OBS Bridge
parent 5f355e72e6
commit b408e7f42a
2 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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