Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pythia for openSUSE:Factory checked 
in at 2025-11-24 14:10:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pythia (Old)
 and      /work/SRC/openSUSE:Factory/.pythia.new.14147 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pythia"

Mon Nov 24 14:10:57 2025 rev:33 rq:1319264 version:8.316

Changes:
--------
--- /work/SRC/openSUSE:Factory/pythia/pythia.changes    2025-08-19 
16:44:41.803309134 +0200
+++ /work/SRC/openSUSE:Factory/.pythia.new.14147/pythia.changes 2025-11-24 
14:13:38.480507168 +0100
@@ -1,0 +2,97 @@
+Mon Nov 17 08:51:56 UTC 2025 - Atri Bhattacharya <[email protected]>
+
+- Update to version 8.316:
+  * The DIRE parton shower is no longer supported and consequently
+    has been removed in this release.
+  * The reorganization of fragmentation models, begun in 8.313,
+    continues. 
+  * New code for the cross section of the production of t-tbar
+    pairs in hadron collisions near the threshold, both above and
+    below it. 
+  * New options to add non-singular and higher-order terms to the
+    splitting kernels for timelike showers, along with a new
+    example program main303.cc.
+  * New options to regulate the running of alphaS in the infrared,
+    by freezing it at a maximum value, and/or by shifting the
+    argument by a number of order LambdaQCD.
+  * Improved version of DIS kinematics reconstruction. Namely the
+    lepton mass is appropriately accounted and phase-space cut for
+    Q2min accounts also masses for final-state partons.
+  * Introduction of parameters StringFragmentation:eJunctionCutoff
+    and StringFragmentation:mJunctionCutoff allows for the
+    modification of stopping conditions on the fragmentation of
+    the first two junction legs.
+  * The default value of StringFragmentation:stopMass has been
+    changed from 1.0 GeV to 0.8 GeV, the same value as used in
+    PYTHIA 6.4. 
+  * Added the Detroit tune (Agu22) to the list of available tune
+    presets.
+  * RandomState of the random-number generator is now saved before
+    the generation of each event starts.
+  * Support has been added for parallel running of plugins.
+  * New RivetHooks plugin allows for Rivet analyses to be run via
+    the plugin structure with Init:plugins =
+    {libpythia8rivet.so::RivetHooks}, including in parallel.
+  * The new plugin HepMC3Hooks allows users to write output to
+    HepMC3 by loading.
+  * Added the ability to include purely Pythonic code in the
+    pythia8 Python module.
+  * Updates to the Hist class:
+    - Introduced new methods: getBinCenter(int iBin),
+      getBinError(int iBin), and getBinError2(). Equivalent
+      versions getBinCenters(), etc., return a vector of doubles
+      for all bins.
+    - Added an optional third argument to the Hist::fill() method,
+      to allow for weighted uncertainties that are not purely
+      stochastic. Thanks to Claire Bergman.
+    - Added new method Hist::getXPercentile() to extract
+      percentiles from histograms.
+    - Added the method Hist::yodaTable to enable printing a Hist
+      to the ESTIMATE1D_V3 format from YODA.
+  * New particle data method(s) mSelInRange selects the mass of a
+    particle according to a Breit-Wigner shape, but within a range
+    that is determined event-by-event.
+  * A small internal analysis of differential jet rates has been
+    added to main164. Also, legacy HepMC2 support has been added
+    to main164.
+  * The SigmaTotal::calc(...) code has been rearranged so as to
+    provide a clean abort when the energy is too low, rather than
+    a segmentation fault.
+  * Moved -pthread option to the Makefile.
+  * Updated many of the references to now include hyperlinks to a
+    publicly accessible version of the reference.
+  * Fixed an issue where the post-hoc and in-situ flavor
+    variations for hadronization, see Hadronization Variations,
+    did not match if particle decays were turned on, as the
+    in-situ weights did not account for flavor variations in the
+    hadron decays.
+  * Fixed a bug where tuning parameters are incorrectly loaded
+    when specified inside a subrun in a .cmnd file.
+  * Fix trial hadron generation in
+    StringFragmentation::kinematicsHadronTmp used in the
+    closepacking and thermal string breaking frameworks.
+  * The introduction of StringZ:deriveLundPars inadvertently broke
+    the behaviour for when only bLund is derived,
+    StringZ:deriveLundPars = 1. This has now been fixed.
+  * Fixed the spelling of the addAtribute method of the
+    PythiaToHepMC class to addAttribute. Also, added a
+    specialization for this method for integer attributes, as is
+    already done for double attributes.
+  * Fixed an issue with the toString helper method which formatted
+    numbers greater than 1e+6 with an exponent ending in zero
+    incorrectly, e.g. 1e+10 would be returned as "1e+1".
+  * Fixed issue with Settings::readFile where for some systems an
+    empty line could cause a std::out_of_range crash.
+  * A bug was fixed that led to a pointer to the wrong
+    ParticleData object when a Pythia object was created from the
+    Settings and ParticleData of another Pythia instance.
+  * Tiny cosmetic fix so that a total cross section is not
+    attempted to be initialized if not both incoming particles are
+    hadrons (or photons). 
+- Minor rebase of patches for update:
+  * pythia-honour-env-cxxflags.patch
+  * pythia-remove-rpaths.patch
+- Split off new shared lib packages for new libraries:
+  libpythia8hepmc3 and libpythia8rivet (for Leap 16 and newer).
+
+-------------------------------------------------------------------

Old:
----
  pythia8315.tgz

New:
----
  pythia8316.tgz

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

Other differences:
------------------
++++++ pythia.spec ++++++
--- /var/tmp/diff_new_pack.LRDUyc/_old  2025-11-24 14:13:39.656556707 +0100
+++ /var/tmp/diff_new_pack.LRDUyc/_new  2025-11-24 14:13:39.656556707 +0100
@@ -16,10 +16,10 @@
 #
 
 
-%define ver 8315
+%define ver 8316
 %define soname lib%{name}8
 Name:           pythia
-Version:        8.315
+Version:        8.316
 Release:        0
 Summary:        A simulation program for particle collisions at very high 
energies
 License:        GPL-2.0-or-later
@@ -90,11 +90,37 @@
 This package provides the shared libraries for the lhapdf6 bindings of
 %{name}.
 
+%package -n %{soname}hepmc3
+Summary:        HepMC bindings for Pythia - a simulation program for particle 
collisions
+Group:          System/Libraries
+
+%description -n %{soname}hepmc3
+Pythia can be used to generate high-energy-physics events, i.e. sets
+of outgoing particles produced in the interactions between two
+incoming particles.
+
+This package provides the shared libraries for the HepMC bindings of
+%{name}.
+
+%package -n %{soname}rivet
+Summary:        Rivet bindings for Pythia - a simulation program for particle 
collisions
+Group:          System/Libraries
+
+%description -n %{soname}rivet
+Pythia can be used to generate high-energy-physics events, i.e. sets
+of outgoing particles produced in the interactions between two
+incoming particles.
+
+This package provides the shared libraries for the rivet bindings of
+%{name}.
+
 %package devel
 Summary:        Development package for Pythia - a simulation program for 
particle collisions
 Group:          Development/Libraries/C and C++
 Requires:       %{soname} = %{version}
+Requires:       %{soname}hepmc3 = %{version}
 Requires:       %{soname}lhapdf6 = %{version}
+Requires:       %{soname}rivet = %{version}
 Recommends:     %{name}-doc
 
 %description devel
@@ -130,17 +156,12 @@
 sed -E -i "s|%{_bindir}/env bash|/bin/bash|" examples/runmains
 
 %build
-# FOR oS > 1320, "-std=c++14" IS NEEDED FOR BUILDING EXAMPLES
-# WITH FASTJET3 (WHICH ALREADY USES THIS STD)
 CXXFLAGS="%{optflags}"
-%if 0%{?suse_version} > 1320
-export CXXFLAGS="$CXXFLAGS -std=c++14"
-%endif
-
 %configure \
   --prefix-lib=%{_libdir} \
   --prefix-share=%{_docdir}/%{name} \
   --enable-shared \
+  --disable-rpath \
   --with-fastjet3 \
   --with-gzip \
   --with-hdf5 \
@@ -195,6 +216,10 @@
 
 %ldconfig_scriptlets -n %{soname}
 %ldconfig_scriptlets -n %{soname}lhapdf6
+%ldconfig_scriptlets -n %{soname}hepmc3
+%if 0%{?suse_version} >= 1600
+%ldconfig_scriptlets -n %{soname}rivet
+%endif
 
 %files -n %{soname}
 %{_libdir}/%{soname}.so
@@ -202,6 +227,14 @@
 %files -n %{soname}lhapdf6
 %{_libdir}/%{soname}lhapdf6.so
 
+%files -n %{soname}hepmc3
+%{_libdir}/%{soname}hepmc3.so
+
+%if 0%{?suse_version} >= 1600
+%files -n %{soname}rivet
+%{_libdir}/%{soname}rivet.so
+%endif
+
 %files devel
 %doc AUTHORS GUIDELINES CODINGSTYLE README
 %license COPYING

++++++ pythia-honour-env-cxxflags.patch ++++++
--- /var/tmp/diff_new_pack.LRDUyc/_old  2025-11-24 14:13:39.708558897 +0100
+++ /var/tmp/diff_new_pack.LRDUyc/_new  2025-11-24 14:13:39.712559065 +0100
@@ -1,14 +1,18 @@
-Index: pythia8313/configure
+---
+ configure |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: pythia8316/configure
 ===================================================================
---- pythia8313.orig/configure
-+++ pythia8313/configure
-@@ -327,7 +327,7 @@ if [ "$ARCH" != "LINUX" ] && [ "$ARCH" !
+--- pythia8316.orig/configure
++++ pythia8316/configure
+@@ -329,7 +329,7 @@ if [ "$ARCH" != "LINUX" ] && [ "$ARCH" !
      warn "Unknown architecture $ARCH, set as LINUX."; ARCH="LINUX"; fi
  if [ -z "$CXX" ]; then warn "CXX not set, using g++."; CXX="g++"; fi
  if [ -z "$CXX_COMMON" ]; then
--    CXX_COMMON="${ENABLE_DEBUG}-std=c++11 -pedantic -W -Wall -Wshadow -fPIC"
-+    CXX_COMMON="${CXXFLAGS} ${ENABLE_DEBUG}-std=c++11 -pedantic -W -Wall 
-Wshadow -fPIC"
-     CXX_COMMON="${CXX_COMMON} -pthread"; fi
+-    CXX_COMMON="${ENABLE_DEBUG}-std=c++11 -pedantic -W -Wall -Wshadow -fPIC"; 
fi
++    CXX_COMMON="${CXXFLAGS} ${ENABLE_DEBUG}-std=c++11 -pedantic -W -Wall 
-Wshadow -fPIC"; fi
  if [ -z "$CXX_SHARED" ]; then
      if [ "$ARCH" = "LINUX" ];  then CXX_SHARED="-shared"; fi
+     if [ "$ARCH" = "DARWIN" ]; then CXX_SHARED="-dynamiclib"; fi; fi
 

++++++ pythia-remove-rpaths.patch ++++++
--- /var/tmp/diff_new_pack.LRDUyc/_old  2025-11-24 14:13:39.728559740 +0100
+++ /var/tmp/diff_new_pack.LRDUyc/_new  2025-11-24 14:13:39.736560076 +0100
@@ -6,24 +6,24 @@
  plugins/python/Makefile |   12 +++++++++++-
  5 files changed, 30 insertions(+), 5 deletions(-)
 
-Index: pythia8313/Makefile
+Index: pythia8316/Makefile
 ===================================================================
---- pythia8313.orig/Makefile
-+++ pythia8313/Makefile
+--- pythia8316.orig/Makefile
++++ pythia8316/Makefile
 @@ -36,7 +36,11 @@ LOCAL_TMP=tmp
  LOCAL_MKDIRS:=$(shell mkdir -p $(LOCAL_TMP) $(LOCAL_LIB))
  CXX_COMMON:=-I$(LOCAL_INCLUDE) $(CXX_COMMON)
  OBJ_COMMON:=-MD $(CXX_COMMON) $(OBJ_COMMON)
--LIB_COMMON=-Wl,-rpath,../lib:$(PREFIX_LIB) -ldl $(GZIP_LIB)
+-LIB_COMMON=-pthread -Wl,-rpath,../lib:$(PREFIX_LIB) -ldl $(GZIP_LIB)
 +ifneq ($(DISABLE_RPATH),true)
-+  LIB_COMMON=-Wl,-rpath,$(PREFIX_LIB) -ldl $(GZIP_LIB)
++  LIB_COMMON=-pthread -Wl,-rpath,../$(PREFIX_LIB) -ldl $(GZIP_LIB)
 +else
-+  LIB_COMMON=-ldl $(GZIP_LIB)
++  LIB_COMMON=-pthread -ldl $(GZIP_LIB)
 +endif
  
  # PYTHIA.
  OBJECTS=$(patsubst $(LOCAL_SRC)/%.cc,$(LOCAL_TMP)/%.o,\
-@@ -125,7 +129,11 @@ $(LOCAL_LIB)/libpythia8powheg%.so: $(POW
+@@ -151,7 +155,11 @@ $(LOCAL_LIB)/libpythia8powheg%.so: $(POW
        $(LOCAL_TMP)/LHAPowheg.o $(LOCAL_LIB)/libpythia8$(LIB_SUFFIX)
        $(CXX) $(LOCAL_TMP)/LHAPowheg.o -o $@ $(CXX_COMMON) $(CXX_SHARED)\
         $(CXX_SONAME)$(notdir $@) -Llib -lpythia8\
@@ -35,10 +35,10 @@
  $(LOCAL_LIB)/libpythia8powhegHooks.so: $(LOCAL_TMP)/PowhegHooks.o\
        $(LOCAL_LIB)/libpythia8$(LIB_SUFFIX)
        $(CXX) $< -o $@ $(CXX_COMMON) $(CXX_SHARED) $(CXX_SONAME)$(notdir $@)\
-Index: pythia8313/configure
+Index: pythia8316/configure
 ===================================================================
---- pythia8313.orig/configure
-+++ pythia8313/configure
+--- pythia8316.orig/configure
++++ pythia8316/configure
 @@ -30,6 +30,7 @@ Configuration options.
  --help            : Print this help message (also -h, --h, and -help).
  --enable-debug    : Turn on debugging and disable optimization.
@@ -56,7 +56,7 @@
  OPTIONS+=" --prefix --prefix-bin --prefix-lib --prefix-include --prefix-share"
  for PKG in "evtgen" "fastjet3" "hepmc2" "hepmc3" "lhapdf5" "lhapdf6" "powheg"\
      "rivet" "yoda" "root" "gzip" "python" "mg5mes" "openmp" "mpich" "hdf5"\
-@@ -321,6 +322,7 @@ done
+@@ -323,6 +324,7 @@ echo "# ./configure$USER_CFG" >> $CFG_FI
  # Set the compilation flags and options (order matters).
  [ "$ENABLE_DEBUG_SET"    = true ] && ENABLE_DEBUG="-g "   || 
ENABLE_DEBUG="-O2 "
  [ "$ENABLE_OPTDEBUG_SET" = true ] && ENABLE_DEBUG="-g -O "
@@ -64,7 +64,7 @@
  if [ -z "$ARCH" ]; then ARCH=$(uname | grep -i -o -e Linux -e Darwin); fi
  ARCH=$(echo $ARCH | awk '{print toupper($0)}')
  if [ "$ARCH" != "LINUX" ] && [ "$ARCH" != "DARWIN" ]; then
-@@ -464,6 +466,7 @@ PREFIX_LIB=$PREFIX_LIB
+@@ -465,6 +467,7 @@ PREFIX_LIB=$PREFIX_LIB
  PREFIX_SHARE=$PREFIX_SHARE
  
  # Compilation flags (see ./configure --help for further documentation).
@@ -72,10 +72,10 @@
  CXX=$CXX
  CXX_DTAGS=$CXX_DTAGS
  CXX_COMMON=$CXX_COMMON
-Index: pythia8313/plugins/mg5mes/Makefile
+Index: pythia8316/plugins/mg5mes/Makefile
 ===================================================================
---- pythia8313.orig/plugins/mg5mes/Makefile
-+++ pythia8313/plugins/mg5mes/Makefile
+--- pythia8316.orig/plugins/mg5mes/Makefile
++++ pythia8316/plugins/mg5mes/Makefile
 @@ -28,7 +28,11 @@ LOCAL_DIRS:=$(subst $(LOCAL_TMP)/,,$(wil
  LOCAL_MKDIRS:=$(shell mkdir -p $(LOCAL_TMP) $(TOP_LIB))
  LOCAL_MKDIRS:=$(foreach DIR,$(LOCAL_DIRS),$(shell mkdir -p 
$(LOCAL_TMP)/$(DIR)))
@@ -89,12 +89,12 @@
  PYTHIA=$(TOP_LIB)/libpythia8$(LIB_SUFFIX)
  
  # Set the wrapper, determine the objects and targets.
-Index: pythia8313/plugins/python/Makefile
+Index: pythia8316/plugins/python/Makefile
 ===================================================================
---- pythia8313.orig/plugins/python/Makefile
-+++ pythia8313/plugins/python/Makefile
-@@ -27,7 +27,11 @@ LOCAL_TMP=tmp
- LOCAL_INCLUDE=include
+--- pythia8316.orig/plugins/python/Makefile
++++ pythia8316/plugins/python/Makefile
+@@ -28,7 +28,11 @@ LOCAL_INCLUDE=include
+ LOCAL_EXTRA=extra
  LOCAL_MKDIRS:=$(shell mkdir -p $(LOCAL_TMP) $(TOP_LIB))
  OBJ_COMMON=-MD $(CXX_COMMON) -Iinclude $(PYTHON_INCLUDE) -w -fpermissive
 -LIB_COMMON=-Wl,-rpath,$(TOP_LIB) -ldl $(GZIP_LIB)
@@ -106,7 +106,7 @@
  PYTHIA=$(TOP_LIB)/libpythia8$(LIB_SUFFIX)
  
  # Determine the headers.
-@@ -76,9 +80,15 @@ $(LOCAL_TMP)/%.o: $(LOCAL_SRC)/%.cpp $(L
+@@ -77,9 +81,15 @@ $(LOCAL_TMP)/%.o: $(LOCAL_SRC)/%.cpp $(L
  
  # Build the library.
  $(TOP_LIB)/pythia8.so: $(PYTHIA) $(HEADERS) $(OBJECTS)
@@ -119,13 +119,13 @@
 +       $(CXX_SONAME)$(notdir $@) $(LIB_COMMON) -L$(TOP_LIB)\
 +       -lpythia8 -Wl,-undefined,dynamic_lookup
 +endif
- 
- # Clean.
- clean:
-Index: pythia8313/examples/Makefile
+       @mkdir -p $(TOP_LIB)/python
+       if test -e $(LOCAL_EXTRA)/*.py; then\
+        cp $(LOCAL_EXTRA)/*.py $(TOP_LIB)/python; fi
+Index: pythia8316/examples/Makefile
 ===================================================================
---- pythia8313.orig/examples/Makefile
-+++ pythia8313/examples/Makefile
+--- pythia8316.orig/examples/Makefile
++++ pythia8316/examples/Makefile
 @@ -26,7 +26,7 @@ ifneq ("$(wildcard ../lib/libpythia8.*)"
    PREFIX_INCLUDE=../include
  endif
@@ -134,5 +134,5 @@
 +CXX_COMMON+= -L$(PREFIX_LIB) -lpythia8 -ldl
  PYTHIA=$(PREFIX_LIB)/libpythia8$(LIB_SUFFIX)
  
- # Define RIVET options and fix C++ version, rpath, missing HDF5.
+ # Define additional dependency options.
 

++++++ pythia8315.tgz -> pythia8316.tgz ++++++
/work/SRC/openSUSE:Factory/pythia/pythia8315.tgz 
/work/SRC/openSUSE:Factory/.pythia.new.14147/pythia8316.tgz differ: char 5, 
line 1

Reply via email to