Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package oprofile for openSUSE:Factory 
checked in at 2026-07-17 01:44:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/oprofile (Old)
 and      /work/SRC/openSUSE:Factory/.oprofile.new.24530 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "oprofile"

Fri Jul 17 01:44:43 2026 rev:59 rq:1366185 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes        2024-11-09 
20:59:18.812772802 +0100
+++ /work/SRC/openSUSE:Factory/.oprofile.new.24530/oprofile.changes     
2026-07-17 01:45:24.553150356 +0200
@@ -1,0 +2,15 @@
+Thu Jul 16 11:47:52 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Use the enviromental variable JAVA_HOME to detect the build JDK
+  home directory. This fixes build with both update-alternatives and
+  libalternatives
+- Remove unnecessary patching of DATE and TIME macros. Our gcc
+  knows about SOURCE_DATE_EPOCH since about 8 years and processes
+  the DATE and TIME to the SOURCE_DATE_EPOCH just fine
+- Do not use Java Virtual Machine Profiler Interface (JVMPI). It was
+  deprecated in Java 5 (2004) and  removed from the JDK starting
+  with Java 6 (2006). The package uses also the "new" Java Virtual
+  Machine Tool Interface (JVMTI) that works with all our supported
+  JDKs
+
+-------------------------------------------------------------------
@@ -695 +709,0 @@
--------------------------------------------------------------------

Old:
----
  jvmpi.h

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

Other differences:
------------------
++++++ oprofile.spec ++++++
--- /var/tmp/diff_new_pack.6XqAkh/_old  2026-07-17 01:45:25.397178835 +0200
+++ /var/tmp/diff_new_pack.6XqAkh/_new  2026-07-17 01:45:25.401178970 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package oprofile
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,6 @@
 Source0:        
http://prdownloads.sourceforge.net/oprofile/oprofile-%{version}.tar.gz
 Source2:        %{name}.rpmlintrc
 Source3:        baselibs.conf
-Source4:        jvmpi.h
 Source5:        README-BEFORE-ADDING-PATCHES
 Patch1:         %{name}-no-libjvm-version.patch
 Patch2:         %{name}-pfm-ppc.patch
@@ -102,23 +101,10 @@
 %prep
 %autosetup -p1
 
-mkdir -p java/include
-# copy files necessary to build Java agent libraries
-# libjvmpi_oprofile.so and libjvmti_oprofile.so
-ln -s %{_libdir}/jvm/java/include/* java/include
-test -f java/include/jvmpi.h || ln -s %{SOURCE4} java/include
-
 %build
 ./autogen.sh
 %configure \
-  --with-java=$PWD/java
-# 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" {} +
+  --with-java=${JAVA_HOME}
 %make_build
 
 %install

Reply via email to