1
0
Richard Brown 2023-09-07 11:40:49 +00:00 committed by Git OBS Bridge
parent 0b1a446c97
commit eaae8be588
2 changed files with 9 additions and 0 deletions

3
49-aeon.rules Normal file
View File

@ -0,0 +1,3 @@
polkit.addAdminRule(function(action, subject) {
return ["unix-group:wheel"];
});

View File

@ -33,6 +33,7 @@ Source7: distrobox-upgrade-all.service
Source8: distrobox-upgrade-all.timer
Source9: 50-aeon
Source10: wallpaper-branding-Aeon.xml
Source11: 49-aeon.rules
BuildArch: noarch
BuildRequires: flatpak
BuildRequires: gio-branding-openSUSE
@ -65,6 +66,7 @@ cp -a %{SOURCE7} distrobox-upgrade-all.service
cp -a %{SOURCE8} distrobox-upgrade-all.timer
cp -a %{SOURCE9} 50-aeon
cp -a %{SOURCE10} wallpaper-branding-Aeon.xml
cp -a %{SOURCE11} 49-aeon.rules
%build
@ -88,6 +90,8 @@ install -d %{buildroot}%{_sysconfdir}/sudoers.d/
install -m0644 50-aeon %{buildroot}%{_sysconfdir}/sudoers.d/50-aeon
install -d %{buildroot}%{_datadir}/gnome-background-properties
install -m0644 wallpaper-branding-Aeon.xml %{buildroot}%{_datadir}/gnome-background-properties/wallpaper-branding-Aeon.xml
install -d %{buildroot}%{_datadir}/polkit-1/rules.d/
install -m0644 49-aeon.rules %{buildroot}%{_datadir}/polkit-1/rules.d/49-aeon.rules
%pre
%systemd_user_pre distrobox-upgrade-all.service
@ -122,5 +126,7 @@ install -m0644 wallpaper-branding-Aeon.xml %{buildroot}%{_datadir}/gnome-backgro
%{_sysconfdir}/sudoers.d/50-aeon
%dir %{_datadir}/gnome-background-properties
%{_datadir}/gnome-background-properties/wallpaper-branding-Aeon.xml
%dir %{_datadir}/polkit-1/rules.d
%{_datadir}/polkit-1/rules.d/49-aeon.rules
%changelog