forked from pool/jsoncpp
		
	- Update to 1.7.1
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jsoncpp?expand=0&rev=26
This commit is contained in:
		@@ -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
 | 
					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
 | 
					# 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
 | 
					# All modifications and additions to the file contributed by third parties
 | 
				
			||||||
# remain the property of their copyright owners, unless otherwise agreed
 | 
					# remain the property of their copyright owners, unless otherwise agreed
 | 
				
			||||||
@@ -18,7 +18,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
%define libname lib%{name}1
 | 
					%define libname lib%{name}1
 | 
				
			||||||
Name:           jsoncpp
 | 
					Name:           jsoncpp
 | 
				
			||||||
Version:        1.6.5
 | 
					Version:        1.7.1
 | 
				
			||||||
Release:        0
 | 
					Release:        0
 | 
				
			||||||
Summary:        C++ library that allows manipulating with JSON
 | 
					Summary:        C++ library that allows manipulating with JSON
 | 
				
			||||||
License:        MIT
 | 
					License:        MIT
 | 
				
			||||||
@@ -29,7 +29,6 @@ BuildRequires:  cmake
 | 
				
			|||||||
BuildRequires:  doxygen
 | 
					BuildRequires:  doxygen
 | 
				
			||||||
BuildRequires:  fdupes
 | 
					BuildRequires:  fdupes
 | 
				
			||||||
BuildRequires:  gcc-c++
 | 
					BuildRequires:  gcc-c++
 | 
				
			||||||
BuildRequires:  graphviz-gd
 | 
					 | 
				
			||||||
BuildRequires:  pkg-config
 | 
					BuildRequires:  pkg-config
 | 
				
			||||||
BuildRequires:  python
 | 
					BuildRequires:  python
 | 
				
			||||||
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
					BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
				
			||||||
@@ -46,7 +45,7 @@ format to store user input files.
 | 
				
			|||||||
%package devel
 | 
					%package devel
 | 
				
			||||||
Summary:        Development files for %{name}
 | 
					Summary:        Development files for %{name}
 | 
				
			||||||
Group:          Development/Languages/C and C++
 | 
					Group:          Development/Languages/C and C++
 | 
				
			||||||
Requires:       %{libname} = %{version}
 | 
					Requires:       %{libname} = %{version}-%{release}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%description devel
 | 
					%description devel
 | 
				
			||||||
JSON is a lightweight data-interchange format. It can represent numbers,
 | 
					JSON is a lightweight data-interchange format. It can represent numbers,
 | 
				
			||||||
@@ -88,13 +87,11 @@ format to store user input files.
 | 
				
			|||||||
%setup -q
 | 
					%setup -q
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%build
 | 
					%build
 | 
				
			||||||
python doxybuild.py --doxygen=%{_bindir}/doxygen --open --with-dot
 | 
					python doxybuild.py --doxygen=%{_bindir}/doxygen --open
 | 
				
			||||||
 | 
					 | 
				
			||||||
# path needs to be exported otherwise unit tests will fail
 | 
					 | 
				
			||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{_builddir}/%{name}-%{version}/build/src/lib_json
 | 
					 | 
				
			||||||
%cmake \
 | 
					%cmake \
 | 
				
			||||||
	-DJSONCPP_WITH_CMAKE_PACKAGE=ON
 | 
						-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}
 | 
					make %{?_smp_mflags}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%install
 | 
					%install
 | 
				
			||||||
@@ -103,7 +100,6 @@ make %{?_smp_mflags}
 | 
				
			|||||||
rm -rf %{buildroot}%{_libdir}/lib%{name}.a
 | 
					rm -rf %{buildroot}%{_libdir}/lib%{name}.a
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%post -n %{libname} -p /sbin/ldconfig
 | 
					%post -n %{libname} -p /sbin/ldconfig
 | 
				
			||||||
 | 
					 | 
				
			||||||
%postun -n %{libname} -p /sbin/ldconfig
 | 
					%postun -n %{libname} -p /sbin/ldconfig
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%files -n %{libname}
 | 
					%files -n %{libname}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user