Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package HepMC for openSUSE:Factory checked 
in at 2022-03-02 18:20:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/HepMC (Old)
 and      /work/SRC/openSUSE:Factory/.HepMC.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "HepMC"

Wed Mar  2 18:20:38 2022 rev:13 rq:958425 version:3.2.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/HepMC/HepMC.changes      2021-12-12 
00:58:08.290606157 +0100
+++ /work/SRC/openSUSE:Factory/.HepMC.new.1958/HepMC.changes    2022-03-02 
18:21:04.196655878 +0100
@@ -1,0 +2,35 @@
+Wed Mar  2 10:26:19 UTC 2022 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Also Obsolete libHepMC3-1 from libHepMC3search.
+
+-------------------------------------------------------------------
+Mon Feb 21 19:37:37 UTC 2022 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 3.2.5:
+  * Added implementation for Relatives class that works in
+    Windows.
+  * (Implemented earlier) Improved MSYS2 support.
+  * New interfaces for HEPEVT and update of python interface.
+  * (Implemented earlier) More functions in GenEvent to deal with
+    attributes.
+  * (Implemented earlier) Implemented Complessed I/O with zip,
+    lzma and bz2 via bxzst library.
+  * Fixes to documentation of some examples.
+  * Removal of unused codes and comments.
+  * Fixes to Pythia8ToHepMC3.py.
+  * Added Reader/Write interfaces with smart pointers.
+  * Fixed #ifdefs for non-Linux system to allow the usage of
+    Reader/Writer plugins.
+  * Added MT reader.
+  * Remove outdated interfaces to MCEGs.
+- Add HepMC-disable-doxygen-html-timestamp.patch: Disable
+  timestamps in doxygen generated HTML footers to make builds
+  reproducible.
+- Split libraries into separate shared lib packages.
+- Build for all supported python flavours.
+- Fix shalred lib versioning and obsolete libHepMC3-1 from
+  libHepMC3-3 since previous lib was incorrectly named.
+- Delete bundled pybind11 and use system package; add
+  BuildRequires: python-pybind11-devel >= 2.6.0.
+
+-------------------------------------------------------------------

Old:
----
  HepMC3-3.2.4.tar.gz

New:
----
  HepMC-disable-doxygen-html-timestamp.patch
  HepMC3-3.2.5.tar.gz

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

Other differences:
------------------
++++++ HepMC.spec ++++++
--- /var/tmp/diff_new_pack.mLsKaC/_old  2022-03-02 18:21:05.168655913 +0100
+++ /var/tmp/diff_new_pack.mLsKaC/_new  2022-03-02 18:21:05.172655913 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package HepMC
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,18 @@
 %bcond_with rootio
 %bcond_without pythia
 
+%define so_main 3
+%define libmain libHepMC3-%{so_main}
+%define so_search 4
+%define libsearch libHepMC3search%{so_search}
 Name:           HepMC
-%define lname  libHepMC3-1
-Version:        3.2.4
+Version:        3.2.5
 Release:        0
 Summary:        An event record for High Energy Physics Monte Carlo Generators 
in C++
-# Python bindings are BSD-3-Clause, packaged separately
+# PATCH-FEATURE-OPENSUSE HepMC-disable-doxygen-html-timestamp.patch 
badshah...@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
 License:        GPL-3.0-or-later
-Group:          Development/Libraries/C and C++
 URL:            http://hepmc.web.cern.ch/hepmc/
 Source:         
http://hepmc.web.cern.ch/hepmc/releases/%{name}3-%{version}.tar.gz
 BuildRequires:  cmake
@@ -36,43 +40,52 @@
 BuildRequires:  gcc-fortran
 BuildRequires:  ghostscript-fonts-std
 BuildRequires:  graphviz-gd
+BuildRequires:  python-rpm-macros
 %if %{with pythia}
 BuildRequires:  pythia-devel
 %endif
-BuildRequires:  python3
-BuildRequires:  python3-devel
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pybind11-devel >= 2.6.0}
 BuildRequires:  pkgconfig(zlib)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
+%python_subpackages
+
 %description
 The HepMC package is an object oriented event record written in C++
 for High Energy Physics Monte Carlo Generators. Many extensions from
 HEPEVT, the Fortran HEP standard, are supported.
 
-%package -n %{lname}
-Summary:        An event record for High Energy Physics Monte Carlo Generators
+%package -n %{libmain}
+Summary:        Main shared library for HepMC
 License:        GPL-3.0-or-later
-Group:          System/Libraries
+Obsoletes:      libHepMC3-1 < %{version}
 Provides:       %{name}3 = %{version}
 
-%description -n %{lname}
+%description -n %{libmain}
+The HepMC package is an object oriented event record written in C++
+for High Energy Physics Monte Carlo Generators. Many extensions from
+HEPEVT, the Fortran HEP standard, are supported.
+
+This package provides the main shared library for HepMC3.
+
+%package -n %{libsearch}
+Summary:        Shared library for HepMC search
+License:        GPL-3.0-or-later
+Obsoletes:      libHepMC3-1 < %{version}
+
+%description -n %{libsearch}
 The HepMC package is an object oriented event record written in C++
 for High Energy Physics Monte Carlo Generators. Many extensions from
-HEPEVT, the Fortran HEP standard, are supported: the number of entries
-is unlimited, spin density matrices can be stored with each vertex,
-flow patterns (such as color) can be stored and traced, integers
-representing random number generator states can be stored, and an
-arbitrary number of event weights can be included. Particles and
-vertices are kept separate in a graph structure, physically similar to
-a physics event. The added information supports the modularisation of
-event generators. Event information is accessed by means of iterators
-supplied with the package.
+HEPEVT, the Fortran HEP standard, are supported.
+
+This package provides the shared library for HepMC3 searches.
 
 %package devel
 Summary:        Header files for HepMC
 License:        GPL-3.0-or-later
-Group:          Development/Libraries/C and C++
-Requires:       %{lname} = %{version}
+Requires:       %{libmain} = %{version}
+Requires:       %{libsearch} = %{version}
 Recommends:     %{name}-doc = %{version}
 Provides:       %{name}3-devel = %{version}
 
@@ -87,60 +100,79 @@
 %package doc
 Summary:        API documentation for HepMC
 License:        GPL-3.0-or-later
-Group:          Development/Libraries/C and C++
 
 %description doc
-This package provides the API documentation for the HepMC library.
-
-%package -n python3-HepMC
-Summary:        Python bindings for HepMC
-License:        BSD-3-Clause
-Group:          Development/Libraries/C and C++
-Requires:       python3
-Provides:       python3-HepMC3 = %{version}
-
-%description -n python3-HepMC
 The HepMC package is an object oriented event record written in C++
 for High Energy Physics Monte Carlo Generators. Many extensions from
 HEPEVT, the Fortran HEP standard, are supported.
 
-This package provides the python module for coding with HepMC.
+This package provides the API documentation for the HepMC library.
 
 %prep
 %autosetup -p1 -n %{name}3-%{version}
+# Delete bundled pybind11 dir (we use system installed pybind11 headers)
+rm -fr python/include
 
 %build
+%{python_expand # Necessary to run configure with all python flavors
+export PYTHON=$python
+mkdir ../${PYTHON}_build
+cp -pr ./ ../${PYTHON}_build
+pushd ../${PYTHON}_build
 %cmake -DHEPMC3_ENABLE_ROOTIO:BOOL=%{?with_rootio:ON}%{!?with_rootio:OFF} \
-       -DHEPMC3_BUILD_DOCS:BOOL=ON \
-       -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name}3 \
        -DHEPMC3_BUILD_STATIC_LIBS:BOOL=OFF \
-       -DHEPMC3_PYTHON_VERSIONS:STRING="%{py3_ver}" \
+       -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name}3 \
+       -DHEPMC3_PYTHON_VERSIONS:STRING="%{$python_version}" \
        -DCMAKE_SKIP_RPATH:BOOL=OFF \
        -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
+       -DHEPMC3_ENABLE_TEST:BOOL=ON \
+%if "%{$python_provides}" == "python3" || "$python_" == "python3_"
        -DHEPMC3_BUILD_EXAMPLES:BOOL=ON \
-       -DHEPMC3_ENABLE_TEST:BOOL=ON
-
+       -DHEPMC3_BUILD_DOCS:BOOL=ON \
+%else
+       -DHEPMC3_BUILD_EXAMPLES:BOOL=OFF \
+       -DHEPMC3_BUILD_DOCS:BOOL=OFF \
+%endif
+       %{nil}
 %cmake_build
+popd
+}
 
 %install
+%{python_expand # For all python flavors
+export PYTHON=$python
+pushd ../${PYTHON}_build
 %cmake_install
+popd
+}
 
 %fdupes %{buildroot}%{_docdir}/%{name}3/
 
 # Temporarily disable tests for i586 until tolerance issues are sorted out
 %ifnarch %ix86
 %check
+%{python_expand # For all python flavors
+export PYTHON=$python
+pushd ../${PYTHON}_build
 %ctest
+popd
+}
 %endif
 
-%post   -n %{lname} -p /sbin/ldconfig
-%postun -n %{lname} -p /sbin/ldconfig
+%post   -n %{libmain} -p /sbin/ldconfig
+%postun -n %{libmain} -p /sbin/ldconfig
+%post   -n %{libsearch} -p /sbin/ldconfig
+%postun -n %{libsearch} -p /sbin/ldconfig
+
+%files -n %{libmain}
+%license LICENCE COPYING
+%{_libdir}/libHepMC3.so.%{so_main}*
 
-%files -n %{lname}
-%{_libdir}/libHepMC3.so.*
-%{_libdir}/libHepMC3search.so.*
+%files -n %{libsearch}
+%license LICENCE COPYING
+%{_libdir}/libHepMC3search.so.%{so_search}*
 
-%files devel
+%files -n %{name}-devel
 %license LICENCE COPYING
 %doc README* ChangeLog
 %{_bindir}/HepMC3-config
@@ -149,13 +181,13 @@
 %{_includedir}/%{name}3/
 %{_datadir}/%{name}3/
 
-%files doc
+%files -n %{name}-doc
 %doc %{_docdir}/%{name}3/
 
-%files -n python3-HepMC
-%license python/include/LICENSE
-%{python3_sitearch}/pyHepMC3/
-%{python3_sitearch}/pyHepMC3-%{version}-py%{py3_ver}.egg-info
-%{python3_sitearch}/pyHepMC3.search-%{version}-py%{py3_ver}.egg-info
+%files %{python_files}
+%license LICENCE COPYING
+%{python_sitearch}/pyHepMC3/
+%{python_sitearch}/pyHepMC3-%{version}-py%{python_version}.egg-info
+%{python_sitearch}/pyHepMC3.search-%{version}-py%{python_version}.egg-info
 
 %changelog

++++++ HepMC-disable-doxygen-html-timestamp.patch ++++++
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

++++++ HepMC3-3.2.4.tar.gz -> HepMC3-3.2.5.tar.gz ++++++
/work/SRC/openSUSE:Factory/HepMC/HepMC3-3.2.4.tar.gz 
/work/SRC/openSUSE:Factory/.HepMC.new.1958/HepMC3-3.2.5.tar.gz differ: char 13, 
line 1

Reply via email to