From b5d28323a9331feab350894ec77fce48bb005a2d Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Wed, 28 Mar 2012 21:10:40 -0500 Subject: [PATCH] Move files from /sbin to /usr/sbin --- xfsdump.spec | 11 +++++++---- 1 file 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 3.1.0-2 +- Move files out of /sbin to /usr/sbin + * Fri Mar 23 2012 Eric Sandeen 3.1.0-1 - New upstream release