Ignore:
Timestamp:
Nov 16, 2011, 10:46:53 PM (14 years ago)
Author:
Yuri Dario
Message:

spec: sh,bash prepare for /bin removal.

File:
1 edited

Legend:

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

    r202 r236  
    55Name: bash
    66Version: %{baseversion}%{patchleveltag}
    7 Release: 5%{?dist}
     7Release: 6%{?dist}
    88License: BSD
    99Group: System Environment/Shells
     
    5757rm -rf %{buildroot}
    5858mkdir -p %{buildroot}/@unixroot/bin
     59mkdir -p %{buildroot}%{_bindir}
    5960
    60 cp -p usr/bin/bash.exe %{buildroot}/@unixroot/bin/bash.exe
    61 ln -s bash.exe %{buildroot}/@unixroot/bin/bash
     61cp -p usr/bin/bash.exe %{buildroot}%{_bindir}/bash.exe
     62ln -s %{_bindir}bash.exe %{buildroot}/@unixroot/bin/bash
    6263
    6364#%post
     
    9899%defattr(-,root,root)
    99100/@unixroot/bin/bash
    100 /@unixroot/bin/bash.exe
     101%{_bindir}/bash.exe
    101102#/bin/bsh
    102103#%{_mandir}/man1/*
     104
     105%changelog
     106* Wed Nov 16 2011 yd
     107- keep all executables to /usr/bin and place symlinks in /bin
Note: See TracChangeset for help on using the changeset viewer.