Ignore:
Timestamp:
Jul 25, 2013, 2:45:09 PM (12 years ago)
Author:
Yuri Dario
Message:

spec: findutils, coreutils, move conflicting tools to libexec/bin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/findutils.spec

    r351 r356  
    22Name: findutils
    33Version: 4.4.2
    4 Release: 3%{?dist}
     4Release: 4%{?dist}
    55Epoch: 1
    66License: GPLv3+
     
    5959#ln -sf ../../bin/find $RPM_BUILD_ROOT/usr/bin
    6060
    61 # yd rename find.exe to find-unix.exe and place a symlink for script compatibility
    62 mv $RPM_BUILD_ROOT%_bindir/find.exe $RPM_BUILD_ROOT%_bindir/find-unix.exe
    63 ln -s /@unixroot/usr/bin/find-unix.exe $RPM_BUILD_ROOT%_bindir/find
     61# yd move conflicting tools to libexec/bin and place a symlink for script compatibility
     62mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/bin
     63for i in find; do
     64  mv $RPM_BUILD_ROOT%_bindir/$i.exe $RPM_BUILD_ROOT%{_libexecdir}/bin/$i.exe
     65  ln -s /@unixroot/usr/bin/libexec/bin/$i.exe $RPM_BUILD_ROOT%_bindir/$i
     66done
    6467
    6568%clean
     
    7174%doc AUTHORS COPYING NEWS README THANKS TODO
    7275%{_bindir}/find
    73 %{_bindir}/find-unix.exe
    7476%{_bindir}/oldfind.exe
    7577%{_bindir}/xargs.exe
     
    8486
    8587%changelog
     88* Wed Jul 24 2013 yd
     89- move conflicting tools to libexec/bin.
     90
    8691* Wed Jun 05 2013 yd
    8792- r641, fix xargs stop in freadahead.
Note: See TracChangeset for help on using the changeset viewer.