SPECS: gcc.spec - workaround for PR libgcj/24057, test-builds.
pluto
pluto at pld-linux.org
Sun Oct 2 09:57:33 CEST 2005
Author: pluto Date: Sun Oct 2 07:57:33 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- workaround for PR libgcj/24057, test-builds.
---- Files affected:
SPECS:
gcc.spec (1.370 -> 1.371)
---- Diffs:
================================================================
Index: SPECS/gcc.spec
diff -u SPECS/gcc.spec:1.370 SPECS/gcc.spec:1.371
--- SPECS/gcc.spec:1.370 Sat Oct 1 21:23:38 2005
+++ SPECS/gcc.spec Sun Oct 2 09:57:28 2005
@@ -878,20 +878,26 @@
# by fixincludes, we don't want former
gccdir=$(echo $RPM_BUILD_ROOT%{_libdir}/gcc/*/*/)
mkdir $gccdir/tmp
+
+#
+# [Bug libgcj/24057] [4.1 regression] libgcj installs jawt.h and jni.h in version independent location
+%{?with_java:mv $RPM_BUILD_ROOT%{_includedir}/{jawt.h,jawt_md.h,jni.h,jni_md.h} $gccdir/include}
+#
+
# we have to save these however
-%{?with_java:mv -f $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
-%{?with_objc:mv -f $gccdir/include/objc $gccdir/tmp}
-mv -f $gccdir/include/syslimits.h $gccdir/tmp
-rm -rf $gccdir/include
-mv -f $gccdir/tmp $gccdir/include
-cp -f $gccdir/install-tools/include/*.h $gccdir/include
+%{?with_java:mv $gccdir/include/{gcj,libffi/ffitarget.h,jawt.h,jawt_md.h,jni.h,jni_md.h,jvmpi.h} $gccdir/tmp}
+%{?with_objc:mv $gccdir/include/objc $gccdir/tmp}
+mv $gccdir/include/syslimits.h $gccdir/tmp
+rm -rf $gccdir/include
+mv $gccdir/tmp $gccdir/include
+cp $gccdir/install-tools/include/*.h $gccdir/include
# but we don't want anything more from install-tools
-rm -rf $gccdir/install-tools
+rm -rf $gccdir/install-tools
%if %{with multilib}
-ln -sf %{_slibdir32}/libgcc_s.so.1 $gccdir/32/libgcc_s.so
+ln -sf %{_slibdir32}/libgcc_s.so.1 $gccdir/32/libgcc_s.so
%endif
-ln -sf %{_slibdir}/libgcc_s.so.1 $gccdir/libgcc_s.so
+ln -sf %{_slibdir}/libgcc_s.so.1 $gccdir/libgcc_s.so
%find_lang gcc
%{?with_cxx:%find_lang libstdc\+\+}
@@ -1280,6 +1286,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.371 2005/10/02 07:57:28 pluto
+- workaround for PR libgcj/24057, test-builds.
+
Revision 1.370 2005/10/01 19:23:38 pluto
- updated to 4.1.0-20051001T1855UTC (fix critical bugs in vrp).
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gcc.spec?r1=1.370&r2=1.371&f=u
More information about the pld-cvs-commit
mailing list