diff --git a/config-util b/config-util new file mode 100644 index 0000000..a6b9096 --- /dev/null +++ b/config-util @@ -0,0 +1,2 @@ +USER=root +UGROUPS=wheel diff --git a/usermode.spec b/usermode.spec index db4daae..415ae3b 100644 --- a/usermode.spec +++ b/usermode.spec @@ -6,6 +6,7 @@ License: GPLv2+ Group: Applications/System URL: https://fedorahosted.org/usermode/ Source: https://fedorahosted.org/releases/u/s/usermode/usermode-%{version}.tar.xz +Source1: config-util Requires: pam, passwd, util-linux BuildRequires: desktop-file-utils, gettext, glib2-devel, gtk2-devel, intltool BuildRequires: libblkid-devel, libSM-devel, libselinux-devel, libuser-devel @@ -56,7 +57,8 @@ for wrappedapp in halt reboot poweroff ; do $RPM_BUILD_ROOT/etc/security/console.apps/${wrappedapp} install -p -m644 shutdown.pamd $RPM_BUILD_ROOT/etc/pam.d/${wrappedapp} done -echo 'USER=root' > $RPM_BUILD_ROOT/etc/security/console.apps/config-util +install -p -m 644 %{SOURCE1} \ + $RPM_BUILD_ROOT/etc/security/console.apps/config-util for i in redhat-userinfo.desktop redhat-userpasswd.desktop \ redhat-usermount.desktop; do @@ -113,6 +115,8 @@ rm -rf $RPM_BUILD_ROOT * Thu Mar 31 2011 Miloslav Trmač - 1.107-1 - Update to usermode-1.107 Resolves: #668731 +- Add UGROUPS=wheel to config-util + Resolves: #688690 * Mon Feb 07 2011 Fedora Release Engineering - 1.106.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild