Changeset 191 for spec/trunk/SPECS/gcc4.spec
- Timestamp:
- Sep 7, 2011, 7:29:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/gcc4.spec
r173 r191 4 4 Name: gcc 5 5 Version: %{gcc_version} 6 Release: 6%{?dist}6 Release: 7%{?dist} 7 7 8 8 # libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have … … 43 43 for stack protector. 44 44 45 %package wlink 46 Summary: GCC configuration changes for Watcom linker support. 47 Group: Development/Languages 48 Requires: watcom-wlink-hll 49 50 %description wlink 51 This package triggers the required config.sys settings to allow use of Watcom 52 Linker instead of ld. 53 54 %package wrc 55 Summary: GCC configuration changes for Watcom resource compiler support. 56 Group: Development/Languages 57 Requires: watcom-wrc 58 59 %description wrc 60 This package triggers the required config.sys settings to allow use of Watcom 61 resource compiler instead of IBM one. 62 45 63 %prep 46 64 %setup -q -c -a 1 … … 70 88 rm -rf %{buildroot} 71 89 90 %post wrc 91 if [ "$1" = 1 ] ; then 92 #execute only on first install 93 %cube {DELLINE "SET EMXOMFLD_RC="} c:\config.sys > NUL 94 %cube {DELLINE "SET EMXOMFLD_RC_TYPE="} c:\config.sys > NUL 95 %cube {ADDLINE "SET EMXOMFLD_RC=wrc.exe"} c:\config.sys > NUL 96 %cube {ADDLINE "SET EMXOMFLD_RC_TYPE=WRC"} c:\config.sys > NUL 97 fi 98 99 %postun wrc 100 if [ "$1" = 0 ] ; then 101 #execute only on last uninstall 102 %cube {DELLINE "SET EMXOMFLD_RC="} c:\config.sys > NUL 103 %cube {DELLINE "SET EMXOMFLD_RC_TYPE="} c:\config.sys > NUL 104 fi 105 106 %post wlink 107 if [ "$1" = 1 ] ; then 108 #execute only on first install 109 %cube {DELLINE "SET EMXOMFLD_LINKER="} c:\config.sys > NUL 110 %cube {DELLINE "SET EMXOMFLD_TYPE="} c:\config.sys > NUL 111 %cube {ADDLINE "SET EMXOMFLD_LINKER=wl.exe"} c:\config.sys > NUL 112 %cube {ADDLINE "SET EMXOMFLD_TYPE=WLINK"} c:\config.sys > NUL 113 fi 114 115 %postun wlink 116 if [ "$1" = 0 ] ; then 117 #execute only on last uninstall 118 %cube {DELLINE "SET EMXOMFLD_LINKER="} c:\config.sys > NUL 119 %cube {DELLINE "SET EMXOMFLD_TYPE="} c:\config.sys > NUL 120 fi 121 72 122 %files 73 123 %defattr(-,root,root,-)
Note:
See TracChangeset
for help on using the changeset viewer.