diff --git a/jsoncpp.spec b/jsoncpp.spec index cc0ee17..700a445 100644 --- a/jsoncpp.spec +++ b/jsoncpp.spec @@ -10,13 +10,13 @@ Name: jsoncpp -Version: 1.9.3 -Release: 3%{?dist} +Version: 1.9.4 +Release: 1%{?dist} Summary: JSON library implemented in C++ License: Public Domain or MIT URL: https://github.com/open-source-parsers/%{name} -Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake >= 3.1 BuildRequires: gcc @@ -62,7 +62,6 @@ sed -i -e 's!^DOT_FONTNAME.*=.*!DOT_FONTNAME =!g' doc/doxyfile.in %build -mkdir -p %{_vpath_builddir} %cmake \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DJSONCPP_WITH_CMAKE_PACKAGE:BOOL=ON \ @@ -86,6 +85,10 @@ rm -f version %install %cmake_install +# We do not want to package static archives nor object files. +rm -f %{buildroot}%{_libdir}/*.a +rm -fr %{buildroot}%{_libdir}/objects-*/ + mkdir -p %{buildroot}%{_docdir}/%{name} install -pm 0644 README.md %{buildroot}%{_docdir}/%{name} @@ -129,6 +132,9 @@ hardlink -cfv %{buildroot}%{_docdir}/%{name} %changelog +* Sun Sep 27 16:25:23 CEST 2020 Björn Esser - 1.9.4-1 +- Update to version 1.9.4 (rhbz#1882874) + * Wed Jul 29 2020 Björn Esser - 1.9.3-3 - Use new cmake macros diff --git a/sources b/sources index 033b8ee..e014bde 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (jsoncpp-1.9.3.tar.gz) = f1c035d54ed952d8d4e41acab5c3ecf6aa445f348f98aeac2e7c89555ec2f6421d727b3bc4c2f54176afce137c545b20d886562901953ec091f91890e91e8559 +SHA512 (jsoncpp-1.9.4.tar.gz) = adfd4afbdf6b79bd37edcf0e248f07864994f1c4bcb7431f3b44102490ce467f72381908066655fa486dec12f467af0a11f42f859bbf719895974c7339db7d22