Accepting request 86934 from security:SELinux

- cross-build fix: use %__cc macro (forwarded request 86730 from uli_suse)

OBS-URL: https://build.opensuse.org/request/show/86934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libselinux?expand=0&rev=23
This commit is contained in:
Lars Vogdt 2011-10-06 22:49:06 +00:00 committed by Git OBS Bridge
parent 4b165cf6ac
commit 89027e0c72
3 changed files with 10 additions and 5 deletions

View File

@ -1,7 +1,7 @@
#
# spec file for package libselinux-bindings (Version 2.0.91)
# spec file for package libselinux-bindings
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 5 15:09:25 UTC 2011 - uli@suse.com
- cross-build fix: use %__cc macro
-------------------------------------------------------------------
Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libselinux (Version 2.0.91)
# spec file for package libselinux
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 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
@ -124,7 +124,7 @@ necessary to develop your own software using libselinux.
%patch0 -p1
%build
make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags} LIBDIR="%{_libdir}" CC="%{__cc}" CFLAGS="$RPM_OPT_FLAGS"
%install
mkdir -p $RPM_BUILD_ROOT/%{_lib}