4 Commits

5 changed files with 44 additions and 26 deletions

View File

@@ -1,13 +0,0 @@
Index: HepMC3-3.2.5/doc/doxygen/Doxyfile.in
===================================================================
--- HepMC3-3.2.5.orig/doc/doxygen/Doxyfile.in
+++ HepMC3-3.2.5/doc/doxygen/Doxyfile.in
@@ -978,7 +978,7 @@ HTML_COLORSTYLE_GAMMA = 80
# page will contain the date and time when the page was generated. Setting
# this to NO can help when comparing the output of multiple runs.
-HTML_TIMESTAMP = YES
+HTML_TIMESTAMP = NO
# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
# documentation will contain sections that can be hidden and shown after the

View File

@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Wed Apr 9 08:22:42 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 3.3.1:
* Require cmake>3.10 for compatibility with cmake4.
* Multiple bugfixes and improvements.
* Add uproot5 to the tests
* Add static libraries and other fixes to HepMC3-config.
* Fix weights usage in the AnalysisExample.cc file.
* Update convert_example.cc to allow for one argument for the
"dump" format.
* Fix for a "Conditional jump or move depends on uninitialised
value(s)" problem detected by valgrind
-------------------------------------------------------------------
Mon Mar 24 12:16:14 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 3.3.0:
* Update python bindings with binder 1.4.2
* Update bxzstr to bxzstr 1.2.2 + patches
* Explicitly return for inf-generating eta / massless rapidity
along pz, to avoid FPE triggering.
* Suppress cross-section/weight count-mismatch warning if only
one cross-section.
* Add support for reading with uproot
* Drop Python2 support
* Fix compilation with Python 3.13.0a1.
* Major update of the build system, removed most of the custom
modules.
* Removed functions that operate on raw pointers.
- Update shared lib name in accordance with upstream so version
bump.
- Drop HepMC-disable-doxygen-html-timestamp.patch: no longer
needed as HTML_TIMESTAMP is not set by Doxyfile.
-------------------------------------------------------------------
Fri Oct 13 00:23:04 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package HepMC
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,14 @@
%bcond_with rootio
%define so_main 3
%define so_main 4
%define libmain libHepMC3-%{so_main}
%define so_search 5
%define libsearch libHepMC3search%{so_search}
Name: HepMC
Version: 3.2.7
Version: 3.3.1
Release: 0
Summary: An event record for High Energy Physics Monte Carlo Generators in C++
# PATCH-FEATURE-OPENSUSE HepMC-disable-doxygen-html-timestamp.patch badshah400@gmail.com -- Disable timestamps in doxygen generated HTML footers
Patch0: HepMC-disable-doxygen-html-timestamp.patch
# Note: pybind11 (BSD-3-Clause) is bundled but not used because we use the system packaged pybind11
# bxzstr (bundled) uses MPL-2.0
License: LGPL-3.0-or-later AND MPL-2.0
@@ -35,7 +33,7 @@ URL: http://hepmc.web.cern.ch/hepmc/
Source: http://hepmc.web.cern.ch/hepmc/releases/%{name}3-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pybind11-devel >= 2.6.0}
BuildRequires: cmake
BuildRequires: cmake >= 3.10
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -155,10 +153,8 @@ pushd ../${PYTHON}_build
popd
}
%post -n %{libmain} -p /sbin/ldconfig
%postun -n %{libmain} -p /sbin/ldconfig
%post -n %{libsearch} -p /sbin/ldconfig
%postun -n %{libsearch} -p /sbin/ldconfig
%ldconfig_scriptlets -n %{libmain}
%ldconfig_scriptlets -n %{libsearch}
%files -n %{libmain}
%license LICENCE COPYING

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:587faa6556cc54ccd89ad35421461b4761d7809bc17a2e72f5034daea142232b
size 9345591

3
HepMC3-3.3.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:08240160b0f28dc3293aa4d61ce65e2d67cd597acf6faca439f2e46625f7e793
size 9354477