diff --git a/jsoncpp-1.7.3.tar.gz b/jsoncpp-1.7.3.tar.gz deleted file mode 100644 index c40a3a4..0000000 --- a/jsoncpp-1.7.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1cfcad14054039ba97c22531888796cb9369e6353f257aacaad34fda956ada53 -size 205738 diff --git a/jsoncpp-1.7.4.tar.gz b/jsoncpp-1.7.4.tar.gz new file mode 100644 index 0000000..d252bdb --- /dev/null +++ b/jsoncpp-1.7.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10dcd0677e80727e572a1e462193e51a5fde3e023b99e144b2ee1a469835f769 +size 205752 diff --git a/jsoncpp.changes b/jsoncpp.changes index c0bf157..8d4c0c2 100644 --- a/jsoncpp.changes +++ b/jsoncpp.changes @@ -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 diff --git a/jsoncpp.spec b/jsoncpp.spec index da3ec77..3eb5733 100644 --- a/jsoncpp.spec +++ b/jsoncpp.spec @@ -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)