From: Jonathan Billings Date: Tue, 20 Apr 2010 16:13:11 +0000 (-0400) Subject: Added explanatory comments for restorevol move X-Git-Tag: openafs-devel-1_5_74_1~20 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9ab56bb0c8c95de188b1120221ca2ad1b6fdddb9;p=packages%2Fo%2Fopenafs.git Added explanatory comments for restorevol move Since restorevol is placed in %{_prefix}/afs/bin by make dest, we need to fix it so it ends up in %{_bindir} to be used in the base package. Change-Id: I31f2602868230416525a84a9d716230f08cb34ab Reviewed-on: http://gerrit.openafs.org/1796 Reviewed-by: Simon Wilkinson Tested-by: Simon Wilkinson Reviewed-by: Derrick Brashear --- diff --git a/src/packaging/RedHat/openafs.spec.in b/src/packaging/RedHat/openafs.spec.in index c035d1368..75c967a48 100644 --- a/src/packaging/RedHat/openafs.spec.in +++ b/src/packaging/RedHat/openafs.spec.in @@ -1018,7 +1018,8 @@ tar cf - -C ${sysname}/dest/etc . | tar xf - -C $RPM_BUILD_ROOT%{_sbindir} tar cf - -C ${sysname}/dest/root.server%{_prefix}/afs bin | tar xf - -C $RPM_BUILD_ROOT%{_prefix}/afs tar cf - -C ${sysname}/dest/root.client%{_prefix}/vice/etc afsd C | tar xf - -C $RPM_BUILD_ROOT%{_prefix}/vice/etc -# Fix the location of restorevol +# Fix the location of restorevol, since it should be available for +# any user in /usr/bin mv $RPM_BUILD_ROOT%{_prefix}/afs/bin/restorevol $RPM_BUILD_ROOT%{_bindir}/restorevol # Link kpasswd to kapasswd