rpms/libunwind/devel libunwind-snap-070224-dprintf-vs-stdio.h, NONE, 1.1 libunwind.spec, 1.25, 1.26

Jan Kratochvil jkratoch at fedoraproject.org
Mon Sep 22 00:25:11 UTC 2008


Author: jkratoch

Update of /cvs/pkgs/rpms/libunwind/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26878

Modified Files:
	libunwind.spec 
Added Files:
	libunwind-snap-070224-dprintf-vs-stdio.h 
Log Message:
* Mon Sep 22 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 0.99-0.6.frysk20070405cvs
- Fix build error due to a `dprintf' conflict on recent glibc.
- New rpmbuild parameter: --without check



--- NEW FILE libunwind-snap-070224-dprintf-vs-stdio.h ---
--- libunwind-0.99-alpha-orig/include/libunwind_i.h	2006-07-28 05:30:50.000000000 +0200
+++ libunwind-0.99-alpha/include/libunwind_i.h	2008-09-22 01:53:04.000000000 +0200
@@ -238,11 +238,11 @@ extern int unwi_dyn_validate_cache (unw_
 extern unw_dyn_info_list_t _U_dyn_info_list;
 extern pthread_mutex_t _U_dyn_info_list_lock;
 
+#include <stdio.h>
 #if UNW_DEBUG
 #define unwi_debug_level		UNWI_ARCH_OBJ(debug_level)
 extern long unwi_debug_level;
 
-# include <stdio.h>
 # define Debug(level,format...)						\
 do {									\
   if (unwi_debug_level >= level)					\


Index: libunwind.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libunwind/devel/libunwind.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- libunwind.spec	24 Feb 2008 06:31:44 -0000	1.25
+++ libunwind.spec	22 Sep 2008 00:24:40 -0000	1.26
@@ -1,3 +1,6 @@
+# rpmbuild parameters:
+# --without check: Do not run the testsuite.  Default is to run it.
+
 # Define this if you want to skip the strip step and preserve debug info.
 # Useful for testing. 
 #define __debug_install_post : > %{_builddir}/%{?buildsubdir}/debugfiles.list
@@ -8,13 +11,14 @@
 Version: 0.99
 %define frysksnap 20070405cvs
 %define upstreamsnap 070224
-Release: 0.5.frysk%{frysksnap}%{?dist}
+Release: 0.6.frysk%{frysksnap}%{?dist}
 License: BSD
 Group: Development/Debuggers
 Source: http://download.savannah.nongnu.org/releases/libunwind/libunwind-snap-%{upstreamsnap}.tar.gz
 Patch1: libunwind-snap-%{upstreamsnap}-frysk%{frysksnap}.patch
 Patch2: libunwind-snap-070224-orphanripper.patch
 Patch3: libunwind-snap-070224-multilib-rh342451.patch
+Patch4: libunwind-snap-070224-dprintf-vs-stdio.h
 Source1: libunwind-orphanripper.c
 Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 URL: http://savannah.nongnu.org/projects/libunwind
@@ -48,6 +52,7 @@
 cp -p %{SOURCE1} tests/orphanripper.c
 
 %patch3 -p1 -E
+%patch4 -p1 -E
 
 %build
 mkdir -p config
@@ -64,7 +69,13 @@
 rm -f $RPM_BUILD_ROOT/%{_libdir}/libunwind*.la
 
 %check
+%if 0%{?_without_check:1} || 0%{?_without_testsuite:1}
+echo ====================TESTSUITE DISABLED=========================
+%else
+echo ====================TESTING=========================
 make check || true
+echo ====================TESTING END=====================
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -85,6 +96,10 @@
 %{_includedir}/*
 
 %changelog
+* Mon Sep 22 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 0.99-0.6.frysk20070405cvs
+- Fix build error due to a `dprintf' conflict on recent glibc.
+- New rpmbuild parameter: --without check
+
 * Sun Feb 24 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 0.99-0.5.frysk20070405cvs
 - Fix the multilib conflicts (BZ 342451).
 




More information about the fedora-extras-commits mailing list