[xfsdump] Move files from /sbin to /usr/sbin

Eric Sandeen sandeen at fedoraproject.org
Thu Mar 29 02:10:51 UTC 2012


commit b5d28323a9331feab350894ec77fce48bb005a2d
Author: Eric Sandeen <sandeen at redhat.com>
Date:   Wed Mar 28 21:10:40 2012 -0500

    Move files from /sbin to /usr/sbin

 xfsdump.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/xfsdump.spec b/xfsdump.spec
index c223160..5b52a60 100644
--- a/xfsdump.spec
+++ b/xfsdump.spec
@@ -1,7 +1,7 @@
 Summary: Administrative utilities for the XFS filesystem
 Name: xfsdump
 Version: 3.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 # Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
 # in source, with no mention of version.
 License: GPL+
@@ -44,9 +44,10 @@ make DIST_ROOT=$RPM_BUILD_ROOT install
 # remove non-versioned docs location
 rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsdump/
 
+# Bit of a hack to move files from /sbin to /usr/sbin
 (cd $RPM_BUILD_ROOT/%{_sbindir}; rm xfsdump xfsrestore)
-(cd $RPM_BUILD_ROOT/%{_sbindir}; ln -s ../../sbin/xfsdump .)
-(cd $RPM_BUILD_ROOT/%{_sbindir}; ln -s ../../sbin/xfsrestore .)
+(cd $RPM_BUILD_ROOT/%{_sbindir}; mv ../../sbin/xfsdump .)
+(cd $RPM_BUILD_ROOT/%{_sbindir}; mv ../../sbin/xfsrestore .)
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -56,9 +57,11 @@ rm -rf $RPM_BUILD_ROOT
 %doc README doc/COPYING doc/CHANGES doc/README.xfsdump doc/xfsdump_ts.txt
 %{_mandir}/man8/*
 %{_sbindir}/*
-/sbin/*
 
 %changelog
+* Wed Mar 28 2012 Eric Sandeen <sandeen at redhat.com> 3.1.0-2
+- Move files out of /sbin to /usr/sbin
+
 * Fri Mar 23 2012 Eric Sandeen <sandeen at redhat.com> 3.1.0-1
 - New upstream release
 


More information about the scm-commits mailing list