Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package fastjet for openSUSE:Factory checked 
in at 2026-09-12 21:21:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fastjet (Old)
 and      /work/SRC/openSUSE:Factory/.fastjet.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fastjet"

Sat Sep 12 21:21:25 2026 rev:12 rq:1377455 version:3.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/fastjet/fastjet.changes  2025-07-08 
15:29:49.976234344 +0200
+++ /work/SRC/openSUSE:Factory/.fastjet.new.1265/fastjet.changes        
2026-09-12 21:25:13.699210263 +0200
@@ -1,0 +2,11 @@
+Fri Sep 11 11:25:11 UTC 2026 - Atri Bhattacharya <[email protected]>
+
+- Build using cmake; this fixes building issues with recent cgal.
+- Add fastjet-cmake-soversion.patch to add so versions to shared
+  objects, consistent with installation using autotools.
+- Build for all supported python flavours.
+- Add fastjet.rpmlintrc to suppress false positive about rpaths in
+  fastjet-config script.
+- Fix a hashbang.
+
+-------------------------------------------------------------------

New:
----
  fastjet-cmake-soversion.patch
  fastjet.rpmlintrc

----------(New B)----------
  New:- Build using cmake; this fixes building issues with recent cgal.
- Add fastjet-cmake-soversion.patch to add so versions to shared
  objects, consistent with installation using autotools.
----------(New E)----------

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

Other differences:
------------------
++++++ fastjet.spec ++++++
--- /var/tmp/diff_new_pack.Dp2rFJ/_old  2026-09-12 21:25:14.254233558 +0200
+++ /var/tmp/diff_new_pack.Dp2rFJ/_new  2026-09-12 21:25:14.256233642 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package fastjet
 #
-# Copyright (c) 2025 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
@@ -23,11 +23,19 @@
 License:        GPL-2.0-or-later
 Group:          Development/Libraries/C and C++
 URL:            http://fastjet.fr/
-Source:         http://fastjet.fr/repo/%{name}-%{version}.tar.gz
+Source0:        http://fastjet.fr/repo/%{name}-%{version}.tar.gz
+Source1:        %{name}.rpmlintrc
+# PATCH-FIX-OPENSUSE fastjet-cmake-soversion.patch [email protected] -- Add 
so versioning to cmake script consistent with autoconf build scripts
+Patch0:         fastjet-cmake-soversion.patch
+BuildRequires:  %{python_module devel}
 BuildRequires:  cgal-devel
+BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRequires:  python3-devel
+BuildRequires:  swig
+
+%define python_subpackage_only 1
+%python_subpackages
 
 %description
 FastJet is a software package for jet finding in pp and e+e-
@@ -120,45 +128,46 @@
 This package provides the develoment files for SISCone plugin for
 fastjet.
 
-%package -n python3-%{name}
-Summary:        Python3 bindings for fastjet
+%package -n python-%{name}
+Summary:        Python bindings for fastjet
 Group:          Development/Libraries/Python
 
-%description -n python3-%{name}
+%description -n python-%{name}
 FastJet is a software package for jet finding in pp and e+e-
 collisions.
 
 This package provides python3 bindings for fastjet.
 
 %prep
-%setup -q
+%autosetup -p1
+sed -Ei "1{s@/usr/bin/env bash@%{_bindir}/bash@}" fastjet-config.in
 
 %build
-# Don't use --enable-cgal-header-only option up to 15.2
-%configure --disable-static \
-           --enable-allcxxplugins \
-%if 0%{?sle_version} < 120000 || 0%{?sle_version} > 150200
-           --enable-cgal-header-only \
-%endif
-           --enable-pyext \
-           --enable-cgal
-%make_build
-
-%install
-%make_install
-
-# REMOVE libtool ARCHIVES
-find %{buildroot} -type f -name "*.la" -delete -print
 
-# Remove rpaths from fastjet-config script
-sed -i "s|-Wl,-rpath,[^ ]\+||g" %{buildroot}%{_bindir}/fastjet-config
+%{python_expand # multiple flavours of python
+mkdir ../build_$python
+cp -pr ./ ../build_$python
+pushd ../build_$python
+%cmake -DFASTJET_ENABLE_DEBUG:BOOL=OFF \
+                -DFASTJET_ENABLE_CGAL:BOOL=ON \
+                        -DFASTJET_ENABLE_ALLCXXPLUGINS:BOOL=ON \
+                        -DFASTJET_BUILD_EXAMPLES:BOOL=OFF \
+                        -DFASTJET_ENABLE_PYTHON:BOOL=ON \
+                        -DPython_EXECUTABLE:PATH=%{_bindir}/$python \
+                        %{nil}
+%cmake_build
+popd
+}
 
-%fdupes %{buildroot}%{python3_sitelib}/
+%install
+%{python_expand # multiple flavours of python
+pushd ../build_$python
+%cmake_install
+popd
+}
 
-%post -n libfastjet0 -p /sbin/ldconfig
-%postun -n libfastjet0 -p /sbin/ldconfig
-%post -n fastjet-plugin-siscone -p /sbin/ldconfig
-%postun -n fastjet-plugin-siscone -p /sbin/ldconfig
+%ldconfig_scriptlets -n libfastjet0
+%ldconfig_scriptlets -n fastjet-plugin-siscone
 
 %files -n libfastjet0
 %license COPYING
@@ -169,11 +178,11 @@
 
 %files -n fastjet-devel
 %{_bindir}/fastjet-config
+%{_includedir}/fastjet/
 %{_libdir}/libfastjet.so
 %{_libdir}/libfastjettools.so
 %{_libdir}/libfastjetplugins.so
-%{_includedir}/fastjet/
-%{_datadir}/%{name}/
+%{_libdir}/cmake/%{name}/
 
 %files -n fastjet-plugin-siscone
 %{_libdir}/libsiscone*.so.*
@@ -181,9 +190,8 @@
 %files -n fastjet-plugin-siscone-devel
 %{_libdir}/libsiscone*.so
 %{_includedir}/siscone/
+%{_libdir}/cmake/siscone/
 
-%files -n python3-%{name}
-%{python3_sitelib}/fastjet.*
-%{python3_sitelib}/__pycache__/*
-%{python3_sitearch}/_fastjet_swig.*
+%files %{python_files fastjet}
+%{python_sitearch}/%{name}/
 

++++++ fastjet-cmake-soversion.patch ++++++
---
 plugins/CMakeLists.txt                         |    1 +
 plugins/SISCone/siscone/siscone/CMakeLists.txt |    1 +
 src/CMakeLists.txt                             |    1 +
 tools/CMakeLists.txt                           |    1 +
 4 files changed, 4 insertions(+)

Index: fastjet-3.5.1/src/CMakeLists.txt
===================================================================
--- fastjet-3.5.1.orig/src/CMakeLists.txt
+++ fastjet-3.5.1/src/CMakeLists.txt
@@ -44,6 +44,7 @@ list(APPEND fastjet_SOURCES
 #-------------------------------------------------------------------------
 # main code 
 add_library(fastjet SHARED ${fastjet_SOURCES})
+set_target_properties(fastjet PROPERTIES VERSION 0.0.0 SOVERSION 0)
 if (FASTJET_ENABLE_CGAL)
   target_link_libraries(fastjet PUBLIC CGAL::CGAL)
 endif()
Index: fastjet-3.5.1/tools/CMakeLists.txt
===================================================================
--- fastjet-3.5.1.orig/tools/CMakeLists.txt
+++ fastjet-3.5.1/tools/CMakeLists.txt
@@ -20,6 +20,7 @@ list(APPEND fastjettools_SOURCES
 #-------------------------------------------------------------------------
 # main code 
 add_library(fastjettools SHARED ${fastjettools_SOURCES})
+set_target_properties(fastjettools PROPERTIES VERSION 0.0.0 SOVERSION 0)
 target_link_libraries(fastjettools PUBLIC ${fastjet_LIBRARIES} fastjet)
 target_include_directories(fastjettools 
                            PUBLIC 
Index: fastjet-3.5.1/plugins/CMakeLists.txt
===================================================================
--- fastjet-3.5.1.orig/plugins/CMakeLists.txt
+++ fastjet-3.5.1/plugins/CMakeLists.txt
@@ -73,6 +73,7 @@ set(LIST_ALL_PLUGINS "${LIST_ALL_PLUGINS
 
 # build a local library
 add_library(fastjetplugins SHARED ${combined_objects})
+set_target_properties(fastjetplugins PROPERTIES VERSION 0.0.0 SOVERSION 0)
 target_link_libraries(fastjetplugins PUBLIC fastjet)
 
 target_include_directories(fastjetplugins PUBLIC 
Index: fastjet-3.5.1/plugins/SISCone/siscone/siscone/CMakeLists.txt
===================================================================
--- fastjet-3.5.1.orig/plugins/SISCone/siscone/siscone/CMakeLists.txt
+++ fastjet-3.5.1/plugins/SISCone/siscone/siscone/CMakeLists.txt
@@ -35,6 +35,7 @@ install(FILES area.h
 #-------------------------------------------------------------------------
 # main code
 add_library(siscone SHARED ${siscone_SOURCES})
+set_target_properties(siscone PROPERTIES VERSION 0.0.0 SOVERSION 0)
 target_include_directories(siscone
                            PUBLIC
                             $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>

++++++ fastjet.rpmlintrc ++++++
# rpath flags are returned by script only if user explicitly asks
addFilter("fastjet-devel..*: E: rpath-in-buildconfig")

Reply via email to