diff --git a/jsoncpp.spec b/jsoncpp.spec index 4f6899e..8c96d76 100644 --- a/jsoncpp.spec +++ b/jsoncpp.spec @@ -2,13 +2,15 @@ Name: jsoncpp Version: 1.7.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: JSON library implemented in C++ License: Public Domain or MIT URL: https://github.com/open-source-parsers/jsoncpp Source0: https://github.com/open-source-parsers/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: path.patch + BuildRequires: cmake BuildRequires: doxygen BuildRequires: graphviz @@ -39,6 +41,7 @@ This package contains the documentation for %{name}. %prep %setup -q -n %{name}-%{version} +%patch0 -p0 %build @@ -94,6 +97,9 @@ install -p -m 0644 dist/doxygen/*/*.{html,png} $RPM_BUILD_ROOT%{_docdir}/%{name} %changelog +* Mon Jun 13 2016 Sébastien Willmann - 1.7.2-2 +- Fix include dir path (#1336082) + * Sat Mar 26 2016 Björn Esser - 1.7.2-1 - Update to version 1.7.2 diff --git a/path.patch b/path.patch new file mode 100644 index 0000000..cdbd7b7 --- /dev/null +++ b/path.patch @@ -0,0 +1,11 @@ +--- pkg-config/jsoncpp.pc.in 2016-03-25 14:09:15.000000000 -0600 ++++ pkg-config/jsoncpp.pc.in 2016-05-13 18:21:15.646173599 -0600 +@@ -1,7 +1,7 @@ + prefix=@CMAKE_INSTALL_PREFIX@ + exec_prefix=${prefix} + libdir=@LIBRARY_INSTALL_DIR@ +-includedir=@INCLUDE_INSTALL_DIR@ ++includedir=@INCLUDE_INSTALL_DIR@/json + + Name: jsoncpp + Description: A C++ library for interacting with JSON