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