Hello community,

here is the log from the commit of package ThePEG for openSUSE:Factory checked 
in at 2016-06-21 11:30:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ThePEG (Old)
 and      /work/SRC/openSUSE:Factory/.ThePEG.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ThePEG"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ThePEG/ThePEG.changes    2014-09-05 
13:00:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ThePEG.new/ThePEG.changes       2016-06-21 
12:29:22.000000000 +0200
@@ -1,0 +2,12 @@
+Sun Jun 19 10:27:46 UTC 2016 - [email protected]
+
+- RPM group classification and direct use of ldconfig
+
+-------------------------------------------------------------------
+Thu Jun 16 09:19:27 UTC 2016 - [email protected]
+
+- new ThePEG_gcc6_failed.patch to avoid gcc6 build failure
+  tracked upstream by
+  https://herwig.hepforge.org/trac/ticket/4
+
+-------------------------------------------------------------------

New:
----
  ThePEG_gcc6_failed.patch

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

Other differences:
------------------
++++++ ThePEG.spec ++++++
--- /var/tmp/diff_new_pack.QnrfBp/_old  2016-06-21 12:29:23.000000000 +0200
+++ /var/tmp/diff_new_pack.QnrfBp/_new  2016-06-21 12:29:23.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ThePEG
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -26,6 +26,7 @@
 Group:          Development/Libraries/C and C++
 Url:            http://home.thep.lu.se/~leif/ThePEG/
 Source:         
http://www.hepforge.org/archive/thepeg/%{name}-%{version}.tar.bz2
+Patch1:         ThePEG_gcc6_failed.patch
 BuildRequires:  HepMC-devel
 BuildRequires:  LHAPDF-devel
 BuildRequires:  Rivet-devel
@@ -45,7 +46,7 @@
 
 %package -n libThePEG%{so_version}
 Summary:        Toolkit providing a common platform for event generators in C++
-Group:          Development/Libraries/C and C++
+Group:          System/Libraries
 
 %description -n libThePEG%{so_version}
 ThePEG project is a toolkit for providing a common platform for using and
@@ -67,6 +68,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %configure
@@ -82,11 +84,9 @@
 find %{buildroot}%{_libdir}/%{name} -name "*.la" -delete
 %fdupes -s %{buildroot}%{_libdir}/%{name}/
 
-%post -n libThePEG%{so_version}
-/sbin/ldconfig
+%post -n libThePEG%{so_version} -p /sbin/ldconfig
 
-%postun -n libThePEG%{so_version}
-/sbin/ldconfig
+%postun -n libThePEG%{so_version} -p /sbin/ldconfig
 
 %files -n libThePEG%{so_version}
 %defattr(-,root,root)

++++++ ThePEG_gcc6_failed.patch ++++++
From: Michel Normand <[email protected]>
Subject: ThePEG gcc6 failed
Date: Thu, 16 Jun 2016 10:58:11 +0200

to avoid compilation error with gcc6 now default compiler for TW
===
[  355s] In file included from FastJetFinder.cc:27:0:
[  355s] ../include/ThePEG/Persistency/PersistentOStream.h: In member function 
'ThePEG::PersistentOStream& ThePEG::PersistentOStream::operator<<(double)':
[  355s] ../include/ThePEG/Persistency/PersistentOStream.h:222:17: error: 
'isnan' was not declared in this scope
[  355s]      if ( isnan(d) || isinf(d) )
===

Signed-off-by: Michel Normand <[email protected]>
---
 Config/std.h |    2 ++
 1 file changed, 2 insertions(+)

Index: ThePEG-2.0.2/Config/std.h
===================================================================
--- ThePEG-2.0.2.orig/Config/std.h
+++ ThePEG-2.0.2/Config/std.h
@@ -106,6 +106,8 @@ using std::mem_fun;
 using std::sqrt;
 //using std::pow;
 using std::atan2;
+using std::isnan;
+using std::isinf;
 
 /** Powers - standard or non-standard */
 template <class ExponentT>

Reply via email to