From 189fbf368f176013e309aed72a8653cc1d00a104e8d0c76fd6ce9baaabc8ffe8 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 25 Jul 2014 07:40:17 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libvisio?expand=0&rev=22 --- libvisio-0.1.0-pkgconfig.patch | 8 ++++++++ libvisio.changes | 6 ++++++ libvisio.spec | 2 ++ 3 files changed, 16 insertions(+) create mode 100644 libvisio-0.1.0-pkgconfig.patch diff --git a/libvisio-0.1.0-pkgconfig.patch b/libvisio-0.1.0-pkgconfig.patch new file mode 100644 index 0000000..e23d378 --- /dev/null +++ b/libvisio-0.1.0-pkgconfig.patch @@ -0,0 +1,8 @@ +--- libvisio-0.1.0/libvisio.pc.in 2014-04-16 19:13:10.000000000 +0200 ++++ libvisio-0.1.0/libvisio.pc.in 2014-07-25 09:32:17.433533097 +0200 +@@ -9,5 +9,3 @@ + Requires: librevenge-0.0 librevenge-stream-0.0 + Libs: -L${libdir} -lvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@ + Cflags: -I${includedir}/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@ +- +-Requires.private: icu-i18n libxml-2.0 zlib diff --git a/libvisio.changes b/libvisio.changes index 076043c..c7ca179 100644 --- a/libvisio.changes +++ b/libvisio.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 25 07:39:37 UTC 2014 - fstrba@suse.com + +- Added patch: libvisio-0.1.0-pkgconfig.patch + * Remove the Requires.private which breaks SLE11 builds + ------------------------------------------------------------------- Mon May 26 09:23:52 UTC 2014 - fstrba@suse.com diff --git a/libvisio.spec b/libvisio.spec index 115dd25..1f5aae9 100644 --- a/libvisio.spec +++ b/libvisio.spec @@ -25,6 +25,7 @@ License: MPL-2.0 Group: Productivity/Publishing/Word Url: http://www.freedesktop.org/wiki/Software/libvisio Source0: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz +Patch0: libvisio-0.1.0-pkgconfig.patch BuildRequires: boost-devel BuildRequires: doxygen BuildRequires: fdupes @@ -80,6 +81,7 @@ This package contains tools to work with documents in MS Visio file-format. %prep %setup -q +%patch0 -p1 %build export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"