From f7cb5dc1e4a318c55be8126f7d03be0a8097dec8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 2 Oct 2018 18:05:50 -0400 Subject: [PATCH] Make service file name match bus name --- file-roller.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/file-roller.spec b/file-roller.spec index 0b489ea..c0b8b7f 100644 --- a/file-roller.spec +++ b/file-roller.spec @@ -52,6 +52,10 @@ or directories. %install %meson_install +# make the service filename match the bus name, flatpak doesn't like it otherwise +mv %{buildroot}%{_datadir}/dbus-1/services/org.gnome.FileRoller.ArchiveManager1.service \ + %{buildroot}%{_datadir}/dbus-1/services/org.gnome.ArchiveManager1.service + %find_lang %{name} --with-gnome %check @@ -65,7 +69,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.FileRoller. %{_datadir}/file-roller %{_datadir}/applications/org.gnome.FileRoller.desktop %{_libexecdir}/file-roller -%{_datadir}/dbus-1/services/org.gnome.FileRoller.ArchiveManager1.service +%{_datadir}/dbus-1/services/org.gnome.ArchiveManager1.service %{_datadir}/dbus-1/services/org.gnome.FileRoller.service %{_datadir}/icons/hicolor/*/apps/file-roller.png %{_datadir}/icons/hicolor/scalable/apps/file-roller-symbolic.svg @@ -82,6 +86,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.FileRoller. * Tue Oct 2 2018 Matthias Clasen - 3.30.1-2 - Avoid gratitious use of %{_bindir}. This breaks module builds - Don't build the nautilus subpackage when doing a module +- Rename the D-Bus service file to match the bus name * Wed Sep 26 2018 Kalev Lember - 3.30.1-1 - Update to 3.30.1