From e4efc779515dd9bb87b2d6b61f61fefd335ca7b2e3168fbca3c2681254122f27 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 23 Mar 2016 19:40:21 +0000 Subject: [PATCH] - Update to 1.7.1 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jsoncpp?expand=0&rev=26 --- 1.6.5.tar.gz | 3 --- 1.7.1.tar.gz | 3 +++ jsoncpp.changes | 18 ++++++++++++++++++ jsoncpp.spec | 16 ++++++---------- 4 files changed, 27 insertions(+), 13 deletions(-) delete mode 100644 1.6.5.tar.gz create mode 100644 1.7.1.tar.gz diff --git a/1.6.5.tar.gz b/1.6.5.tar.gz deleted file mode 100644 index 3f869c3..0000000 --- a/1.6.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a2b121eaff56ec88cfd034d17685821a908d0d87bc319329b04f91a6552c1ac2 -size 200507 diff --git a/1.7.1.tar.gz b/1.7.1.tar.gz new file mode 100644 index 0000000..0ae6800 --- /dev/null +++ b/1.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d40ca65f764d352ea98d8cb01e07fa4b71e2f1acba0843f5fb0ee3b066963c6b +size 205384 diff --git a/jsoncpp.changes b/jsoncpp.changes index 37f96f8..ed76c79 100644 --- a/jsoncpp.changes +++ b/jsoncpp.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Mar 23 19:31:20 UTC 2016 - mpluskal@suse.com + +- Update to 1.7.1 + * New precision setting in StreamBuilder + * Move-semantics for some ctors + * Added details to exception messages + * Clarified when exceptions are thrown + * Support isinfinite() + * Secure memory-wiping allocator (via compilation flag, settable + via cmake) For this, we changed all STL datatypes to macros, + but all unchanged by default. + * Lots of minor build-related improvements + + Notably, cmake support for ccache + + More supported systems + * Note: 1.7.0 was recalled b/c it accidentally included + SecureAlloc by default + ------------------------------------------------------------------- Tue Jul 28 07:34:49 UTC 2015 - mpluskal@suse.com diff --git a/jsoncpp.spec b/jsoncpp.spec index edf3f96..98bf324 100644 --- a/jsoncpp.spec +++ b/jsoncpp.spec @@ -1,7 +1,7 @@ # # spec file for package jsoncpp # -# Copyright (c) 2015 SUSE LINUX 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 @@ -18,7 +18,7 @@ %define libname lib%{name}1 Name: jsoncpp -Version: 1.6.5 +Version: 1.7.1 Release: 0 Summary: C++ library that allows manipulating with JSON License: MIT @@ -29,7 +29,6 @@ BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: graphviz-gd BuildRequires: pkg-config BuildRequires: python BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -46,7 +45,7 @@ format to store user input files. %package devel Summary: Development files for %{name} Group: Development/Languages/C and C++ -Requires: %{libname} = %{version} +Requires: %{libname} = %{version}-%{release} %description devel JSON is a lightweight data-interchange format. It can represent numbers, @@ -88,13 +87,11 @@ format to store user input files. %setup -q %build -python doxybuild.py --doxygen=%{_bindir}/doxygen --open --with-dot - -# path needs to be exported otherwise unit tests will fail -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{_builddir}/%{name}-%{version}/build/src/lib_json +python doxybuild.py --doxygen=%{_bindir}/doxygen --open %cmake \ -DJSONCPP_WITH_CMAKE_PACKAGE=ON - +# path needs to be exported otherwise unit tests will fail +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{_builddir}/%{name}-%{version}/build/src/lib_json make %{?_smp_mflags} %install @@ -103,7 +100,6 @@ make %{?_smp_mflags} rm -rf %{buildroot}%{_libdir}/lib%{name}.a %post -n %{libname} -p /sbin/ldconfig - %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname}