Hello community, here is the log from the commit of package double-conversion for openSUSE:Factory checked in at 2019-03-04 09:13:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/double-conversion (Old) and /work/SRC/openSUSE:Factory/.double-conversion.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "double-conversion" Mon Mar 4 09:13:57 2019 rev:6 rq:680145 version:3.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/double-conversion/double-conversion.changes 2017-07-30 11:24:09.392686160 +0200 +++ /work/SRC/openSUSE:Factory/.double-conversion.new.28833/double-conversion.changes 2019-03-04 09:14:00.912669649 +0100 @@ -1,0 +2,9 @@ +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.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ double-conversion.spec ++++++ --- /var/tmp/diff_new_pack.w96au1/_old 2019-03-04 09:14:01.508669542 +0100 +++ /var/tmp/diff_new_pack.w96au1/_new 2019-03-04 09:14:01.512669541 +0100 @@ -1,7 +1,7 @@ # # spec file for package double-conversion # -# 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 @@ -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 2 Name: double-conversion -Version: 2.0.1 +Version: 3.0.3 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 +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 %description Double-conversion provides binary-decimal and decimal-binary routines @@ -64,33 +64,15 @@ %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=ON -DBUILD_TESTING=ON +%make_jobs %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=$PWD/build/double-conversion +%ctest %post -n lib%{name}%{lib_ver} -p /sbin/ldconfig %postun -n lib%{name}%{lib_ver} -p /sbin/ldconfig @@ -101,8 +83,10 @@ %files devel %defattr(-,root,root) -%doc AUTHORS Changelog LICENSE README +%doc AUTHORS Changelog README.md +%license LICENSE %{_libdir}/libdouble-conversion.so +%{_libdir}/cmake/%{name}/ %{_includedir}/%{name}/ %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.w96au1/_old 2019-03-04 09:14:01.536669537 +0100 +++ /var/tmp/diff_new_pack.w96au1/_new 2019-03-04 09:14:01.540669536 +0100 @@ -1 +1 @@ -libdouble-conversion1 +libdouble-conversion2
