Fixed 'captive-fusermount' group to be: fuse
authorlace <>
Mon, 26 Dec 2005 08:01:02 +0000 (08:01 +0000)
committerlace <>
Mon, 26 Dec 2005 08:01:02 +0000 (08:01 +0000)
captive.spec.in

index 55f5641..6b53248 100644 (file)
@@ -200,6 +200,17 @@ make DESTDIR=$RPM_BUILD_ROOT install-strip
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%pre
+
+%if ! %{static}
+%pre fuse
+%endif
+%if %{static}
+/usr/sbin/groupadd -r fuse 2>/dev/null || \
+   /usr/sbin/groupadd fuse 2>/dev/null || \
+   true
+%endif
+
 %post
 /sbin/ldconfig
 /usr/sbin/groupadd -r captive 2>/dev/null || \
@@ -212,11 +223,6 @@ rm -rf $RPM_BUILD_ROOT
 %if ! %{static}
 %post fuse
 %endif
-%if %{static}
-/usr/sbin/groupadd -r fuse 2>/dev/null || \
-   /usr/sbin/groupadd fuse 2>/dev/null || \
-   true
-%endif
 /usr/lib/lsb/install_initd @PACKAGE@ 2>/dev/null || \
                /sbin/chkconfig --add @PACKAGE@
 touch %{_var}/lock/subsys/@PACKAGE@
@@ -274,7 +280,7 @@ rm -rf %{_var}/lib/@PACKAGE@/tmp/*
 /sbin/mount.@PACKAGE@-*
 %attr(644,root,root) %{_mandir}/man?/mount.@PACKAGE@.*
 %if %{static}
-%{_libexecdir}/@PACKAGE@-fusermount
+%attr(4754,root,fuse) %{_libexecdir}/@PACKAGE@-fusermount
 %endif
 
 %if ! %{static}