diff --git a/dataquay-includedir.patch b/dataquay-includedir.patch new file mode 100644 index 0000000..62b9823 --- /dev/null +++ b/dataquay-includedir.patch @@ -0,0 +1,10 @@ +Index: dataquay-0.9.1/deploy/dataquay.pc.in +=================================================================== +--- dataquay-0.9.1.orig/deploy/dataquay.pc.in ++++ dataquay-0.9.1/deploy/dataquay.pc.in +@@ -7,4 +7,4 @@ Name: dataquay + Version: 0.9.1 + Description: C++ API for an RDF data store using Qt4 classes and containers + Libs: -L${libdir} -ldataquay %EXTRALIBS% +-Cflags: -I${includedir} ++Cflags: -I${includedir} -I${includedir}/dataquay diff --git a/dataquay.changes b/dataquay.changes index b45a251..fabe3e2 100644 --- a/dataquay.changes +++ b/dataquay.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 17 16:08:03 UTC 2018 - aloisio@gmx.com + +- Added dataquay-includedir.patch + ------------------------------------------------------------------- Fri Sep 8 22:06:58 UTC 2017 - jengelh@inai.de diff --git a/dataquay.spec b/dataquay.spec index 01e0aff..d653394 100644 --- a/dataquay.spec +++ b/dataquay.spec @@ -1,7 +1,7 @@ # # spec file for package dataquay # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 Pascal Bleser # # All modifications and additions to the file contributed by third parties @@ -29,6 +29,8 @@ Source: http://breakfastquay.com/files/releases/%{name}-%{version}.tar.b Patch1: dataquay-lib64.patch Patch2: dataquay-redland.patch Patch4: dataquay-sharedlib.patch +# PATCH-FIX-OPENSUSE dataquay-includedir.patch aloisio@gmx.co -- add dataquay subdir to include path +Patch5: dataquay-includedir.patch BuildRequires: gcc-c++ BuildRequires: libqt5-qtbase-common-devel BuildRequires: pkgconfig @@ -64,6 +66,7 @@ applications that want to make use of dataquay. %patch1 -p1 %patch2 -p1 %patch4 -p1 +%patch5 -p1 %build %qmake5 PREFIX=%{_prefix} LIBDIR=%{_libdir} dataquay.pro