OI-SFEgcc.spec
changeset 22 3964ea74751c
parent 21 c5a5d6f3c1e8
child 23 c665a321228a
equal deleted inserted replaced
21:c5a5d6f3c1e8 22:3964ea74751c
   108 %if %with_handle_pragma_pack_push_pop
   108 %if %with_handle_pragma_pack_push_pop
   109 Patch2:              gcc-02-handle_pragma_pack_push_pop.diff
   109 Patch2:              gcc-02-handle_pragma_pack_push_pop.diff
   110 %else
   110 %else
   111 %endif
   111 %endif
   112 Patch3:              gcc-03-gnulib.diff
   112 Patch3:              gcc-03-gnulib.diff
   113 SUNW_BaseDir:        %{_basedir}
   113 
   114 BuildRoot:           %{_tmppath}/%{name}-%{version}-build
   114 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49347
       
   115 Patch10:	gcc-10-spawn.diff
       
   116 
       
   117 SUNW_BaseDir:	%{_basedir}
       
   118 BuildRoot:	%{_tmppath}/%{name}-%{version}-build
   115 %include default-depend.inc
   119 %include default-depend.inc
   116 
   120 
   117 BuildRequires: SFElibiconv-devel
   121 BuildRequires: SFElibiconv-devel
   118 Requires:      SFElibiconv
   122 Requires:      SFElibiconv
   119 BuildRequires: SUNWbash
   123 BuildRequires: SUNWbash
   211 %if %with_handle_pragma_pack_push_pop
   215 %if %with_handle_pragma_pack_push_pop
   212 %patch2 -p1
   216 %patch2 -p1
   213 %else
   217 %else
   214 %endif
   218 %endif
   215 #%patch3 -p1
   219 #%patch3 -p1
       
   220 %patch10 -p1
   216 
   221 
   217 %build
   222 %build
   218 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
   223 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
   219 if test "x$CPUS" = "x" -o $CPUS = 0; then
   224 if test "x$CPUS" = "x" -o $CPUS = 0; then
   220      CPUS=1
   225      CPUS=1
   452 %dir %attr (0755, root, sys) %{_datadir}
   457 %dir %attr (0755, root, sys) %{_datadir}
   453 %attr (-, root, other) %{_datadir}/locale
   458 %attr (-, root, other) %{_datadir}/locale
   454 %endif
   459 %endif
   455 
   460 
   456 %changelog
   461 %changelog
       
   462 * Sun Dec 11 2011 - Alex Viskovatoff
       
   463 - patch10 for spawn issue, following SFEgcc.spec
   457 * Sun Oct 30 2011 - Alex Viskovatoff
   464 * Sun Oct 30 2011 - Alex Viskovatoff
   458 - fork OI-SFEgcc.spec off SFEgcc.spec rev 4859; bump to 4.6.2
   465 - fork OI-SFEgcc.spec off SFEgcc.spec rev 4859; bump to 4.6.2
   459 - symlinks in /usr/bin and /usr/lib; use facets
   466 - symlinks in /usr/bin and /usr/lib; use facets
   460 * Sat Jul 23 2011 - Guido Berhoerster <[email protected]>
   467 * Sat Jul 23 2011 - Guido Berhoerster <[email protected]>
   461 - added License and SUNW_Copyright tags
   468 - added License and SUNW_Copyright tags