Add back the gnome- prefix to gnome-session-properties desktop file

... so that it matches with the executable name.
This commit is contained in:
Kalev Lember 2013-08-22 20:43:12 +02:00
parent c657239d70
commit 585c7600a3

View File

@ -99,15 +99,17 @@ make %{?_smp_mflags} V=1
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
desktop-file-install --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-only-show-in GNOME \
$RPM_BUILD_ROOT%{_datadir}/applications/*
# Renamed upstream in https://git.gnome.org/browse/gnome-session/commit/?id=ac9fd0dc97a17674cb082f80df0b1fcc45bc92bf
mv $RPM_BUILD_ROOT%{_datadir}/applications/session-properties.desktop \
$RPM_BUILD_ROOT%{_datadir}/applications/gnome-session-properties.desktop
cp -p AUTHORS COPYING NEWS README $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
%find_lang %{po_package}
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-session-properties.desktop
%post
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :