Ignore:
Timestamp:
Apr 23, 2018, 5:02:54 PM (7 years ago)
Author:
dmik
Message:

spec: os2-base: Release version 0.0.0-18.

File:
1 edited

Legend:

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

    r1208 r1386  
    33Name: os2-base
    44Version: 0.0.0
    5 Release: 17%{?dist}
     5Release: 18%{?dist}
    66
    77License: free
    88
    99Requires: os2-release
    10 Requires: os2-rpm >= 0-4
     10
     11# For os2_expand_unixroot
     12BuildRequires: os2-rpm >= 1-2
     13Requires: os2-rpm >= 1-2
    1114
    1215Provides: ansicall.dll
     
    294297
    295298
    296 %post
     299%post -e
    297300if [ "$1" = 1 ] ; then
    298301#execute only on first install
     
    304307%cube {ADDLINE "SET TERM=os2" (IFNOT "SET TERM=")} c:\config.sys > NUL
    305308%cube {ADDLINE "REM [ Default shell values ]" (IFNOT "REM [ Default shell values ]")} c:\config.sys > NUL
    306 %cube {ADDLINE "SET SHELL=%{os2_dos_path %{_bindir}/sh.exe}" (IFNOT "SET SHELL=")} c:\config.sys > NUL
    307 %cube {ADDLINE "SET EMXSHELL=%{os2_dos_path %{_bindir}/sh.exe}" (IFNOT "SET EMXSHELL=")} c:\config.sys > NUL
    308 %cube {ADDLINE "SET CONFIG_SHELL=%{os2_dos_path %{_bindir}/sh.exe}" (IFNOT "SET CONFIG_SHELL=")} c:\config.sys > NUL
    309 %cube {ADDLINE "SET MAKESHELL=%{os2_dos_path %{_bindir}/sh.exe}" (IFNOT "SET MAKESHELL=")} c:\config.sys > NUL
    310 %cube {ADDLINE "SET EXECSHELL=%{os2_dos_path %{_bindir}/sh.exe}" (IFNOT "SET EXECSHELL=")} c:\config.sys > NUL
     309%cube {ADDLINE "SET SHELL=%%{os2_expand_unixroot %%{_bindir}/sh.exe}" (IFNOT "SET SHELL=")} c:\config.sys > NUL
     310%cube {ADDLINE "SET EMXSHELL=%%{os2_expand_unixroot %%{_bindir}/sh.exe}" (IFNOT "SET EMXSHELL=")} c:\config.sys > NUL
     311%cube {ADDLINE "SET CONFIG_SHELL=%%{os2_expand_unixroot %%{_bindir}/sh.exe}" (IFNOT "SET CONFIG_SHELL=")} c:\config.sys > NUL
     312%cube {ADDLINE "SET MAKESHELL=%%{os2_expand_unixroot %%{_bindir}/sh.exe}" (IFNOT "SET MAKESHELL=")} c:\config.sys > NUL
     313%cube {ADDLINE "SET EXECSHELL=%%{os2_expand_unixroot %%{_bindir}/sh.exe}" (IFNOT "SET EXECSHELL=")} c:\config.sys > NUL
    311314%cube {ADDLINE "REM [ Temporary directory ]" (IFNOT "REM [ Temporary directory ]")} c:\config.sys > NUL
    312315%cube {ADDLINE "SET TMP=%{os2_dos_path /@unixroot/var/tmp}" (IFNOT "SET TMP=")} c:\config.sys > NUL
     
    354357
    355358%changelog
     359* Mon Apr 23 2018 Dmitriy Kuminov <coding@dmik.org> 0.0.0-18
     360- Make sure SHELL/EMXSHELL and friends in CONFIG.SYS use forward slashes.
     361
    356362* Fri Jul 28 2017 Dmitriy Kuminov <coding@dmik.org> 0.0.0-17
    357363- Use handy os2_dos_path, os2_langdir etc. macros from os2-rpm.
Note: See TracChangeset for help on using the changeset viewer.