git://git.jankratochvil.net
/
captive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a72a0fe
)
Fixed 'captive-fusermount' group to be: fuse
author
lace
<>
Mon, 26 Dec 2005 08:01:02 +0000
(08:01 +0000)
committer
lace
<>
Mon, 26 Dec 2005 08:01:02 +0000
(08:01 +0000)
captive.spec.in
patch
|
blob
|
history
diff --git
a/captive.spec.in
b/captive.spec.in
index
55f5641
..
6b53248
100644
(file)
--- a/
captive.spec.in
+++ b/
captive.spec.in
@@
-200,6
+200,17
@@
make DESTDIR=$RPM_BUILD_ROOT install-strip
%clean
rm -rf $RPM_BUILD_ROOT
%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 || \
%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}
%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@
/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}
/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}
%endif
%if ! %{static}