Ignore:
Timestamp:
Jul 24, 2013, 7:23:28 PM (12 years ago)
Author:
Yuri Dario
Message:

spec: os2-base, put /bin into unixroot drive (requires scripting).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/os2-base.spec

    r340 r355  
    33Name: os2-base
    44Version: 0.0.0
    5 Release: 5%{?dist}
     5Release: 6%{?dist}
    66
    77License: free
     
    260260%install
    261261rm -rf $RPM_BUILD_ROOT
    262 mkdir -p $RPM_BUILD_ROOT
    263 ln -s /@unixroot/usr/bin $RPM_BUILD_ROOT/bin
     262#mkdir -p $RPM_BUILD_ROOT/@unixroot
     263#ln -s /@unixroot/usr/ban $RPM_BUILD_ROOT/@unixroot/ban
    264264
    265265%clean
     
    270270
    271271%files fhs
    272 /
     272%defattr(-,root,root,-)
    273273
    274274%post
     
    289289fi
    290290
     291%post fhs
     292if [ "$1" = 1 ] ; then
     293#execute only on first install
     294ln -s /@unixroot/usr/bin /@unixroot/bin
     295fi
     296
     297%postun fhs
     298if [ "$1" = 0 ] ; then
     299#execute only on last uninstall
     300rm /@unixroot/bin
     301fi
     302
    291303%changelog
     304* Wed Jul 24 2013 yd
     305- put /bin into unixroot drive (requires scripting).
     306
    292307* Thu Mar 21 2013 yd
    293308- added fhs package to provide /bin symlink (for FHS script compatibility).
Note: See TracChangeset for help on using the changeset viewer.