Hello community, here is the log from the commit of package arprec for openSUSE:Factory checked in at 2016-06-21 11:30:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/arprec (Old) and /work/SRC/openSUSE:Factory/.arprec.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "arprec" Changes: -------- --- /work/SRC/openSUSE:Factory/arprec/arprec.changes 2014-11-15 12:12:43.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.arprec.new/arprec.changes 2016-06-21 12:29:22.000000000 +0200 @@ -1,0 +2,11 @@ +Sun Jun 19 12:39:00 UTC 2016 - jeng...@inai.de + +- Fixup shared library package name and groups + +------------------------------------------------------------------- +Fri Jun 17 11:02:27 UTC 2016 - dmitr...@opensuse.org + +- Fix build with GCC6 [boo#985135] + * arprec-gcc6.patch + +------------------------------------------------------------------- New: ---- arprec-gcc6.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ arprec.spec ++++++ --- /var/tmp/diff_new_pack.hHuoc7/_old 2016-06-21 12:29:22.000000000 +0200 +++ /var/tmp/diff_new_pack.hHuoc7/_new 2016-06-21 12:29:22.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package arprec # -# Copyright (c) 2012 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 @@ -15,7 +15,8 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define libname libarpec0 + +%define libname libarprec0 Name: arprec Version: 2.2.17 @@ -26,6 +27,8 @@ Url: http://crd-legacy.lbl.gov/~dhbailey/mpdist/ Source0: http://crd.lbl.gov/~dhbailey/mpdist/arprec-%{version}.tar.gz Source1: http://crd.lbl.gov/~dhbailey/mpdist/BSD-LBNL-License.doc +# PATCH-FIX-UPSTREAM -- Fix build with GCC6 +Patch1: arprec-gcc6.patch BuildRequires: gcc-c++ BuildRequires: gcc-fortran BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -44,8 +47,11 @@ and complex datatypes are supported. %package -n %libname -Summary: A library for nonlinear optimization +Summary: A library for ARbitrary PRECision Computation Group: System/Libraries +# Earlier faulty name of libarprec0 +Obsoletes: libarpec0 < %version-%release +Provides: libarpec0 = %version-%release %description -n %libname ARPREC is a software package for performing arbitrary precision @@ -61,31 +67,34 @@ and complex datatypes are supported. %package devel -Summary: Development files for %{name} +Summary: Development files for the ARbitrary PRECision Computation library Group: Development/Libraries/C and C++ Requires: %libname = %{version} %description devel +ARPREC is a software package for performing arbitrary precision +arithmetic. It consists of a revision and extension of Bailey's +earlier MPFUN package, enhanced with special IEEE numerical +techniques. + The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -cp %{SOURCE1} . +%patch1 -p1 %build +cp %{SOURCE1} . %configure --enable-shared --disable-static make %{?_smp_mflags} %install %make_install -find %{buildroot} -name '*.la' -exec rm -f {} ';' +find %{buildroot} -name '*.la' -delete rm -rf %{buildroot}%{_datadir}/doc/arprec -%clean -rm -rf %{buildroot} - %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig ++++++ arprec-gcc6.patch ++++++ Index: arprec-2.2.17/src/write.cpp =================================================================== --- arprec-2.2.17.orig/src/write.cpp +++ arprec-2.2.17/src/write.cpp @@ -196,6 +196,6 @@ bool mp_real::write(ostream &s, int prec string str = to_string(precision, width, expn_width, fmt, showpos, uppercase, fill); - return (s << str) != 0; + return static_cast<bool>(s << str) != 0; }