Accepting request 717680 from home:TheBlackCat:branches:science
- Update to version 3.1.5 * 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. OBS-URL: https://build.opensuse.org/request/show/717680 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/double-conversion?expand=0&rev=11
This commit is contained in:
parent
03540150b9
commit
4d1dbae833
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ac84e00c19fdb5ee20c01feb18b0fa2e938bf4b8cf71d43bab62502c8b65420a
|
|
||||||
size 7019705
|
|
3
double-conversion-3.1.5.tar.gz
Normal file
3
double-conversion-3.1.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a63ecb93182134ba4293fd5f22d6e08ca417caafa244afaa751cbfddf6415b13
|
||||||
|
size 7023792
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 22 19:33:44 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 3.1.5
|
||||||
|
* 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 <schwab@suse.de>
|
Thu Feb 28 11:26:22 UTC 2019 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define lib_ver 2
|
%define lib_ver 3
|
||||||
Name: double-conversion
|
Name: double-conversion
|
||||||
Version: 3.0.3
|
Version: 3.1.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Binary-decimal and decimal-binary routines for IEEE doubles
|
Summary: Binary-decimal and decimal-binary routines for IEEE doubles
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -64,27 +64,28 @@ that use double-conversion.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON
|
%cmake \
|
||||||
|
-DBUILD_SHARED_LIBS:BOOL=ON\
|
||||||
|
-DBUILD_TESTING:BOOL=ON
|
||||||
%make_jobs
|
%make_jobs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export LD_LIBRARY_PATH=$PWD/build/double-conversion
|
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
||||||
%ctest
|
%ctest
|
||||||
|
|
||||||
%post -n lib%{name}%{lib_ver} -p /sbin/ldconfig
|
%post -n lib%{name}%{lib_ver} -p /sbin/ldconfig
|
||||||
%postun -n lib%{name}%{lib_ver} -p /sbin/ldconfig
|
%postun -n lib%{name}%{lib_ver} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n lib%{name}%{lib_ver}
|
%files -n lib%{name}%{lib_ver}
|
||||||
%defattr(-,root,root)
|
%license COPYING LICENSE
|
||||||
%{_libdir}/libdouble-conversion.so.%{lib_ver}*
|
%{_libdir}/libdouble-conversion.so.%{lib_ver}*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS Changelog README.md
|
%doc AUTHORS Changelog README.md
|
||||||
%license LICENSE
|
%license COPYING LICENSE
|
||||||
%{_libdir}/libdouble-conversion.so
|
%{_libdir}/libdouble-conversion.so
|
||||||
%{_libdir}/cmake/%{name}/
|
%{_libdir}/cmake/%{name}/
|
||||||
%{_includedir}/%{name}/
|
%{_includedir}/%{name}/
|
||||||
|
Loading…
Reference in New Issue
Block a user