diff --git a/spec_files/gnome-shell-extension-compiz-windows-effect/gnome-shell-extension-bazzite-menu.spec b/spec_files/gnome-shell-extension-compiz-windows-effect/gnome-shell-extension-compiz-windows-effect.spec similarity index 100% rename from spec_files/gnome-shell-extension-compiz-windows-effect/gnome-shell-extension-bazzite-menu.spec rename to spec_files/gnome-shell-extension-compiz-windows-effect/gnome-shell-extension-compiz-windows-effect.spec diff --git a/spec_files/vpower/fedora.patch b/spec_files/vpower/fedora.patch index 61a61604..6a1b4650 100644 --- a/spec_files/vpower/fedora.patch +++ b/spec_files/vpower/fedora.patch @@ -5,7 +5,7 @@ [Service] -ExecStart=/usr/lib/vpower -+ExecStart=/usr/bin/vpower ++ExecStart=/usr/libexec/vpower Restart=on-failure RestartSec=1 diff --git a/spec_files/vpower/vpower.spec b/spec_files/vpower/vpower.spec index e0604020..6adb966d 100644 --- a/spec_files/vpower/vpower.spec +++ b/spec_files/vpower/vpower.spec @@ -30,6 +30,8 @@ Service that calculates battery metrics and handles critical battery scenarios %install %cargo_install +mkdir -p %{buildroot}%{_libexecdir} +mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_libexecdir}/%{name} mkdir -p %{buildroot}%{_unitdir}/ cp -v vpower.service %{buildroot}%{_unitdir}/%{name}.service mkdir -p %{buildroot}%{_sysconfdir}/