packages: gdb/gdb.spec - libstdc++ python scripts dropped, spec adapterized...

pluto pluto at pld-linux.org
Fri Oct 15 23:03:42 CEST 2010


Author: pluto                        Date: Fri Oct 15 21:03:42 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- libstdc++ python scripts dropped, spec adapterized, log fixed.

---- Files affected:
packages/gdb:
   gdb.spec (1.130 -> 1.131) 

---- Diffs:

================================================================
Index: packages/gdb/gdb.spec
diff -u packages/gdb/gdb.spec:1.130 packages/gdb/gdb.spec:1.131
--- packages/gdb/gdb.spec:1.130	Fri Oct 15 19:16:36 2010
+++ packages/gdb/gdb.spec	Fri Oct 15 23:03:34 2010
@@ -6,7 +6,7 @@
 # - change install msg to poldek in buildid-locate-rpm-pld.patch when poldek allows it. LP#493922
 #
 # Conditional build:
-%bcond_with	python		# build with python support
+%bcond_without	python		# build without python support
 
 Summary:	A GNU source-level debugger for C, C++ and Fortran
 Summary(de.UTF-8):	Symbolischer Debugger für C und andere Sprachen
@@ -170,7 +170,7 @@
 Patch1001:	%{name}-info.patch
 Patch1002:	%{name}-passflags.patch
 Patch1005:	%{name}-pretty-print-by-default.patch
-#Patch1006:	buildid-locate-rpm-pld.patch NEEDS UPDATE/REVIEW
+#Patch1006: buildid-locate-rpm-pld.patch NEEDS UPDATE/REVIEW
 
 URL:		http://www.gnu.org/software/gdb/
 BuildRequires:	autoconf >= 2.53
@@ -495,13 +495,7 @@
 for LIB in lib lib64; do
 	LIBPATH="$RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{_prefix}/$LIB"
 	install -d $LIBPATH
-	# basename is being run only for the native (non-biarch) file.
-	sed -e 's, at pythondir@,%{_datadir}/gdb/python,' \
-	  -e 's, at toolexeclibdir@,%{_prefix}/'"$LIB," \
-	  < libstdcxxpython/hook.in	\
-	  > $LIBPATH/$(basename %{_prefix}/%{_lib}/libstdc++.so.6.*)-gdb.py
 done
-cp -a libstdcxxpython/libstdcxx	$RPM_BUILD_ROOT%{py_sitescriptdir}
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
@@ -560,14 +554,7 @@
 %{py_sitescriptdir}/gdb/command/*.py[co]
 %dir %{py_sitescriptdir}/gdb/function
 %{py_sitescriptdir}/gdb/function/*.py[co]
-
-# likely oneday gcc.spec will provide this
-%dir %{py_sitescriptdir}/libstdcxx
-%{py_sitescriptdir}/libstdcxx/*.py[co]
-%dir %{py_sitescriptdir}/libstdcxx/v6
-%{py_sitescriptdir}/libstdcxx/v6/*.py[co]
-
-# or should we include it in base package?
+# container for 3-rd party stuff.
 %{_datadir}/gdb/auto-load
 %endif
 
@@ -587,9 +574,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.131  2010/10/15 21:03:34  pluto
+- libstdc++ python scripts dropped, spec adapterized, log fixed.
+
 Revision 1.130  2010/10/15 17:16:36  pluto
 - updated to 7.2 with fedora patchset w/o rhel compat fixes.
-- python pretty printers dropped (bcond temporary inverted). we'll original sources from gcc tarball.
+- python pretty printers dropped (bcond temporary inverted). we'll use original sources from gcc tarball.
 - release 0.1.
 
 Revision 1.129  2010/07/09 09:49:06  arekm
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb.spec?r1=1.130&r2=1.131&f=u



More information about the pld-cvs-commit mailing list