diff --git a/SPECS/gnome-settings-daemon.spec b/SPECS/gnome-settings-daemon.spec index 32a008b..341f225 100644 --- a/SPECS/gnome-settings-daemon.spec +++ b/SPECS/gnome-settings-daemon.spec @@ -133,7 +133,11 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep -%autosetup -S git +%autosetup -S git -N +%autopatch -p 1 -M 50000 +%if %{with subman} +%autopatch -p 1 -m 50001 +%endif %build %meson @@ -230,11 +234,13 @@ mkdir $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-3.0/gtk-modules %{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Sharing.desktop %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.sharing.gschema.xml +%if %{with subman} %{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop %{_libexecdir}/gsd-subman %{_libexecdir}/gsd-subman-helper %{_datadir}/polkit-1/actions/org.gnome.settings-daemon.plugins.subman.policy %{_datadir}/polkit-1/rules.d/org.gnome.settings-daemon.plugins.subman.rules +%endif %{_libdir}/gnome-settings-daemon-3.0/libgsd.so