- Update to version 1.7.4:

* Fix pkg-config

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jsoncpp?expand=0&rev=32
This commit is contained in:
Martin Pluskal 2016-07-23 07:36:43 +00:00 committed by Git OBS Bridge
parent 46e811d964
commit c769eb373b
4 changed files with 18 additions and 12 deletions

View File

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

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10dcd0677e80727e572a1e462193e51a5fde3e023b99e144b2ee1a469835f769
size 205752

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jul 23 07:33:16 UTC 2016 - mpluskal@suse.com
- Update to version 1.7.4:
* Fix pkg-config
-------------------------------------------------------------------
Thu Jun 30 08:46:23 UTC 2016 - mpluskal@suse.com

View File

@ -16,9 +16,9 @@
#
%define libname lib%{name}1
%define sover 1
Name: jsoncpp
Version: 1.7.3
Version: 1.7.4
Release: 0
Summary: C++ library that allows manipulating with JSON
License: MIT
@ -42,7 +42,7 @@ format to store user input files.
%package devel
Summary: Development files for %{name}
Group: Development/Languages/C and C++
Requires: %{libname} = %{version}
Requires: lib%{name}%{sover} = %{version}
%description devel
JSON is a lightweight data-interchange format. It can represent numbers,
@ -53,11 +53,11 @@ serialization and deserialization to and from strings. It can also preserve
existing comment in unserialization/serialization steps, making it a convenient
format to store user input files.
%package -n %{libname}
%package -n lib%{name}%{sover}
Summary: Shared library for %{name}
Group: System/Libraries
%description -n %{libname}
%description -n lib%{name}%{sover}
JSON is a lightweight data-interchange format. It can represent numbers,
strings, ordered sequences of values, and collections of name/value pairs.
@ -80,13 +80,13 @@ make %{?_smp_mflags}
%cmake_install
rm -rf %{buildroot}%{_libdir}/lib%{name}.a
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%post -n lib%{name}%{sover} -p /sbin/ldconfig
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
%files -n %{libname}
%files -n lib%{name}%{sover}
%defattr(-,root,root)
%doc LICENSE
%{_libdir}/lib%{name}.so.*
%{_libdir}/lib%{name}.so.%{sover}*
%files devel
%defattr(-,root,root)