SHA256
1
0
forked from pool/plotutils

Accepting request 254371 from home:elvigia:branches:Publishing

- Restrict xorg library requires to the mininum needed.
- BUild C++ bits with -fvisibility-inlines-hidden.

OBS-URL: https://build.opensuse.org/request/show/254371
OBS-URL: https://build.opensuse.org/package/show/Publishing/plotutils?expand=0&rev=19
This commit is contained in:
OBS User mrdocs 2014-10-07 14:35:11 +00:00 committed by Git OBS Bridge
parent e3a121fd33
commit 2aeea274fb
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 6 17:39:33 UTC 2014 - crrodriguez@opensuse.org
- Restrict xorg library requires to the mininum needed.
- BUild C++ bits with -fvisibility-inlines-hidden.
-------------------------------------------------------------------
Mon Jul 15 12:24:40 UTC 2013 - werner@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package plotutils
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@ -44,8 +44,15 @@ BuildRequires: fontpackages-devel
BuildRequires: gcc-c++
BuildRequires: libpng-devel
BuildRequires: libtool
BuildRequires: pkgconfig
%if %suse_version < 1220
BuildRequires: xorg-x11-devel
BuildRequires: zlib-devel
%else
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xaw7)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xt)
%endif
%if %suse_version >= 1230
BuildRequires: gpg-offline
%endif
@ -136,6 +143,7 @@ graphics animations under the X Window System.
grep -rslE '(made by GNU Bison|A Bison parser, made from|"lex.yy.c")' . | xargs -r touch
%build
export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
autoreconf -f -i
%configure --with-pic\
--disable-static\