[usermode] Add UGROUPS=wheel to config-util

Miloslav Trmac mitr at fedoraproject.org
Thu Mar 31 21:00:22 UTC 2011


commit 459a7682f7fae71eaf54c867c142cf0a150e107a
Author: Miloslav Trmač <mitr at redhat.com>
Date:   Thu Mar 31 22:57:53 2011 +0200

    Add UGROUPS=wheel to config-util
    
    - Add UGROUPS=wheel to config-util
      Resolves: #688690

 config-util   |    2 ++
 usermode.spec |    6 +++++-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
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č <mitr at redhat.com> - 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 <rel-eng at lists.fedoraproject.org> - 1.106.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the scm-commits mailing list