Accepting request 379035 from devel:libraries:c_c++
- Update to 1.7.1 OBS-URL: https://build.opensuse.org/request/show/379035 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jsoncpp?expand=0&rev=11
This commit is contained in:
commit
e5756e094e
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2b121eaff56ec88cfd034d17685821a908d0d87bc319329b04f91a6552c1ac2
|
||||
size 200507
|
3
1.7.1.tar.gz
Normal file
3
1.7.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d40ca65f764d352ea98d8cb01e07fa4b71e2f1acba0843f5fb0ee3b066963c6b
|
||||
size 205384
|
@ -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
|
||||
|
||||
|
16
jsoncpp.spec
16
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}
|
||||
|
Loading…
Reference in New Issue
Block a user