Hello community,

here is the log from the commit of package oprofile for openSUSE:Factory
checked in at Mon Sep 26 10:36:00 CEST 2011.



--------
--- oprofile/oprofile.changes   2011-05-03 05:08:13.000000000 +0200
+++ /mounts/work_src_done/STABLE/oprofile/oprofile.changes      2011-09-24 
19:20:47.000000000 +0200
@@ -1,0 +2,7 @@
+Sat Sep 24 16:34:13 UTC 2011 - [email protected]
+
+- Upgrade to version 0.9.7. 
+- Drop unneeded patches.
+- Remove non-utf8 characters from changelog 
+
+-------------------------------------------------------------------
@@ -313,2 +320,2 @@
-  � Docu overhaul
-  � Feature additions
+  · Docu overhaul
+  · Feature additions
@@ -368 +375 @@
-  � Pentium IV support, including support for HyperThreading, is
+  · Pentium IV support, including support for HyperThreading, is
@@ -370 +377 @@
-  � Timer interrupt support for PA-RISC, ppc64, and sparc64 in 2.5
+  · Timer interrupt support for PA-RISC, ppc64, and sparc64 in 2.5
@@ -372 +379 @@
-  � HyperThreading support for Pentium IV on 2.4 kernels is not yet
+  · HyperThreading support for Pentium IV on 2.4 kernels is not yet
@@ -375,3 +382,3 @@
-  � Support for the IA-64 architecture has been added for 2.4 kernels.
-  � OProfile's userspace now works correctly on all 64-bit platforms.
-  � A new script, opcontrol, has been added to unify control of the
+  · Support for the IA-64 architecture has been added for 2.4 kernels.
+  · OProfile's userspace now works correctly on all 64-bit platforms.
+  · A new script, opcontrol, has been added to unify control of the
@@ -380,2 +387,2 @@
-  � Fixed upstream to compile with gcc 3.3
-  � Several bugfixes
+  · Fixed upstream to compile with gcc 3.3
+  · Several bugfixes

calling whatdependson for head-i586


Old:
----
  oprofile-0.9.6-gcc46.patch
  oprofile-0.9.6.tar.bz2
  oprofile-qt4.diff

New:
----
  oprofile-0.9.7.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ oprofile.spec ++++++
--- /var/tmp/diff_new_pack.UfrkHg/_old  2011-09-26 10:35:54.000000000 +0200
+++ /var/tmp/diff_new_pack.UfrkHg/_new  2011-09-26 10:35:54.000000000 +0200
@@ -24,8 +24,8 @@
 Group:          Development/Tools/Other
 AutoReqProv:    on
 PreReq:         /usr/sbin/groupadd /usr/sbin/useradd
-Version:        0.9.6
-Release:        11
+Version:        0.9.7
+Release:        1
 Summary:        System-Wide Profiler for Linux Systems
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source:         %{name}-%{version}.tar.bz2
@@ -36,8 +36,6 @@
 Source5:        README-BEFORE-ADDING-PATCHES
 Patch1:         oprofile-0.9.5-buildfixes.diff
 Patch2:         oprofile-0.9.4-fixes.diff
-Patch3:         oprofile-qt4.diff
-Patch4:         oprofile-0.9.6-gcc46.patch
 
 %description
 OProfile is a system-wide profiler for Linux systems, capable of
@@ -91,10 +89,8 @@
 
 %prep
 %setup -q
-%patch1
+%patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
 mkdir -p java/include
 # copy files necessary to build Java agent libraries
 # libjvmpi_oprofile.so and libjvmti_oprofile.so
@@ -108,6 +104,13 @@
   --prefix=/usr --mandir=%{_mandir} --libdir=%{_libdir} \
   --with-kernel-support --with-java=$PWD/java \
   --enable-gui=qt4 
+# Change DATE/TIME macros to use last change time of oprofile.changes
+# See http://lists.opensuse.org/opensuse-factory/2011-05/msg00304.html
+modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
+DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
+TIME="\"$(date -d "${modified}" "+%%R")\""
+find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec grep -E -e __DATE__ -e 
__TIME__ {} +
+find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i 
"s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
 make %{?jobs:-j%jobs}
 
 %install
@@ -138,7 +141,7 @@
 %{_libdir}/libjvm[tp]i_oprofile.so
 %exclude %{_libdir}/libjvm[tp]i_oprofile.*a
 %doc doc/oprofile.html doc/internals.html doc/opreport.xsd
-%doc COPYING README TODO ChangeLog
+%doc COPYING README TODO ChangeLog-*
 
 %files devel
 %defattr(-,root,root)

++++++ oprofile-0.9.4-fixes.diff ++++++
--- /var/tmp/diff_new_pack.UfrkHg/_old  2011-09-26 10:35:54.000000000 +0200
+++ /var/tmp/diff_new_pack.UfrkHg/_new  2011-09-26 10:35:54.000000000 +0200
@@ -3,10 +3,25 @@
  libutil++/bfd_support.cpp       |    3 +++
  2 files changed, 5 insertions(+)
 
-Index: oprofile-0.9.6/libutil++/bfd_support.cpp
-===================================================================
---- oprofile-0.9.6.orig/libutil++/bfd_support.cpp      2009-11-24 
16:25:17.000000000 +0100
-+++ oprofile-0.9.6/libutil++/bfd_support.cpp   2010-02-03 16:59:58.000000000 
+0100
+--- a/agents/jvmpi/jvmpi_oprofile.cpp
++++ b/agents/jvmpi/jvmpi_oprofile.cpp
+@@ -24,12 +24,14 @@
+  *
+  */
+ 
++#include <inttypes.h>
+ #include <iostream>
+ #include <map>
+ #include <string>
+ #include <cstring>
+ #include <stdexcept>
+ #include <cerrno>
++#include <cstring>
+ 
+ extern "C" {
+ #include <stdint.h>
+--- a/libutil++/bfd_support.cpp
++++ b/libutil++/bfd_support.cpp
 @@ -370,6 +370,9 @@ bool interesting_symbol(asymbol * sym)
        if (!(sym->section->flags & SEC_LOAD))
                return false;

++++++ oprofile-0.9.5-buildfixes.diff ++++++
--- /var/tmp/diff_new_pack.UfrkHg/_old  2011-09-26 10:35:54.000000000 +0200
+++ /var/tmp/diff_new_pack.UfrkHg/_new  2011-09-26 10:35:54.000000000 +0200
@@ -8,10 +8,8 @@
  utils/opcontrol          |   13 +++++++++++--
  7 files changed, 21 insertions(+), 11 deletions(-)
 
-Index: Makefile.am
-===================================================================
---- Makefile.am.orig
-+++ Makefile.am
+--- a/Makefile.am
++++ b/Makefile.am
 @@ -25,6 +25,7 @@ SUBDIRS = \
  
  
@@ -20,10 +18,8 @@
  ACLOCAL_AMFLAGS = -I m4
  
  # The module will not build under distcheck
-Index: agents/jvmpi/Makefile.am
-===================================================================
---- agents/jvmpi/Makefile.am.orig
-+++ agents/jvmpi/Makefile.am
+--- a/agents/jvmpi/Makefile.am
++++ b/agents/jvmpi/Makefile.am
 @@ -1,6 +1,6 @@
 -pkglib_LTLIBRARIES = libjvmpi_oprofile.la
 +lib_LTLIBRARIES = libjvmpi_oprofile.la
@@ -33,10 +29,8 @@
  
  libjvmpi_oprofile_la_SOURCES = jvmpi_oprofile.cpp
  
-Index: agents/jvmti/Makefile.am
-===================================================================
---- agents/jvmti/Makefile.am.orig
-+++ agents/jvmti/Makefile.am
+--- a/agents/jvmti/Makefile.am
++++ b/agents/jvmti/Makefile.am
 @@ -1,8 +1,8 @@
  AM_CFLAGS = @OP_CFLAGS@
  
@@ -48,10 +42,8 @@
  
  libjvmti_oprofile_la_LIBADD = ../../libopagent/libopagent.la
  
-Index: libopagent/Makefile.am
-===================================================================
---- libopagent/Makefile.am.orig
-+++ libopagent/Makefile.am
+--- a/libopagent/Makefile.am
++++ b/libopagent/Makefile.am
 @@ -1,4 +1,4 @@
 -pkglib_LTLIBRARIES = libopagent.la
 +lib_LTLIBRARIES = libopagent.la
@@ -67,10 +59,8 @@
  libopagent_la_LIBADD = $(BFD_LIBS)
  
  # Do not increment the major version for this library except to
-Index: m4/builtinexpect.m4
-===================================================================
---- m4/builtinexpect.m4.orig
-+++ m4/builtinexpect.m4
+--- a/m4/builtinexpect.m4
++++ b/m4/builtinexpect.m4
 @@ -5,7 +5,7 @@ AC_MSG_CHECKING([whether __builtin_expec
  SAVE_CFLAGS=$CFLAGS
  CFLAGS="-Werror $CFLAGS"
@@ -80,10 +70,8 @@
  if (__builtin_expect(i, 0)) { }
  ],
  AC_MSG_RESULT([yes]); EXTRA_CFLAGS_MODULE="$EXTRA_CFLAGS_MODULE -DEXPECT_OK",
-Index: m4/mallocattribute.m4
-===================================================================
---- m4/mallocattribute.m4.orig
-+++ m4/mallocattribute.m4
+--- a/m4/mallocattribute.m4
++++ b/m4/mallocattribute.m4
 @@ -4,9 +4,9 @@ AC_DEFUN([AX_MALLOC_ATTRIBUTE],
  AC_MSG_CHECKING([whether malloc attribute is understood])
  SAVE_CFLAGS=$CFLAGS
@@ -96,11 +84,9 @@
  CFLAGS=$SAVE_CFLAGS 
  ]
  )
-Index: utils/opcontrol
-===================================================================
---- utils/opcontrol.orig
-+++ utils/opcontrol
-@@ -481,10 +481,19 @@ get_image_range()
+--- a/utils/opcontrol
++++ b/utils/opcontrol
+@@ -482,10 +482,19 @@ get_image_range()
                exit 1
        fi
  

++++++ oprofile-0.9.6.tar.bz2 -> oprofile-0.9.7.tar.bz2 ++++++
++++ 104695 lines of diff (skipped)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to