Hello community, here is the log from the commit of package HepMC for openSUSE:Factory checked in at 2020-05-23 17:26:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/HepMC (Old) and /work/SRC/openSUSE:Factory/.HepMC.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "HepMC" Sat May 23 17:26:41 2020 rev:7 rq:796502 version:3.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/HepMC/HepMC.changes 2020-04-13 12:54:12.212672080 +0200 +++ /work/SRC/openSUSE:Factory/.HepMC.new.2738/HepMC.changes 2020-05-23 17:28:01.735484380 +0200 @@ -1,0 +2,61 @@ +Wed Apr 22 10:11:25 UTC 2020 - Atri Bhattacharya <badshah...@gmail.com> + +- Update Licensing: + * Main License has been changed to GPL-3.0-or-later. + * Python bindings licensed under the BSD-3-Clause. +- Package the appropriate License file for python-%{name} package. + +------------------------------------------------------------------- +Sat Apr 4 14:56:23 UTC 2020 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 3.2.1: + * Bugfix release. + * Explicit usage of namespaces. + * Disallow empty lines for the attribute names. + * Added an option for explicit selection of packages for + testing. + * Adjustments in the interfaces of Tauola/Photos/mc-tester as a + part of preparation to the new releases of these libraries + * Experimental support for Python modulescompilation with pypy. + * Bugfix in VectorString attribute. + * Improvement in the attribute parsing. + * Added an option to handle Python 3.9. + * Implemented special treatment of some broken HePMC2 events. +- Update to version 3.2.0: + * First release with Python bindings. + * Added ReaderPlugin and WriterPlugin and macros to declare + plugins. + * Fixed GenCrossSection for the case of multiple + cross-sections. + * Removed Error class. + * Removed ReaderHEPEVT::read_hepevt_particle(int i, bool + iflong=true), ReaderHEPEVT::read_event(GenEvent &evt, bool + iflong). + * Removed ReaderHEPEVT::get_vertices_positions_present and + ReaderHEPEVT::set_vertices_positions_present. The + functionality above is implemented now Reader::set_options, + Reader::get_options. + * Fixed GenEvent::weight_names(). Now it should be called w/o + arguments. + * Added set_options, get_options to I/O classes for fine control + of I/O. + * The standard Selector members from Selector (e.g. + Selector::MASS) were moved into a new class StandardSelector. + * Added HEPMC3_ prefix to DEBUG, ERROR, WARNING macros. + * Added Reader::skip(int &) for fast forwarding of input. + * Added to LHEF::Writer wrapper functions that can be used in + Python. + * use delete/override for class members. +- Build python3 bindings and package them in a new subpackage + python3-HepMC; introduces BuildRequires on python3 and + python3-devel. +- Build docs and examples by passing the appropriate options to + cmake and package them in a -doc subpackage; drop commands used + to build doc separately. +- Use %bcond_with/%bcond_without to enable pythia and disable + rootio respectively. +- Add BuildRequires: pkgconfig(zlib) to enable linking against + zlib. +- Package LICENCE and COPYING files using %license. + +------------------------------------------------------------------- Old: ---- HepMC3-3.1.2.tar.gz New: ---- HepMC3-3.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ HepMC.spec ++++++ --- /var/tmp/diff_new_pack.v7l9Bi/_old 2020-05-23 17:28:02.779486639 +0200 +++ /var/tmp/diff_new_pack.v7l9Bi/_new 2020-05-23 17:28:02.783486647 +0200 @@ -16,12 +16,16 @@ # +%bcond_with rootio +%bcond_without pythia + Name: HepMC %define lname libHepMC3-1 -Version: 3.1.2 +Version: 3.2.1 Release: 0 Summary: An event record for High Energy Physics Monte Carlo Generators in C++ -License: GPL-2.0-only +# Python bindings are BSD-3-Clause, packaged separately +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 @@ -32,6 +36,12 @@ BuildRequires: gcc-fortran BuildRequires: ghostscript-fonts-std BuildRequires: graphviz-gd +%if %{with pythia} +BuildRequires: pythia-devel +%endif +BuildRequires: python3 +BuildRequires: python3-devel +BuildRequires: pkgconfig(zlib) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -41,6 +51,7 @@ %package -n %{lname} Summary: An event record for High Energy Physics Monte Carlo Generators +License: GPL-3.0-or-later Group: System/Libraries %description -n %{lname} @@ -58,8 +69,10 @@ %package devel Summary: Header files for HepMC +License: GPL-3.0-or-later Group: Development/Libraries/C and C++ Requires: %{lname} = %{version} +Recommends: %{name}-doc = %{version} %description devel The HepMC package is an object oriented event record written in C++ @@ -69,34 +82,44 @@ This package provides the source and header files required for developing with HepMC. +%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 + +%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. + %prep %setup -q -n %{name}3-%{version} %build -%cmake -DHEPMC3_ENABLE_ROOTIO:BOOL=OFF \ - -DCONFIG_INSTALL_DIR:PATH=%{_libdir}/HepMC/ \ +%cmake -DHEPMC3_ENABLE_ROOTIO:BOOL=%{?with_rootio:ON}%{!?with_rootio:OFF} \ + -DHEPMC3_BUILD_DOCS:BOOL=ON \ + -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \ + -DHEPMC3_BUILD_STATIC_LIBS:BOOL=OFF \ + -DHEPMC3_PYTHON_VERSIONS:STRING="%{py3_ver}" \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \ - -DHEPMC3_BUILD_EXAMPLES:BOOL=OFF + -DHEPMC3_BUILD_EXAMPLES:BOOL=ON %cmake_build -pushd ../doc/doxygen -make %{?_smp_mflags} -popd %install %cmake_install -# REMOVE STATIC LIBRARIES -rm -f %{buildroot}%{_libdir}/*.a - -# Weird duplicated installation dir -rm -fr %{buildroot}%{_builddir} -chmod +x %{buildroot}%{_bindir}/HepMC3-config - -#Install examples manually so that fdupes can be run on them -mkdir -p %{buildroot}%{_docdir}/%{name} -cp -pr examples %{buildroot}%{_docdir}/%{name}/ -cp -pr doc/doxygen/html %{buildroot}%{_docdir}/%{name}/ %fdupes %{buildroot}%{_docdir}/%{name}/ %post -n %{lname} -p /sbin/ldconfig @@ -107,14 +130,21 @@ %{_libdir}/libHepMC3search.so.* %files devel +%license LICENCE COPYING %doc README* ChangeLog DESIGN -%dir %{_docdir}/%{name} -%doc %{_docdir}/%{name}/examples -%doc %{_docdir}/%{name}/html %{_bindir}/HepMC3-config %{_libdir}/libHepMC3.so %{_libdir}/libHepMC3search.so %{_includedir}/%{name}3/ %{_datadir}/%{name}3/ +%files doc +%doc %{_docdir}/%{name}/ + +%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 + %changelog ++++++ HepMC3-3.1.2.tar.gz -> HepMC3-3.2.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/HepMC/HepMC3-3.1.2.tar.gz /work/SRC/openSUSE:Factory/.HepMC.new.2738/HepMC3-3.2.1.tar.gz differ: char 13, line 1