Update to version 1.9.4 (rhbz#1882874)
This commit is contained in:
parent
910153cefc
commit
72aa2d6bc5
14
jsoncpp.spec
14
jsoncpp.spec
@ -10,13 +10,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: jsoncpp
|
Name: jsoncpp
|
||||||
Version: 1.9.3
|
Version: 1.9.4
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: JSON library implemented in C++
|
Summary: JSON library implemented in C++
|
||||||
|
|
||||||
License: Public Domain or MIT
|
License: Public Domain or MIT
|
||||||
URL: https://github.com/open-source-parsers/%{name}
|
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: cmake >= 3.1
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -62,7 +62,6 @@ sed -i -e 's!^DOT_FONTNAME.*=.*!DOT_FONTNAME =!g' doc/doxyfile.in
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p %{_vpath_builddir}
|
|
||||||
%cmake \
|
%cmake \
|
||||||
-DBUILD_SHARED_LIBS:BOOL=ON \
|
-DBUILD_SHARED_LIBS:BOOL=ON \
|
||||||
-DJSONCPP_WITH_CMAKE_PACKAGE:BOOL=ON \
|
-DJSONCPP_WITH_CMAKE_PACKAGE:BOOL=ON \
|
||||||
@ -86,6 +85,10 @@ rm -f version
|
|||||||
%install
|
%install
|
||||||
%cmake_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}
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||||
install -pm 0644 README.md %{buildroot}%{_docdir}/%{name}
|
install -pm 0644 README.md %{buildroot}%{_docdir}/%{name}
|
||||||
|
|
||||||
@ -129,6 +132,9 @@ hardlink -cfv %{buildroot}%{_docdir}/%{name}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Sep 27 16:25:23 CEST 2020 Björn Esser <besser82@fedoraproject.org> - 1.9.4-1
|
||||||
|
- Update to version 1.9.4 (rhbz#1882874)
|
||||||
|
|
||||||
* Wed Jul 29 2020 Björn Esser <besser82@fedoraproject.org> - 1.9.3-3
|
* Wed Jul 29 2020 Björn Esser <besser82@fedoraproject.org> - 1.9.3-3
|
||||||
- Use new cmake macros
|
- Use new cmake macros
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (jsoncpp-1.9.3.tar.gz) = f1c035d54ed952d8d4e41acab5c3ecf6aa445f348f98aeac2e7c89555ec2f6421d727b3bc4c2f54176afce137c545b20d886562901953ec091f91890e91e8559
|
SHA512 (jsoncpp-1.9.4.tar.gz) = adfd4afbdf6b79bd37edcf0e248f07864994f1c4bcb7431f3b44102490ce467f72381908066655fa486dec12f467af0a11f42f859bbf719895974c7339db7d22
|
||||||
|
Loading…
Reference in New Issue
Block a user