SHA256
8
0
forked from pool/jsoncpp

Accepting request 509455 from devel:libraries:c_c++

- Update to version 1.8.1:
  * meson.build
  * Minor bug fixes and optimizations
  * Improved docs

OBS-URL: https://build.opensuse.org/request/show/509455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jsoncpp?expand=0&rev=18
This commit is contained in:
2017-07-17 07:01:46 +00:00
committed by Git OBS Bridge
4 changed files with 13 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5deb2462cbf0c0121c9d6c9823ec72fe71417e34242e3509bc7c003d526465bc
size 206659

3
jsoncpp-1.8.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:858db2faf348f89fdf1062bd3e79256772e897e7f17df73e0624edf004f2f9ac
size 210629

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jul 11 13:09:41 UTC 2017 - mpluskal@suse.com
- Update to version 1.8.1:
* meson.build
* Minor bug fixes and optimizations
* Improved docs
-------------------------------------------------------------------
Mon Jan 2 15:42:49 UTC 2017 - mpluskal@suse.com

View File

@@ -18,7 +18,7 @@
%define sover 11
Name: jsoncpp
Version: 1.8.0
Version: 1.8.1
Release: 0
Summary: C++ library that allows manipulating with JSON
License: MIT
@@ -28,7 +28,6 @@ Source0: https://github.com/open-source-parsers/%{name}/archive/%{version
BuildRequires: cmake >= 3.1
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
JSON is a lightweight data-interchange format. It can represent numbers,
@@ -81,20 +80,18 @@ format to store user input files.
%check
# path needs to be exported otherwise unit tests will fail
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{_builddir}/%{name}-%{version}/build/src/lib_json
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir}
./build/src/test_lib_json/jsoncpp_test
%post -n lib%{name}%{sover} -p /sbin/ldconfig
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
%files -n lib%{name}%{sover}
%defattr(-,root,root)
%doc LICENSE
%{_libdir}/lib%{name}.so.%{sover}*
%{_libdir}/lib%{name}.so.%{version}
%files devel
%defattr(-,root,root)
%doc AUTHORS LICENSE NEWS.txt README.md
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/cmake/%{name}