commit HepMC for openSUSE:Factory

2020-07-17 Thread root
Hello community,

here is the log from the commit of package HepMC for openSUSE:Factory checked 
in at 2020-07-17 20:53:44

Comparing /work/SRC/openSUSE:Factory/HepMC (Old)
 and  /work/SRC/openSUSE:Factory/.HepMC.new.3592 (New)


Package is "HepMC"

Fri Jul 17 20:53:44 2020 rev:9 rq:821514 version:3.2.2

Changes:

--- /work/SRC/openSUSE:Factory/HepMC/HepMC.changes  2020-06-12 
21:44:07.548442205 +0200
+++ /work/SRC/openSUSE:Factory/.HepMC.new.3592/HepMC.changes2020-07-17 
20:54:31.265150035 +0200
@@ -1,0 +2,29 @@
+Tue Jul 14 20:08:45 UTC 2020 - Atri Bhattacharya 
+
+- Update to version 3.2.2:
+  * Fixed treatment of the weights in case of different number of
+weights and weight names.
+  * Fixed WriterAsciiHepMC2 option for separate flows.
+  * Improved treatment of python installation.
+  * Split the sources of python bindings into smaller files to
+optimize compilation.
+  * Improved cmake configuration for special cases, e.g. old
+cmake, no ROOT, some compilers, etc. Added more error
+handling.
+  * Fixed compilation of the search module with Clang.
+  * Added an example for search module.
+  * Fixed the HepMC2 output for events without weights.
+  * Fixed the signal vertex ID for HepMC2 output.
+  * Added an interface for HepMC2 (in-memory-conversion).
+  * Added functions to search module: search for relatives
+(particle or vertex)->(particle or vertex) in different
+combinations.
+  * The previous point bumps .so version of the libHepMC3search to
+4.
+  * Improved the configuration of Pythia8 for tests (minimal
+version requirement).
+  * Fixed compatibility of ROOT trees written with HePMC3.0 and
+removed the typedefs in the dictionaries.
+- Drop HepMC-type-mismatch-error.patch: incorporated upstream.
+
+---

Old:

  HepMC-type-mismatch-error.patch
  HepMC3-3.2.1.tar.gz

New:

  HepMC3-3.2.2.tar.gz



Other differences:
--
++ HepMC.spec ++
--- /var/tmp/diff_new_pack.QbpZbZ/_old  2020-07-17 20:54:33.085151933 +0200
+++ /var/tmp/diff_new_pack.QbpZbZ/_new  2020-07-17 20:54:33.089151937 +0200
@@ -21,7 +21,7 @@
 
 Name:   HepMC
 %define lname  libHepMC3-1
-Version:3.2.1
+Version:3.2.2
 Release:0
 Summary:An event record for High Energy Physics Monte Carlo Generators 
in C++
 # Python bindings are BSD-3-Clause, packaged separately
@@ -29,8 +29,6 @@
 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
-# PATCH-FIX-UPSTREAM HepMC-type-mismatch-error.patch badshah...@gmail.com -- 
Fix type mismatch between function definition and function call flagged by GCC 
10
-Patch0: HepMC-type-mismatch-error.patch
 BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  fdupes

++ HepMC3-3.2.1.tar.gz -> HepMC3-3.2.2.tar.gz ++
/work/SRC/openSUSE:Factory/HepMC/HepMC3-3.2.1.tar.gz 
/work/SRC/openSUSE:Factory/.HepMC.new.3592/HepMC3-3.2.2.tar.gz differ: char 12, 
line 1




commit HepMC for openSUSE:Factory

2020-06-12 Thread root
Hello community,

here is the log from the commit of package HepMC for openSUSE:Factory checked 
in at 2020-06-12 21:42:09

Comparing /work/SRC/openSUSE:Factory/HepMC (Old)
 and  /work/SRC/openSUSE:Factory/.HepMC.new.3606 (New)


Package is "HepMC"

Fri Jun 12 21:42:09 2020 rev:8 rq:814032 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/HepMC/HepMC.changes  2020-05-23 
17:28:01.735484380 +0200
+++ /work/SRC/openSUSE:Factory/.HepMC.new.3606/HepMC.changes2020-06-12 
21:44:07.548442205 +0200
@@ -1,0 +2,7 @@
+Mon Jun  8 01:25:25 UTC 2020 - Atri Bhattacharya 
+
+- Add HepMC-type-mismatch-error.patch: Fix type mismatch between
+  function definition and function call flagged by GCC 10.
+- Use autosetup to setup build dir and automatically apply patch.
+
+---

New:

  HepMC-type-mismatch-error.patch



Other differences:
--
++ HepMC.spec ++
--- /var/tmp/diff_new_pack.QsI9IG/_old  2020-06-12 21:44:09.580447312 +0200
+++ /var/tmp/diff_new_pack.QsI9IG/_new  2020-06-12 21:44:09.580447312 +0200
@@ -29,6 +29,8 @@
 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
+# PATCH-FIX-UPSTREAM HepMC-type-mismatch-error.patch badshah...@gmail.com -- 
Fix type mismatch between function definition and function call flagged by GCC 
10
+Patch0: HepMC-type-mismatch-error.patch
 BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  fdupes
@@ -104,7 +106,7 @@
 This package provides the python module for coding with HepMC.
 
 %prep
-%setup -q -n %{name}3-%{version}
+%autosetup -p1 -n %{name}3-%{version}
 
 %build
 %cmake -DHEPMC3_ENABLE_ROOTIO:BOOL=%{?with_rootio:ON}%{!?with_rootio:OFF} \

++ HepMC-type-mismatch-error.patch ++
Index: HepMC3-3.2.1/examples/Pythia6Example/main63.f
===
--- HepMC3-3.2.1.orig/examples/Pythia6Example/main63.f
+++ HepMC3-3.2.1/examples/Pythia6Example/main63.f
@@ -140,13 +140,13 @@ C...Note: no explicit XS uncertainty
 C...The values below are not always meaningful 
   HEPMC3STATUS=HepMC3_set_attribute_int(OUTID(ICA),-1,
  &   'mpi'//char(0))
-  HEPMC3STATUS=HepMC3_set_attribute_int(OUTID(ICA),MSUB,
+  HEPMC3STATUS=HepMC3_set_attribute_int(OUTID(ICA),MSUB(1),
  &   'signal_process_id'//char(0))
   HEPMC3STATUS=HepMC3_set_attribute_int(OUTID(ICA),MRPY(1),
  &   'random_states1'//char(0))
-  HEPMC3STATUS=HepMC3_set_attribute_double(OUTID(ICA),-1,
+  HEPMC3STATUS=HepMC3_set_attribute_double(OUTID(ICA),-1.0D0,
  &   'alphaEM'//char(0))
-  HEPMC3STATUS=HepMC3_set_attribute_double(OUTID(ICA),-1,
+  HEPMC3STATUS=HepMC3_set_attribute_double(OUTID(ICA),-1.0D0,
  &   'alphaQCD'//char(0))
   HEPMC3STATUS=HepMC3_set_attribute_double(OUTID(ICA),q2pdfeval,
  &   'event_scale'//char(0))  



commit HepMC for openSUSE:Factory

2020-05-23 Thread root
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.changes2020-05-23 
17:28:01.735484380 +0200
@@ -1,0 +2,61 @@
+Wed Apr 22 10:11:25 UTC 2020 - Atri Bhattacharya 
+
+- 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 
+
+- 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 , 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 

commit HepMC for openSUSE:Factory

2020-04-13 Thread root
Hello community,

here is the log from the commit of package HepMC for openSUSE:Factory checked 
in at 2020-04-13 12:54:10

Comparing /work/SRC/openSUSE:Factory/HepMC (Old)
 and  /work/SRC/openSUSE:Factory/.HepMC.new.3248 (New)


Package is "HepMC"

Mon Apr 13 12:54:10 2020 rev:6 rq:793440 version:3.1.2

Changes:

--- /work/SRC/openSUSE:Factory/HepMC/HepMC.changes  2020-01-09 
22:54:46.118834620 +0100
+++ /work/SRC/openSUSE:Factory/.HepMC.new.3248/HepMC.changes2020-04-13 
12:54:12.212672080 +0200
@@ -1,0 +2,5 @@
+Sun Mar 29 00:10:45 UTC 2020 - Atri Bhattacharya 
+
+- Disable setting rpaths on installed libs.
+
+---



Other differences:
--
++ HepMC.spec ++
--- /var/tmp/diff_new_pack.Hko7XB/_old  2020-04-13 12:54:12.968672410 +0200
+++ /var/tmp/diff_new_pack.Hko7XB/_new  2020-04-13 12:54:12.968672410 +0200
@@ -75,6 +75,7 @@
 %build
 %cmake -DHEPMC3_ENABLE_ROOTIO:BOOL=OFF \
-DCONFIG_INSTALL_DIR:PATH=%{_libdir}/HepMC/ \
+   -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
-DHEPMC3_BUILD_EXAMPLES:BOOL=OFF
 
 %cmake_build




commit HepMC for openSUSE:Factory

2020-01-09 Thread root
Hello community,

here is the log from the commit of package HepMC for openSUSE:Factory checked 
in at 2020-01-09 22:54:13

Comparing /work/SRC/openSUSE:Factory/HepMC (Old)
 and  /work/SRC/openSUSE:Factory/.HepMC.new.6675 (New)


Package is "HepMC"

Thu Jan  9 22:54:13 2020 rev:5 rq:762561 version:3.1.2

Changes:

--- /work/SRC/openSUSE:Factory/HepMC/HepMC.changes  2019-05-06 
13:26:36.965194520 +0200
+++ /work/SRC/openSUSE:Factory/.HepMC.new.6675/HepMC.changes2020-01-09 
22:54:46.118834620 +0100
@@ -1,0 +2,19 @@
+Wed Jan  8 22:50:32 UTC 2020 - Atri Bhattacharya 
+
+- Update to version 3.1.2:
+  * Add GenParticle::abs_pid() to match FourVector::abs_eta(),
+abs_rap().
+  * Add FourVector component-setting functions in HepMC method
+naming convention; deprecate old camelCase ones.
+  * Bugfix release. Fixed some typos and minor bugs.
+  * Fixed name of ROOT dictionary
+  * Added more standard attributes
+  * Extended documentation for doxygen
+  * Added stremer output to Reader/Writer classes
+  * Added procedures for boost, rotation and reflection to
+GenEvent
+  * Added operators for printing events, particles, etc.
+  * Added example with reading of compressed file and more tests
+- Run fdupes on full docdir to link even more duplicated files.
+
+---

Old:

  HepMC3-3.1.1.tar.gz

New:

  HepMC3-3.1.2.tar.gz



Other differences:
--
++ HepMC.spec ++
--- /var/tmp/diff_new_pack.Mj0JTJ/_old  2020-01-09 22:54:47.450835287 +0100
+++ /var/tmp/diff_new_pack.Mj0JTJ/_new  2020-01-09 22:54:47.466835295 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package HepMC
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,26 +12,26 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   HepMC
 %define lname  libHepMC3-1
-Version:3.1.1
+Version:3.1.2
 Release:0
 Summary:An event record for High Energy Physics Monte Carlo Generators 
in C++
 License:GPL-2.0-only
 Group:  Development/Libraries/C and C++
-Url:http://hepmc.web.cern.ch/hepmc/
+URL:http://hepmc.web.cern.ch/hepmc/
 Source: 
http://hepmc.web.cern.ch/hepmc/releases/%{name}3-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  gcc-fortran
-BuildRequires:  graphviz-gd
 BuildRequires:  ghostscript-fonts-std
+BuildRequires:  graphviz-gd
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -95,7 +95,8 @@
 #Install examples manually so that fdupes can be run on them
 mkdir -p %{buildroot}%{_docdir}/%{name}
 cp -pr examples %{buildroot}%{_docdir}/%{name}/
-%fdupes %{buildroot}%{_docdir}/%{name}/examples
+cp -pr doc/doxygen/html %{buildroot}%{_docdir}/%{name}/
+%fdupes %{buildroot}%{_docdir}/%{name}/
 
 %post   -n %{lname} -p /sbin/ldconfig
 %postun -n %{lname} -p /sbin/ldconfig
@@ -105,9 +106,10 @@
 %{_libdir}/libHepMC3search.so.*
 
 %files devel
-%doc README* ChangeLog DESIGN doc/doxygen/html
+%doc README* ChangeLog DESIGN
 %dir %{_docdir}/%{name}
 %doc %{_docdir}/%{name}/examples
+%doc %{_docdir}/%{name}/html
 %{_bindir}/HepMC3-config
 %{_libdir}/libHepMC3.so
 %{_libdir}/libHepMC3search.so

++ HepMC3-3.1.1.tar.gz -> HepMC3-3.1.2.tar.gz ++
/work/SRC/openSUSE:Factory/HepMC/HepMC3-3.1.1.tar.gz 
/work/SRC/openSUSE:Factory/.HepMC.new.6675/HepMC3-3.1.2.tar.gz differ: char 13, 
line 1




commit HepMC for openSUSE:Factory

2019-05-06 Thread root
Hello community,

here is the log from the commit of package HepMC for openSUSE:Factory checked 
in at 2019-05-06 13:26:35

Comparing /work/SRC/openSUSE:Factory/HepMC (Old)
 and  /work/SRC/openSUSE:Factory/.HepMC.new.5148 (New)


Package is "HepMC"

Mon May  6 13:26:35 2019 rev:4 rq:700424 version:3.1.1

Changes:

--- /work/SRC/openSUSE:Factory/HepMC/HepMC.changes  2017-08-24 
18:49:13.276266118 +0200
+++ /work/SRC/openSUSE:Factory/.HepMC.new.5148/HepMC.changes2019-05-06 
13:26:36.965194520 +0200
@@ -1,0 +2,31 @@
+Wed May  1 12:35:00 UTC 2019 - Atri Bhattacharya 
+
+- Update to version 3.1.1:
+  * Improved treatment of events with cycles.
+  * Improved documentation and examples.
+- Changes from version 3.1.0:
+  * Renaming the namespace, header directory and library name to
+HepMC3
+  * SmartPointer is repaced with shared_ptr from C++11, so C++11
+is always required now
+  * Split library into HepMC3(core) and HepMC3search (search
+engine)
+  * New Search engine with highly abstract search capabilities
+  * New readers and writers: WriterAsciiHepMC2, ReaderLHEF
+  * Ascii files now have own string in header: Asciiv3
+  * Deduction of input file format in ReaderFactory
+  * Improved consistency of interface
+  * Removal of most deprecated functions and  multiple bugfixes
+  * Implemented test suite
+  * Improved examples and documentation
+- Drop sover.diff: so versioning added by upstream.
+- Update Source url in keeping with upstream name changes.
+- Adapt to name changes (HepMC -> HepMC3) in spec file wherever
+  appropriate.
+- Use %%cmake_build for building and parallel jobs when building
+  documentation.
+- Package new library libHepMC3search.
+- New BuildRequires: graphviz-gd and ghostscript-fonts-std needed
+  to generate docs, gcc-fortran needed for library.
+
+---

Old:

  hepmc3.0.0.tgz
  sover.diff

New:

  HepMC3-3.1.1.tar.gz



Other differences:
--
++ HepMC.spec ++
--- /var/tmp/diff_new_pack.l5fyG7/_old  2019-05-06 13:26:41.913203355 +0200
+++ /var/tmp/diff_new_pack.l5fyG7/_new  2019-05-06 13:26:41.917203363 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package HepMC
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,21 @@
 
 
 Name:   HepMC
-%define lname  libHepMC-3_0_0
-Version:3.0.0
+%define lname  libHepMC3-1
+Version:3.1.1
 Release:0
 Summary:An event record for High Energy Physics Monte Carlo Generators 
in C++
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Development/Libraries/C and C++
 Url:http://hepmc.web.cern.ch/hepmc/
-Source: http://hepmc.web.cern.ch/hepmc/releases/hepmc%{version}.tgz
-Patch1: sover.diff
+Source: 
http://hepmc.web.cern.ch/hepmc/releases/%{name}3-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+BuildRequires:  gcc-fortran
+BuildRequires:  graphviz-gd
+BuildRequires:  ghostscript-fonts-std
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -68,17 +70,17 @@
 developing with HepMC.
 
 %prep
-%setup -q -n hepmc%{version}
-%patch -P 1 -p1
+%setup -q -n %{name}3-%{version}
 
 %build
-%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-   -DHEPMC_ENABLE_ROOTIO:BOOL=OFF \
-   -DCONFIG_INSTALL_DIR:PATH=%{_libdir}/HepMC/
-
-%make_jobs
-cd ../doc/doxygen
-make
+%cmake -DHEPMC3_ENABLE_ROOTIO:BOOL=OFF \
+   -DCONFIG_INSTALL_DIR:PATH=%{_libdir}/HepMC/ \
+   -DHEPMC3_BUILD_EXAMPLES:BOOL=OFF
+
+%cmake_build
+pushd ../doc/doxygen
+make %{?_smp_mflags}
+popd
 
 %install
 %cmake_install
@@ -88,7 +90,7 @@
 # Weird duplicated installation dir
 rm -fr %{buildroot}%{_builddir}
 
-chmod +x %{buildroot}%{_bindir}/HepMC-config
+chmod +x %{buildroot}%{_bindir}/HepMC3-config
 
 #Install examples manually so that fdupes can be run on them
 mkdir -p %{buildroot}%{_docdir}/%{name}
@@ -99,16 +101,17 @@
 %postun -n %{lname} -p /sbin/ldconfig
 
 %files -n %{lname}
-%defattr(-,root,root)
-%{_libdir}/libHepMC-3.0.0.so
+%{_libdir}/libHepMC3.so.*
+%{_libdir}/libHepMC3search.so.*
 
 %files devel
-%defattr(-,root,root)
 %doc README* ChangeLog DESIGN doc/doxygen/html
 %dir %{_docdir}/%{name}
 %doc %{_docdir}/%{name}/examples
-%{_bindir}/HepMC-config
-%{_includedir}/%{name}/
-%{_datadir}/%{name}/
+%{_bindir}/HepMC3-config
+%{_libdir}/libHepMC3.so
+%{_libdir}/libHepMC3search.so
+%{_includedir}/%{name}3/
+%{_datadir}/%{name}3/
 
 %changelog



commit HepMC for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package HepMC for openSUSE:Factory checked 
in at 2017-08-24 18:49:00

Comparing /work/SRC/openSUSE:Factory/HepMC (Old)
 and  /work/SRC/openSUSE:Factory/.HepMC.new (New)


Package is "HepMC"

Thu Aug 24 18:49:00 2017 rev:3 rq:515864 version:3.0.0

Changes:

--- /work/SRC/openSUSE:Factory/HepMC/HepMC.changes  2014-04-25 
16:09:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.HepMC.new/HepMC.changes 2017-08-24 
18:49:13.276266118 +0200
@@ -1,0 +2,23 @@
+Wed Aug  9 18:33:34 UTC 2017 - jeng...@inai.de
+
+- Reapply shared library guidelines.
+- Add sover.diff to force shlib versioning.
+- Slightly trim description for length.
+
+---
+Sat Aug  5 15:34:17 UTC 2017 - badshah...@gmail.com
+
+- Update to version 3.0.0:
+  + See list of changes from:
+https://gitlab.cern.ch/hepmc/HepMC3/blob/3.0.0/ChangeLog.
+- Drop shared library subpackage; there is no numbered shared lib
+  any more. Package everything into the devel package.
+- Use cmake macros for build and install.
+- Drop unused cmake options.
+- Build and install doxygen documentation.
+- Manually install examples to docdir, running fdupes to weed out
+  duplicated files.
+- Update URL and Source URL for new upstream links.
+- Updated file-list.
+
+---

Old:

  HepMC-2.06.09.tar.gz

New:

  hepmc3.0.0.tgz
  sover.diff



Other differences:
--
++ HepMC.spec ++
--- /var/tmp/diff_new_pack.koZdJ8/_old  2017-08-24 18:49:15.295981734 +0200
+++ /var/tmp/diff_new_pack.koZdJ8/_new  2017-08-24 18:49:15.311979482 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package HepMC
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,38 +17,31 @@
 
 
 Name:   HepMC
-Version:2.06.09
+%define lname  libHepMC-3_0_0
+Version:3.0.0
 Release:0
 Summary:An event record for High Energy Physics Monte Carlo Generators 
in C++
 License:GPL-2.0
 Group:  Development/Libraries/C and C++ 
-Url:http://lcgapp.cern.ch/project/simu/HepMC/
-Source: 
http://lcgapp.cern.ch/project/simu/HepMC/download/%{name}-%{version}.tar.gz
+Url:http://hepmc.web.cern.ch/hepmc/
+Source: http://hepmc.web.cern.ch/hepmc/releases/hepmc%{version}.tgz
+Patch1: sover.diff
 BuildRequires:  cmake
+BuildRequires:  doxygen
+BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %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: 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. The package has been kept as simple as possible with
-minimal internal/external dependencies. Event information is accessed
-by means of iterators supplied with the package.
-Reference: M. Dobbs and J.B. Hansen, Comput. Phys. Commun. 134 (2001)
-41. 
+HEPEVT, the Fortran HEP standard, are supported.
 
-%package -n libHepMC4
-Summary:Shared libraries for HepMC
-Group:  Development/Libraries/C and C++ 
+%package -n %{lname}
+Summary:An event record for High Energy Physics Monte Carlo Generators
+Group:  System/Libraries
 
-%description -n libHepMC4
+%description -n %{lname}
 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
@@ -58,88 +51,64 @@
 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. The package has been kept as simple as possible with
-minimal internal/external dependencies. Event information is accessed
-by means of iterators supplied with the package.
-Reference: M. Dobbs and J.B. Hansen, Comput. Phys. Commun. 134 

commit HepMC for openSUSE:Factory

2014-04-25 Thread h_root
Hello community,

here is the log from the commit of package HepMC for openSUSE:Factory checked 
in at 2014-04-25 16:09:24

Comparing /work/SRC/openSUSE:Factory/HepMC (Old)
 and  /work/SRC/openSUSE:Factory/.HepMC.new (New)


Package is HepMC

Changes:

New Changes file:

--- /dev/null   2014-04-17 09:46:44.096034755 +0200
+++ /work/SRC/openSUSE:Factory/.HepMC.new/HepMC.changes 2014-04-25 
16:09:25.0 +0200
@@ -0,0 +1,5 @@
+---
+Fri Dec  6 23:09:36 UTC 2013 - badshah...@gmail.com
+
+- Initial version
+

New:

  HepMC-2.06.09.tar.gz
  HepMC.changes
  HepMC.spec



Other differences:
--
++ HepMC.spec ++
#
# spec file for package HepMC
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:   HepMC
Version:2.06.09
Release:0
Summary:An event record for High Energy Physics Monte Carlo Generators 
in C++
License:GPL-2.0
Group:  Development/Libraries/C and C++ 
Url:http://lcgapp.cern.ch/project/simu/HepMC/
Source: 
http://lcgapp.cern.ch/project/simu/HepMC/download/%{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRoot:  %{_tmppath}/%{name}-%{version}-build

%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: 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. The package has been kept as simple as possible with
minimal internal/external dependencies. Event information is accessed
by means of iterators supplied with the package.
Reference: M. Dobbs and J.B. Hansen, Comput. Phys. Commun. 134 (2001)
41. 

%package -n libHepMC4
Summary:Shared libraries for HepMC
Group:  Development/Libraries/C and C++ 

%description -n libHepMC4
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. The package has been kept as simple as possible with
minimal internal/external dependencies. Event information is accessed
by means of iterators supplied with the package.
Reference: M. Dobbs and J.B. Hansen, Comput. Phys. Commun. 134 (2001)
41. 

This package provides the shared libraries for HepMC.

%package -n HepMC-devel
Summary:Header files for HepMC
Group:  Development/Libraries/C and C++ 
Requires:   libHepMC4 = %{version}

%description -n HepMC-devel
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. The package has been kept as simple as possible with
minimal internal/external