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 - tonyj@suse.com
+
+- 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