From 655c147cbbe63246e373b25ddaac423b57e41a0b4956ce96aa74d4a412ad378c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Mon, 23 Jan 2012 18:41:24 +0000 Subject: [PATCH] Accepting request 101200 from home:elvigia:branches:devel:libraries:c_c++ - Build with -fvisibility-inlines-hidden OBS-URL: https://build.opensuse.org/request/show/101200 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libwpg?expand=0&rev=8 --- libwpg.changes | 5 +++++ libwpg.spec | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/libwpg.changes b/libwpg.changes index e33d296..860eaf1 100644 --- a/libwpg.changes +++ b/libwpg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 23 18:06:20 UTC 2012 - crrodriguez@opensuse.org + +- Build with -fvisibility-inlines-hidden + ------------------------------------------------------------------- Tue Oct 4 16:47:46 CEST 2011 - fridrich.strba@suse.com diff --git a/libwpg.spec b/libwpg.spec index a86315d..904c866 100644 --- a/libwpg.spec +++ b/libwpg.spec @@ -1,7 +1,7 @@ # # spec file for package libwpg # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,7 +29,7 @@ BuildRequires: gcc-c++ libwpd-devel >= 0.9.0 pkgconfig Summary: Library to read and parse graphics in WordPerfect Graphics format Version: 0.2.1 Release: 0 -License: LGPLv2.1+ +License: LGPL-2.1+ Group: System/Libraries Url: http://libwpg.sourceforge.net/ Source: libwpg-%{version}.tar.bz2 @@ -53,7 +53,7 @@ Authors: %package -n libwpg-0_2-2 %define libname libwpg-0_2-2 -License: LGPLv2.1+ +License: LGPL-2.1+ # remove the old non-versioned package (built in the bs for instance) Obsoletes: libwpg < %version Summary: Library to read and parse graphics in WordPerfect Graphics format @@ -64,7 +64,7 @@ libwpg is a C++ library to read and parse graphics in WPG (WordPerfect Graphics) format. %package devel -License: LGPLv2.1+ +License: LGPL-2.1+ Summary: Files for Developing with libwpg Group: Development/Libraries/C and C++ Provides: libwpg-devel = %version-%release @@ -89,7 +89,7 @@ Authors: %if %build_doc %package devel-doc -License: LGPLv2.1+ +License: LGPL-2.1+ Summary: Documentation for the libwpg API Group: Documentation/HTML @@ -108,7 +108,7 @@ Authors: %endif %package tools -License: LGPLv2.1+ +License: LGPL-2.1+ Summary: Tools for converting WordPerfect Graphics files Group: System/Libraries @@ -129,6 +129,7 @@ Authors: %patch0 %build +export CXXFLAGS="%optflags -fvisibility-inlines-hidden" %configure --disable-static --docdir=%_docdir/%name make %{?jobs:-j%jobs}