Hello community, here is the log from the commit of package double-conversion for openSUSE:Leap:15.2 checked in at 2020-03-02 17:21:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/double-conversion (Old) and /work/SRC/openSUSE:Leap:15.2/.double-conversion.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "double-conversion" Mon Mar 2 17:21:33 2020 rev:10 rq:780306 version:3.1.5 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/double-conversion/double-conversion.changes 2020-01-15 14:52:54.733505952 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.double-conversion.new.26092/double-conversion.changes 2020-03-02 17:21:37.910096266 +0100 @@ -1,0 +2,32 @@ +Thu Feb 6 16:01:17 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Use proper cmake calls +- Do not pull in py2 that is EOL but use python3 for build + +------------------------------------------------------------------- +Mon Jul 22 19:33:44 UTC 2019 - Todd R <[email protected]> + +- Update to version 3.1.5 jsc#ECO-1190, jsc#SLE-11474 + * Fix `0x` for string->double conversion when Hex Floats are allowed. + Avoid integer overflow when exponents for hex floats were too big. + Update version number. + * Fixed warning in gcc4.9. + * Merged changes to install libraries in the correct place when + using 64-bit libraries. + * Use relative includes in the library. This shouldn't have any visible effect + for consumers of the library. + * Fix typo in test. + * Fix separator characters when they they don't fit into 8 bits. + * Check correctly for _MSC_VER. + * Allow the library to be compiled for Emscripten. + +------------------------------------------------------------------- +Thu Feb 28 11:26:22 UTC 2019 - Andreas Schwab <[email protected]> + +- Update to version 3.0.3 + * Support RISC-V + * Bug fixes +- Switch to cmake +- Use %license + +------------------------------------------------------------------- Old: ---- v2.0.1.tar.gz New: ---- double-conversion-3.1.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ double-conversion.spec ++++++ --- /var/tmp/diff_new_pack.SMERRf/_old 2020-03-02 17:21:38.518097438 +0100 +++ /var/tmp/diff_new_pack.SMERRf/_new 2020-03-02 17:21:38.522097446 +0100 @@ -1,7 +1,7 @@ # # spec file for package double-conversion # -# Copyright (c) 2017 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,23 +12,23 @@ # 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/ # -%define lib_ver 1 +%define lib_ver 3 +%define libname libdouble-conversion3 Name: double-conversion -Version: 2.0.1 +Version: 3.1.5 Release: 0 Summary: Binary-decimal and decimal-binary routines for IEEE doubles License: BSD-3-Clause -Group: Development/Libraries/C and C++ -Url: https://github.com/google/double-conversion -Source0: https://github.com/google/double-conversion/archive/v%{version}.tar.gz +URL: https://github.com/google/double-conversion +Source0: https://github.com/google/double-conversion/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: baselibs.conf +BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: python -BuildRequires: scons >= 2.3.0 +BuildRequires: python3-base %description Double-conversion provides binary-decimal and decimal-binary routines @@ -36,11 +36,10 @@ consists of conversion routines that have been extracted from the V8 JavaScript engine. -%package -n lib%{name}%{lib_ver} +%package -n %{libname} Summary: Binary-decimal and decimal-binary routines for IEEE doubles -Group: System/Libraries -%description -n lib%{name}%{lib_ver} +%description -n %{libname} Double-conversion provides binary-decimal and decimal-binary routines for IEEE double-precision floating point numbers. The library consists of conversion routines that have been extracted from the V8 @@ -48,8 +47,7 @@ %package devel Summary: Development files for BCD/DCB routines for IEEE doubles -Group: Development/Libraries/C and C++ -Requires: lib%{name}%{lib_ver} = %{version} +Requires: %{libname} = %{version} %description devel Double-conversion provides binary-decimal and decimal-binary routines @@ -64,45 +62,29 @@ %setup -q %build -scons \ - CXXFLAGS="%{optflags}" \ - VERSION="%{version}" \ - %{?_smp_mflags} - -# With scons 2.3.0 setting the version fails without this -# http://comments.gmane.org/gmane.comp.programming.tools.scons.user/24448 -rm -f libdouble-conversion.so* +%cmake \ + -DBUILD_SHARED_LIBS:BOOL=ON\ + -DBUILD_TESTING:BOOL=ON +%cmake_build %install -install -d %{buildroot}%{_libdir} -install -d %{buildroot}%{_includedir}/%{name} - -scons \ - CXXFLAGS="%{optflags}" \ - libsuffix=%{_lib} \ - prefix=%{_prefix} \ - DESTDIR=%{buildroot} \ - install - -cp -p src/*.h %{buildroot}%{_includedir}/%{name} - -rm %{buildroot}%{_libdir}/lib%{name}*.a +%cmake_install %check -scons CXXFLAGS="%{optflags}" run_tests -./run_tests --list | tr -d '<' | xargs ./run_tests +export LD_LIBRARY_PATH=%{buildroot}%{_libdir} +%ctest -%post -n lib%{name}%{lib_ver} -p /sbin/ldconfig -%postun -n lib%{name}%{lib_ver} -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig -%files -n lib%{name}%{lib_ver} -%defattr(-,root,root) +%files -n %{libname} +%license LICENSE %{_libdir}/libdouble-conversion.so.%{lib_ver}* %files devel -%defattr(-,root,root) -%doc AUTHORS Changelog LICENSE README +%doc AUTHORS Changelog README.md %{_libdir}/libdouble-conversion.so +%{_libdir}/cmake/%{name}/ %{_includedir}/%{name}/ %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.SMERRf/_old 2020-03-02 17:21:38.558097515 +0100 +++ /var/tmp/diff_new_pack.SMERRf/_new 2020-03-02 17:21:38.562097523 +0100 @@ -1 +1 @@ -libdouble-conversion1 +libdouble-conversion3
