Changeset 358 for spec/trunk/SPECS/os2-base.spec
- Timestamp:
- Jul 30, 2013, 3:13:19 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/os2-base.spec
r355 r358 3 3 Name: os2-base 4 4 Version: 0.0.0 5 Release: 6%{?dist}5 Release: 7%{?dist} 6 6 7 7 License: free … … 251 251 (as /bin/sh) as FHS http://www.linuxfoundation.org/collaborate/workgroups/lsb/fhs 252 252 253 %package unixtools-path 254 License: free 255 Summary: Makes unix tools from findutils and coreutils first in PATH. 256 257 %description unixtools-path 258 Adds /@unixroot/usr/libexec/bin at beginning of system PATH, to allow conflicting 259 tools from findutils and coreutils to be used instead of default OS/2 tools. 260 253 261 254 262 %prep … … 301 309 fi 302 310 311 %post unixtools-path 312 if [ "$1" = 1 ] ; then 313 #execute only on first install 314 %cube {ADDSTRING "%UNIXROOT%\usr\libexec\bin;" IN "SET PATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys c:\config.sys.yum > NUL 315 fi 316 317 %postun unixtools-path 318 if [ "$1" = 0 ] ; then 319 #execute only on last uninstall 320 %cube {DELSTRING "%UNIXROOT%\usr\libexec\bin;" IN "SET PATH=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL 321 fi 322 323 303 324 %changelog 325 * Tue Jul 30 2013 yd 326 - add unixtool-path package to prepend /@unixroot/usr/libexec/bin to PATH. 327 304 328 * Wed Jul 24 2013 yd 305 329 - put /bin into unixroot drive (requires scripting).
Note:
See TracChangeset
for help on using the changeset viewer.