I fixed SUNWGParted.spec according to Laszlo.Peter's code review. Here 
are the diffs:

--- SUNWGParted.spec    (revision 19752)
+++ SUNWGParted.spec    (working copy)
@@ -23,20 +23,15 @@
 
 %include default-depend.inc
 Requires: SUNWparted
-#Requires: SUNWglib2
 Requires: SUNWgtkmm
 Requires: SUNWglibmm
-#Requires: SUNWgtk2
 Requires: SUNWpangomm
 Requires: SUNWcairomm
 Requires: SUNWsigcpp
-#Requires: SUNWlibatk
-#Requires: SUNWpango
 Requires: SUNWmlibl
 Requires: SUNWlibmsr
 Requires: SUNWxwplt
 Requires: SUNWxorg-clientlibs
-#Requires: SUNWcairo
 Requires: SUNWfontconfig
 Requires: SUNWntfsprogs
 Requires: SUNWdesktop-cache
@@ -53,6 +48,7 @@
 %else
 export CXX="${CXX} -norunpath"
 %endif
+export CXXFLAGS="%cxx_optflags"
 ./configure --prefix=/usr
 make
 cd ..

Reply via email to